Re: [R] Multinomial Logistic Regression with Complex Survey using 'Survey' Package in R

2018-06-19 Thread Bert Gunter
Did you download the new package and check? Is there some reason you shouldn't do this in any case? There is also usually a News file in the package download that tells you about new features. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and stick

Re: [R] Multinomial Logistic Regression with Complex Survey using 'Survey' Package in R

2018-06-19 Thread Anthony Damico
hi, check out the news page.. https://cran.r-project.org/web/packages/survey/NEWS On Tue, Jun 19, 2018 at 5:54 PM, Mackenzie Jones wrote: > Dear R Users, > > I want to use a multinomial logistic regression model with survey data in > the “survey” package. The original package did not have a func

[R] Multinomial Logistic Regression with Complex Survey using 'Survey' Package in R

2018-06-19 Thread Mackenzie Jones
Dear R Users, I want to use a multinomial logistic regression model with survey data in the “survey” package. The original package did not have a function for multinomial logistic regression, so Thomas Lumley suggested creating replicate weights for the survey and doing a multinomial regression

[R] Multinomial Regression for Complex Survey

2017-09-07 Thread Yen Lee
Hi Dear Rusers, I am working on a survey data with the "survey" package. The logistic regression and multinomial regression would be the main statistic method I want to use. I found that the svyglm function could be used to conduct the logistic regression with the complex design but not the mul

[R] Multinomial mixed models with glmmADMB

2016-03-30 Thread Ana María Prieto
Dear r-helpers, I want to run a multinomial mixed effects model with the glmmADMB package of R. I have read the available information of the programm but i couldn't find which family or link has to be used for multinomial data. In the examples are only shown models with Poisson, negative binomial

Re: [R] Multinomial data

2015-09-14 Thread Rich Shepard
On Mon, 14 Sep 2015, Iker Vaquero Alba wrote:    I have some data I would like to analyse where my response variables are categorical data: several participants were asked to give answers in the form of 1 to 5 (for the degree of importance given to certain items). So, what I have now is response

[R] Multinomial data

2015-09-14 Thread Iker Vaquero Alba
   Hello everyone,    I have some data I would like to analyse where my response variables are categorical data: several participants were asked to give answers in the form of 1 to 5 (for the degree of importance given to certain items). So, what I have now is response variables that can just t

Re: [R] Multinomial Fitting Distrbution

2015-04-22 Thread Suzen, Mehmet
mixtools package has mixture of Gaussian fitting, maybe that might help? __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-g

[R] Multinomial Fitting Distrbution

