Hello,
Since the mlogit is not a panel estimator I want to estimate a cross sectional model but for 10 years, i.e. I will be estimating the model for each year separately.
For each of the outcomes I would like the estimate the probabilities from each model but contain them in one variable.
Can this be done using a loop? I.e. estimate for year 1, use predict to get the probabilities (pr_outcome1 pr_outcome2 pr_outcome3), and then for year 2, and have the probabilities for year two appear under the same variables pr_outcome1 pr_outcome2 pr_outcome3?
my model is mlogit y xi x2 i.x3, base (0)
Thanks.
SAM
Related Posts with Creating a loop for estimating probabilities using mlogit
How to get the SEM path figure after running -sem- commandI know we could use SEM builder to draw the sem path figure first and then get the estimations and c…
How to make a random sample or subset of data with two group?I am new user of stata, kindly forgiven my ignorance and poor English. My case is here. I have a dat…
Subgroup differences with metaprop? Hi, I am running a metanalysis to look at pooled estimates of attrition using metaprop. I have gen…
reclink functionHi guys, hope you are enjoying festivities. So basically I am trying to perform a fuzzy matching b…
Q about Difference-In-Difference model with unbalanced panel dataHi all, I am currently thinking to use difference-in-difference model in my project but not sure whe…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a loop for estimating probabilities using mlogit
Post a Comment