Displaying 2 results from an estimated 2 matches for "nchid".
Did you mean:
schid
2020 Oct 01
0
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
Hello Rui,
Thanks a lot for your response. But, I will surely say that the data I
attached is in long format as it has 18 rows (3 alternatives*3
questions* 2 individuals). Had it been a wide format data it would
have had 6 rows (3 questions* 2 individuals). But, anyway thanks.
Best,
Rahul
On Wed, Sep 23, 2020 at 3:23 AM Rui Barradas <ruipbarradas at sapo.pt> wrote:
>
> Hello,
>
2020 Sep 21
2
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
...ating different variables and identifiers).
In mlogit I tried the following command---
*mldata<- mlogit.data(mydata, shape = "long", alt.var = "Alt_name", choice
= "Choice_binary", id.var = "IND")*
It is giving me the following error message- Error in 1:nchid : result
would be too long a vector
Could you please help me with this? I don't think it is too big a data 100
ROWS*13932 columns. I faced no issue in Excel. I am stuck due to this issue.
Thanks in advance.
-- Best Regards,
Rahul Chakraborty
Research Fellow
National Institute of Public Financ...