I am doing a research over c-d production function, where I need fmm to discuss some heterogeneity. I have some states and the corresponding data from 2005 to 2020. When I type:
I will get the result as following:
--------------------------------------------------------------
| Margin
-------------+------------------------------------------------
Class |
1 | .6682124
2 | .3317876
--------------------------------------------------------------
And I can only get the probability margins in the whole sample, no matter what predict or estat options I try. But in the paper I'm referring to, the author not only gave the probabilities of each class, it also gave the detailed provinces in the certain group. For example, in 21 states, states 1, 5, 6... fourteen in total belongs to class 1, and other states belongs to class 2, with the probabilities shown like this:
with 14 provinces in the left and 7 in the right.
How can I access such result ? Or is it not available using stata commands?
Thanks very much,
Carlos
Code:
fmm 2, vce(r) : regress lnY lnK lnE lnL estat lcprob, nose
--------------------------------------------------------------
| Margin
-------------+------------------------------------------------
Class |
1 | .6682124
2 | .3317876
--------------------------------------------------------------
And I can only get the probability margins in the whole sample, no matter what predict or estat options I try. But in the paper I'm referring to, the author not only gave the probabilities of each class, it also gave the detailed provinces in the certain group. For example, in 21 states, states 1, 5, 6... fourteen in total belongs to class 1, and other states belongs to class 2, with the probabilities shown like this:
Group1 | probability | Group2 | probability |
state 1 | 0.5902 | state 2 | 0.6416 |
state 5 | 0.5563 | state 3 | 0.5386 |
How can I access such result ? Or is it not available using stata commands?
Thanks very much,
Carlos
Comment