Re: [R] constraining betas with mlogit package

2011-08-16 Thread Essers, Jonah
bject: Re: [R] constraining betas with mlogit package Hi Rolf: Maybe. But I'm not sure whether the OP wants two levels of a single variable to have the same coefficient, or two different categorical variables in some way, or two different numeric variables, or... Maybe it's obvious, b

Re: [R] constraining betas with mlogit package

2011-08-15 Thread Rolf Turner
On 16/08/11 10:58, Bert Gunter wrote: Well, of course that doesn't work for categorical covariates (duhhh!) -- so I'll just stop at my first clause, "I don't know." Sorry. I would suggest that a better specification of the model and the constraints may elicit better and faster responses. I thi

Re: [R] constraining betas with mlogit package

2011-08-15 Thread Bert Gunter
Hi Rolf: Maybe. But I'm not sure whether the OP wants two levels of a single variable to have the same coefficient, or two different categorical variables in some way, or two different numeric variables, or... Maybe it's obvious, but I thought it fairer to the OP to make clear that I was not a re

Re: [R] constraining betas with mlogit package

2011-08-15 Thread Bert Gunter
Well, of course that doesn't work for categorical covariates (duhhh!) -- so I'll just stop at my first clause, "I don't know." Sorry. I would suggest that a better specification of the model and the constraints may elicit better and faster responses. -- Bert On Mon, Aug 15, 2011 at 3:53 PM, Ber

Re: [R] constraining betas with mlogit package

2011-08-15 Thread Bert Gunter
I don't know the answer in general, but for the specific constraint of two coefficients being the same, I would assume that you should create a new covariate which is the sum of the two individual ones and fit this single combined covariate instead of the two separate ones. Cheers, Bert On Mon, A