After I run a multinomial logistic regression, I am interested in obtaining predicted probabilities.
I found a difference in my estimates if I run:
mlogit cluster_lag i.indipvar1 i.indipvar2 i.indipvar3 indipvar4, rrr vce(cluster clustervar)
margins depvar, atmeans predict(outcome(0))
or instead:
mlogit cluster_lag i.indipvar1 i.indipvar2 i.indipvar3 indipvar4,rrr vce(cluster clustervar)
margins depvar, predict(outcome(0))
I am wondering what really Stata consider when the option atmeans
is not specified.
Moreover, i have a categorical variable called "year" with 4 categories: 71, 81 , 91 , 2001. as far I have understood it should be any difference in typing
margins cluster, at(cluster==0) at (year=( 71 81 91 2001))
or
margins cluster, at(cluster==0) over(year)
but finally, results are different. Do you have any suggestion about the difference between the two lines?