2015-04-21 Thread Alaios via R-help
Dear all,I am trying to fit a heavy tailed distribution and I have tried working with the mix function of the mixdist package.It looks like that this package allows fitting two distributions (or move) of the same family  and not combining different distributions (so mixing a geometric with a nor

Re: [R] multinomial probabilities with mlogit

2015-03-30 Thread Rolf Turner
Reproducible example??? cheers, Rolf Turner P.S. Where does "mlogit" come from? Note fortune(182). R. T. On 31/03/15 06:46, Ingrid Charvet wrote: Hello, When fitting a logit multinomial model with "mlogit" I can retrieve the response probabilities using fit$fitted.values (for a given ob

[R] multinomial probabilities with mlogit

2015-03-30 Thread Ingrid Charvet
Hello, When fitting a logit multinomial model with "mlogit" I can retrieve the response probabilities using fit$fitted.values (for a given object "fit") However, I am trying to calculate those response probabilities myself using the maximum likelihood estimates (i.e. fit$coefficients) given by

[R] multinomial mixed logit model mlogit r-package

2014-02-25 Thread Thomas Schlesinger
I discovered the 'mlogit'-package for multinomial logit models in search of estimating a multinomial mixed logit model. After reading the excellent vignette I discovered that I could not apply my data on any of the described examples. I now write in hope of help with my problem and created a minim

[R] MULTINOMIAL LOGIT WITH ENDOGENEITY

2014-01-18 Thread Erasmo Papagni
My aim is to estimate a multinomial model with some endogenous variables. I tried the control function approach but the results are rather bad. I am thinking to ML estimation. Is there a package I can use to estimate this model? Thanks a lot Erasmo Papagni Department of economics Universit

[R] Multinomial regression with repeated measures

2013-11-25 Thread Rameela Chandrasekhar
Hi R-users,   Does anyone know of a package in R that could be used to implement a multinomial regression model accounting for repeated measures? Thanks. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.et

Re: [R] Multinomial model and p-values

2013-07-03 Thread peter dalgaard
On Jul 2, 2013, at 21:21 , Luciano La Sala wrote: > Hello everyone, > > I have a dataset which consists of "Pathology scores" (Absent, Mild, Severe) > as outcome variable, and two main effects: Age (two factors: twenty / thirty > days old) and Treatment Group (four factors: infected without ATB

Re: [R] Multinomial model and p-values

2013-07-02 Thread Duncan Mackay
Hi Luciano There are a number of types of ordinal regression and you need to be specific about that. There are a number of ordinal packages to do ordinal regression. MASS::polr arm::bayespolr ordinal VGAM repolr geepack etc Each of them has specific requirements about coding of the variables

[R] Multinomial model and p-values

2013-07-02 Thread Luciano La Sala
Hello everyone, I have a dataset which consists of "Pathology scores" (Absent, Mild, Severe) as outcome variable, and two main effects: Age (two factors: twenty / thirty days old) and Treatment Group (four factors: infected without ATB; infected + ATB1; infected + ATB2; infected + ATB3). First I

Re: [R] Multinomial logistic regression

2013-05-24 Thread Duncan Mackay
Have a look at Brian Ripleys polr in library(MASS) and multinom in the library(nnet) There are other packages as well so a search will give you more choices Be careful to read the help pages carefully and make sure that you know what you are testing. HTH Duncan Duncan Mackay Department of

[R] Multinomial logistic regression

2013-05-24 Thread manna
Is it possible to use function "glm" in case when my outcome variable has 5 different classes? I have seen examples only when using binomial outcome variable. What about using function "multinom"? How do I to get the signifigance and the confidence levels of the coefficients and the value of goo

Re: [R] Multinomial-Dirichlet using R

2013-05-13 Thread David Winsemius
On May 13, 2013, at 9:08 AM, Anamika Chaudhuri wrote: > Hi David: > > My main goal is to be able to find the method/model that estimates the random > effect of site on multiple binomial outcomes in multicenter clinical trial > settings. The methods you have suggested are fixed effects models,

Re: [R] Multinomial-Dirichlet using R

2013-05-13 Thread Anamika Chaudhuri
Hi David: My main goal is to be able to find the method/model that estimates the random effect of site on multiple binomial outcomes in multicenter clinical trial settings. The methods you have suggested are fixed effects models, right? Thanks Anamika On Sun, May 12, 2013 at 9:44 PM, David Winse

Re: [R] Multinomial-Dirichlet using R

2013-05-12 Thread David Winsemius
On May 12, 2013, at 4:44 PM, Anamika Chaudhuri wrote: > Hi: > > I have asked this question on Cross-Validated. So it might be a cross > posting but havent received any responses to it. > > I am trying to see which distribution will best fit the data I am working > on. The dataset is as followin

[R] Multinomial-Dirichlet using R

2013-05-12 Thread Anamika Chaudhuri
Hi: I have asked this question on Cross-Validated. So it might be a cross posting but havent received any responses to it. I am trying to see which distribution will best fit the data I am working on. The dataset is as following: Site Nausea headacheAbdominal Distension

[R] multinomial MCMCglmm

2012-11-06 Thread Vaniscotte
Thanks for the answers to my previous post, I hope I am posting on the correct list now. I managed so far to run the multinomial model with random effect with the following command: MCMCglmm(fixed=cbind(Apsy,Mygl,Crle,Crru,Miag,empty) ~ habitat:trait,random=~idh(trait):mesh,family="multinomia

[R] Multinomial MCMCglmm

2012-11-06 Thread Vaniscotte.A
Thanks for your answers Stephen and Ben, I hope I am posting on the correct list now. I managed so far to run the multinomial model with random effect with the following command: MCMCglmm(fixed=cbind(Apsy,Mygl,Crle,Crru,Miag,empty) ~ habitat:trait,random=~idh(trait):mesh,family="multinomial12",

[R] multinomial MCMCglmm

2012-10-09 Thread Vaniscotte Amélie
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for several species) have been aggregated per trapline (i.e. 25 traps). Therefore we

Re: [R] multinomial MCMCglmm

2012-10-07 Thread Ben Bolker
Vaniscotte gmail.com> writes: > > Dear all, > > I would like to add mixed effects in a multinomial model and I am trying > to use MCMCglmm for that. [snip] > > "ill-conditioned G/R structure: use proper priors if you haven't or > rescale data if you have" > > I guess that the problem com

[R] multinomial MCMCglmm

2012-10-06 Thread Vaniscotte
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for several species) have been aggregated per trapline (i.e. 25 traps). Therefore w

[R] multinomial MCMCglmm

2012-10-06 Thread Vaniscotte
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for several species) have been aggregated per trapline (i.e. 25 traps). Therefore w

[R] multinomial MCMCglmm

2012-10-06 Thread Vaniscotte
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for several species) have been aggregated per trapline (i.e. 25 traps). Therefore w

[R] multinomial MCMCglmm

2012-09-25 Thread Vaniscotte
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for several species) have been aggregated per trapline (i.e. 25 traps). Therefore w

