search for: 289x4

Displaying 2 results from an estimated 2 matches for "289x4".

Did you mean: 2894
2005 Aug 19
1
How to create design matrix for LLMNL?
Hello, I have a small problem with developing design matrix X, which I use in estimation the log-likelihood of a multinomial logit model. I have the data: number of observation - 289 number of choice alternative- 3 number of choice specific variables in matrix X -4 matrix X =289x4 I tried to use the function createX, I know that I have to get design matrix 289x12 (am I right?) but it always says "bad dim" (my code and data in attachment) Where is my fault? Can I use another method in order to create design matrix? Or need it at all here in logmnl (see code i...
2005 Aug 18
0
?
Hello, I have a small problem with developing design matrix X, which I use in estimation the log-likelihood of a multinomial logit model. I have the data: number of observation - 289 number of choice alternative- 3 number of choice specific variables in matrix X -4 matrix X =289x4 I tried to use the function createX, I know that I have to get design matrix 289x12 (am I right?) but it always says "bad dim" (my code and data in attachment) Where is my fault? Can I use another method in order to create design matrix? Or need it at all here in logmnl (see code i...