Displaying 5 results from an estimated 5 matches for "cxname".
Did you mean:
cname
2005 Jul 13
1
problems with MNP
...encountered in system
file.
> library(MNP)
MNP: R Package for Fitting the Multinomial Probit Models
Version: 1.3-1
URL: http://www.princeton.edu/~kimai/research/MNP.html
>
> res1 <- mnp(PREVOTE3 ~ 1, choiceX = list(1=UCLC, 2=UDLC, 3=UPLC),
Error: syntax error
> cXnames = "ut", data = small, n.draws = 500, burnin =
100,
Error: syntax error
> verbose = TRUE)
Error: syntax error
>
> # another try giving arbitrary names to the values of the dependent
variable
>
> res1 <- mnp(PREVOTE3 ~ 1, choiceX = list(Clinton=UCLC,...
2005 Apr 03
1
wrong signs using MNP.
...coefficients, and a few rows of the
data. The dataset has 210 observations.
Thanks,
--Bill
res1<-mnp(mc ~ 1,
choiceX = list(a=cbind(ttme.1,gc.1,hinc),
b=cbind(ttme.2,gc.2,0),
c=cbind(ttme.3,gc.3,0),
d=cbind(ttme.4,gc.4,0)
),
cXnames = c("ttme","gc","hinc"),
data = wide,
n.draws = 1500,
burnin = 50,
base = "d",
verbose = TRUE
)
Coefficients:
mean std.dev. 2.5% 97.5%
(Intercept):a -1.003078 0.508752 -2.292813 -0.207
(Intercept):b -1.511963 0.582518 -...
2005 Dec 15
0
MNP - discrete choice experiment
...for the second alternative etc.
- za2, zb2, zc2 price level for the first, second and third alternative
I tried the following mnp command for testing:
analysis <- mnp(cbind(y1, y2, y3) ~ 1,
choiceX = list(y1=cbind(za1M, za1B, za2), y2=cbind(zb1M, zb1B, zb2),
y3=cbind(zc1M, zc1B, zc2)),
cXnames = list("M", "B", "price"),
data=example, n.draws=500, burnin=100, thin=3, verbose=TRUE)
My questions are:
1) How can I take into account that every respondent answers 4 choicesets?
Or more generally, how can I obtain individual level estimates?
2) The MNP packag...
2007 May 13
0
Error in dimnames(x) <- dn
...1 3 10.08163 10.05406 10.07323
2 1 10.08163 10.05406 10.07323
3 2 10.08163 10.05406 10.07323
4 1 10.08163 10.05406 10.07323
5 2 10.08163 10.05406 10.07323
.........and 607 more
> res1 <- mnp(choice ~ 1, choiceX = list(Clio= clio, Punto= punto, Polo=
polo), cXnames = "price", data = c, n.draws = 100, verbose = TRUE)
Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array
extent
clio, punto and polo are the x's,
I would appreciate if anyone helps me on this,
Thanks,
Ozlem Ipekci
[[alternative HTML version delet...
2007 Jun 15
0
Coefficients and Covariances in MNP
...to put the coefficients and covariances into W, to
construct W for each j.
The coefficients and covariances are below.
I f anyone help me on this, I would appreciate.
ozlem.
Call:
mnp(formula = choice ~ 1, data = rowdata3, choiceX = list(Punto =
PricePunto,
Clio = PriceClio, Polo = PricePolo), cXnames = "price", base = "Polo",
n.draws = 100, verbose = TRUE)
Coefficients:
mean std.dev. 2.5% 97.5%
(Intercept):Clio -1.4559 0.6889 -2.7017 -0.387
(Intercept):Punto -0.1989 0.7180 -2.2192 0.893
price 10....