[R] multinomial MCMCglmm

2012-09-25 Thread Vaniscotte Amélie
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for different species) have been aggregated per traplines (i.e sum over 25 traps). T

[R] multinomial MCMCglmm

2012-09-20 Thread Vaniscotte
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set consits of a trapping data set, where the observation at eah trap (1 or 0 for each species) have been aggregated per traplines. Therefore we have

[R] multinomial MCMCglmm

2012-09-12 Thread Vaniscotte
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set consits of a trapping data set, where the observation at eah trap (1 or 0 for each species) have been aggregated per traplines. Therefore we have

[R] multinomial MCMCglmm

2012-09-12 Thread Vaniscotte
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set consits of a trapping data set, where the observation at eah trap (1 or 0 for each species) have been aggregated per traplines. Therefore we have

[R] Multinomial Logit data arrangement

2012-03-21 Thread sakchai
Dear all, I am having a hard time attempting to do a multinomial logit modeling in R. I am trying to analyze a dataset whereby there are 3 scenarios with 4 difference choice parameters. In particular – I am having a hard time arranging this into a .csv format. What sorts of headings should I pu

[R] Multinomial Logit data arrangement

2012-03-21 Thread sakchai
Dear all, I am having a hard time attempting to do a multinomial logit modeling in R. I am trying to analyze a dataset whereby there are 3 scenarios with 4 difference choice parameters. In particular – I am having a hard time arranging this into a .csv format. What sorts of headings should I pu

Re: [R] Multinomial Logistical Model

2011-05-25 Thread Frank Harrell
I suggest a couple of courses before proceeding. Multinomial logistic models have special challenges. And note that you have two nomenclature errors in your note, which is usually a sign of not having taken the relevant coursework. Frank Belle wrote: > > Does anyone know how to run Multinomial

Re: [R] Multinomial Logistical Model

2011-05-25 Thread Mark Difford
On May 24, 2011; 11:06pm Belle wrote: > Does anyone know how to run Multinomial logistical Model in R in order to > get predicted probability? Yes. I could stop there but you shouldn't. The author of the package provides plenty of examples (and two good vignettes) showing you how to do this. Sugg

[R] multinomial regression model

2011-05-10 Thread Thomas Mang
Hi, Consider the need for a regression model which can handle an ordered multinomial response variable. There are, for example, proportional odds / cumulative logit models, but actually the regression should include random effects (a mixed model), and I would not be aware of multinomial regr

Re: [R] Multinomial Logit Model with lots of Dummy Variables

2011-04-17 Thread ghpow1
Hi Thanks to Jeremy for his response... I have been able to generate the factors and generate mlogit data using his code: mldata<-mlogit.data(mydata, varying=NULL, choice="pitch_type_1", shape="wide") my mlogit data looks like: "dependent_var","A variable","B Var","chid","alt" FALSE,"110","19

