I have an unbalanced panel (id date) with around 8 million observations. My categorical variable occu takes 337 unique values. I need to compute transition probabilities for occu and save the matrix of probabilities. I run:
xttrans2 beruf, matcell(T)
svmat
And I get the message 'too many values'.
I tried to compute transition probabilities looping over each value of my categorical variables:
foreach i in occu {
qui xttrans2 `i', matcell(X`i') prob
qui svmat X
}
This did not work either.
Thanks
xttrans2 beruf, matcell(T)
svmat
And I get the message 'too many values'.
I tried to compute transition probabilities looping over each value of my categorical variables:
foreach i in occu {
qui xttrans2 `i', matcell(X`i') prob
qui svmat X
}
This did not work either.
Thanks