Dear R users,
1) My problem in short:
Mlogit cannot calculate certain conditional models.
2) My database:
The target was a logistical regression analysis and a probability function
which should include generic coefficients and alternative-specific ones. The
database was a survey, the dependent
Dear R users,
1) My problem in short:
Mlogit cannot calculate certain conditional models.
2) My database:
The target was a logistical regression analysis and a probability function
which should include generic coefficients and alternative-specific ones. The
database was a survey, the d
Hi Michael,
many thanks for the useful hints which gave me some deeper knowledge of R.
It is definitely much appreciated.
I think I have found the mistake - the problems did not arise from variable
definitions etc. It was an intellectual mistake.
The cause for the problems was that I had to di
Hi Michael,
many thanks for your time and the hint. This is much appreciated.
Indeed, I managed it to get part of the dataset from which I want to develop
my final logit model in the correct long format with true/false standing in
the column for the choice variable,.
But the problem with the v
Hi Michael,
I have sent youi the data.
Best,
Lee
--
View this message in context:
http://r.789695.n4.nabble.com/length-of-variable-in-mlogit-tp4638323p4639873.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org ma
Hi Michael,
many thanks for your comment.
Below the original data as imported from Stata format. I deleted some
columns with explaining variables because they were unnecessary and working;
the model has several explaining variables with generic regression
coefficients.
pid Choice V7.Ch 1
Ingmar,
many thanks for your answer.
I give you a smaller version of my program with the isolated "strange"
variable, which I used when trying to elaborate the problem .
[Start of R-Editor quote]
library(foreign)
library(gdata)
library(gtools)
library(gmodels)
library(gplots)
library(xtable)
li
Ingmar, many thanks. I get that one from R:
Error in model.frame.default(terms(formula, lhs = lhs, rhs = rhs, data =
data), :
variable lengths differ (found for 'X')
X is the variable I have used.
Any comment would be much appreciated.
Best regards!
--
View this message in context:
ht
Dear all,
does anybody have experience with the calculation of marginal effects
(“effects”) in Mlogit (see Croissant, Package ‘mlogit’, p.8)?
1) Is there a good qualitative explanation available for the listed options
for the argument “type” (“aa”, …)? When do I have to choose aa, ar…? And
w
Dear all,
does anybody have experience with building logits in Mlogit?
I want to test the use of a couple of alternative specific variables with a
generic regression coefficient. However, one of them simply does not work. R
says the length of this variable is different.
Problem: If I check the l
10 matches
Mail list logo