Re: [R] Multinomial Logit Model with lots of Dummy Variables

2011-04-10 Thread Jeremy Hetzel
If you are just looking to collapse the dummy variables into two factor variables, the following will work. ## Generate some example data set.seed(1234) n <- 100 # Generate outcome outcome <- rbinom(n, 3, 0.5) colnames(exposures) <- paste("V", seq(1:10), sep = "") #Generate dummy variables for A

[R] Multinomial Logit Model with lots of Dummy Variables

2011-04-10 Thread ghpow1
Hi All, I am attempting to build a Multinomial Logit model with dummy variables of the following form: Dependent Variable : 0-8 Discrete Choices Dummy Variable 1: 965 dummy varsgh...@student.monash.edu.augh@gp1.com Dummy Variable 2: 805 dummy vars The data set I am using has the dummy columns p

[R] multinomial choice modeling with mlogit

2011-01-18 Thread Muster, Holger, VF-DE
Hi all, Does anyone knows how to handle ordered preferences applying the R package mlogit (multinomial logit model)? My data set provides for each customer preferences (given as percentages) for 6 different brands. I would like to use for model calibration not just that brand with maximum stated

[R] Multinomial Analysis

2010-12-15 Thread soeren . vogel
I want to analyse data with an unordered, multi-level outcome variable, y. I am asking for the appropriate method (or R procedure) to use for this analysis. > N <- 500 > set.seed(1234) > data0 <- data.frame(y = as.factor(sample(LETTERS[1:3], N, repl = T, + prob = c(10, 12, 14))), x1 = sample

[R] Multinomial GLMMs in R

2010-10-05 Thread JBDurand
Hello, I would like to estimate the parameters of multinomial GLMMs by maximum likelihood. Or at least, I would like to compute the likelihood of a given set of parameters. In the case of multinomial GLMs (i.e. with discrete nominal response variable), I would use a command like > library(VG

Re: [R] Multinomial logistic regression in complex surveys

2010-07-17 Thread Joshua Wiley
I would take a look at mlogit() in package mlogit or vglm() with family = multinomial in package VGAM. HTH, Josh 2010/7/16 Rosario Austral : > Dear R-list members, > I´m using the package "survey" and I need to find a function for > multinomial logistic regression in a complex design. The functi

[R] Multinomial logistic regression in complex surveys

2010-07-16 Thread Rosario Austral
Dear R-list members, I´m using the package "survey" and I need to find a function for multinomial logistic regression in a complex design. The functions that I see are only for dicotomic and ordinal variables. Thank you! Rosario Austral De: "r-help-requ...@r-

[R] multinomial

2010-06-04 Thread azam jaafari
Hi I carried out multinomial logistic reg. in R by package 'nnet'. response variable has 7 level and predictors (4 variable) are classifier and continuous. I want to present results as figur but I can't. also, I read R example but I have cell grid and I can't define data.frame. please help me

[R] multinomial regression

2010-05-13 Thread Jean Jacques Dureau
I am developing a multinomial regression model with the function multinom. The dependent variable is qualitative with three possible outcomes, the independent variables are all quantitative. I want to check the significance of predictor variables, which function I use to run the correct test? You a

[R] Multinomial glm with nested and random Effects

2010-02-05 Thread hugo Mathe
Hi, I'd like to do a multinomial glm with nested and random Effects The "multinom" function from (nnet) give me this: > multinom(mc$c ~ (1|mc$date)+mc$lma + mc$poid+(mc$pop) +mc$male %in% > mc$pop,family="multinomial" ) # weights: 60 (44 variable)

[R] Multinomial and Ordinal Logistic Regression - Probability calculation

2009-09-07 Thread olivier.abz
I would add that I followed explanations from the following URL (UCLA): http://www.ats.ucla.edu/stat/r/dae/mlogit.htm I still don't know how the probabilities are generated from the coefficients and intercepts... Anybody ? Thanks. OLIVIER REGNIER-COUDERT (0509785) wrote: > > Dear all, > >

[R] Multinomial and Ordinal Logistic Regression - Probability calculation

2009-09-04 Thread OLIVIER REGNIER-COUDERT (0509785)
Dear all, I am new to R and would like to run a multinomial logistic regression on my dataset (3 predictors for 1 dependent variables) I have used the vglm function from the VGAM package and got some results. Using the predict() function, I obtained the probability table I was looking for. Ho

[R] Multinomial logistic regression in an ANOVA-like framework

2009-06-12 Thread Stats Wolf
Dear all, I have a problem for multinomial logistic regression: the response variable is multinomial (score 1-5) and the two predictors are categorical; all that comes from panelists (it's a kind of preference study), which I treat as a block and include in the model (is it correct?). I would like

[R] multinomial analisys

2009-01-13 Thread costantino milanese
Hi, i'm an italian student that use for the first time the mailing list. I need an help to use a function for elaborate a multinomial logit analisys. I'm making a paper on the USA's commons and their way of organize their service. The various tipologies of service are 4: public, contracting in

[R] Multinomial Logit Model

2009-01-07 Thread ryan
I'm attempting to creat multinomial logistic regression model using the following code: mlogit<- vglm(ME ~ HIST,family=multinomial(),na.action = na.pass) ME (dependent variable) has three levels (0,1,2) How do I declare a reference outcome (either 0,1,2)?

[R] multinomial losgitic regression--vglm()

2008-12-08 Thread Xin Shi
Dear: I try to analysis multinomial logistic regression using vglm in VGAM package. However, I wonder how many levels of responses variable this command is suitable. I saw the examples in google search works for 3 levels, say 1,2,3. However, my response variable is more than 3 levels. Is it

Re: [R] multinomial estimation output stat question - not R question

2008-09-02 Thread Greg Snow
y, September 01, 2008 6:31 PM > To: r-help@r-project.org > Subject: [R] multinomial estimation output stat question - > not R question > > I am estimating a multinomial model with two quantitative > predictors, X1 and X2, and 3 responses. The responses are > called neutral, positive

[R] multinomial estimation output stat question - not R question

2008-09-01 Thread markleeds
I am estimating a multinomial model with two quantitative predictors, X1 and X2, and 3 responses. The responses are called neutral, positive and negative with neutral being the baseline. There are actually many models being estimated because I estimate the model over time and also for various

[R] Multinomial logistic regression with non-numerical data.

2008-07-24 Thread TL Vincent
Hi all, I have a set of data which looks similar to this (only way bigger!) linktyperegister F D a E D b R D c A T d D T a F D b . . . . . . and would like to

Re: [R] Multinomial Logit Regression

2008-04-12 Thread Prof Brian Ripley
The function in package nnet for 'Multinomial Logit Regression' is called multinom() and not nnet(). You seem not to have used it, and therein lies your error. If you need more help, multinom() is support software for a book (see library(help=nnet)), and the book has extensive worked examples.

Re: [R] Multinomial Logit Regression

2008-04-12 Thread Ruben Roa Ureta
> Hi again. I believe that I described the things bad before. > > I want to make the analysis with a sample data (train.set) of dataset for > later see if the predictions adjust to the rest of data non selected with > the sample train. > > Then, of the same form in glm: > > library(nnet) > net <-

Re: [R] Multinomial Logit Regression

2008-04-12 Thread _Fede_
Hi again. I believe that I described the things bad before. I want to make the analysis with a sample data (train.set) of dataset for later see if the predictions adjust to the rest of data non selected with the sample train. Then, of the same form in glm: library(nnet) net <- nnet(response.

[R] Multinomial Logit Regression

2008-04-11 Thread _Fede_
Hi all, I have a dataset with a response variable with three categories (1, 2, 3) and a lot of continuous variables. I'd like to make a MLR with these variables. I've been watching the libraries nnet and zelig for this purpose but I don't understand them well. I use a training sample data to ma

[R] multinomial confidence interval

2008-01-14 Thread eugen pircalabelu
Hi R users! Is there a function that extracts the simultaneous confidence intervals for multinomial proportions as described by Sison and Glaz 1995? or anyone else for that matter? I have seen that SAS has macro for this ( http://www.jstatsoft.org/v05/i06) and i was wondering if R had somet