Hello stata community
I run the following command
Where y takes 3 values 0, 1, 2
Now I want to estimate the probability for a specific value of X. For example:
- x1=2, x2=5, x3=7, year=2000
- Estimate probability for y = 1
Then save the predicted probability to a scalar variable. I read the manual, there is a predict but don't know how to add the specific value for probability estimation
Thank you
I run the following command
Code:
mlogit y x1 x2 x3 i.year
Now I want to estimate the probability for a specific value of X. For example:
- x1=2, x2=5, x3=7, year=2000
- Estimate probability for y = 1
Then save the predicted probability to a scalar variable. I read the manual, there is a predict but don't know how to add the specific value for probability estimation
Thank you
Comment