I have panel data on farmers who decide which place to sell their output (first stage ordered probit) and which mode of transportation to reach that place (main equation ordered probit). My main variable of interest is gender that appears in both stages. I am not adding interactions to keep it simple. My main focus is on ordered probits because it gives more nuanced results. After reading the stata help files on conditional (recursive) mixed-process estimator (cmp), the examples and the papers by Roodman (2011), Chyi and Mao (2012), Botezat and Pfeiffer (2014), I developed the following code. It seems to be working very well, so my main question is whether someone could take a look to see if I am missing something, as cmp and eoprobit are new commands to me.
cmp (modetransp_order = i.FHH_clean controls i.year) ( placesale_resources_hh = i.FHH_clean controls i.year) , indicators($cmp_oprobit $cmp_oprobit) vce(cluster hhdid)
margins , dydx(*) predict(eq(#1) outcome(0) pr)
margins , dydx(*) predict(eq(#1) outcome(1) pr)
margins , dydx(*) predict(eq(#1) outcome(2) pr)
margins , dydx(*) predict(eq(#2) outcome(0) pr)
margins , dydx(*) predict(eq(#2) outcome(1) pr)
margins , dydx(*) predict(eq(#2) outcome(2) pr)
I obtain similar magnitudes and significances when using endogenous ordered probit (command eoprobit) for the main equation, but cmp is more efficient and consistent.
Code:
eoprobit modetransp_order FHH_clean controls i.year , endogenous(placesale_resources_hh = FHH_clean controls i.year, oprobit) vce(cluster hhdid)
margins , dydx(*) post
Thanks so much for your time,
Laura
cmp (modetransp_order = i.FHH_clean controls i.year) ( placesale_resources_hh = i.FHH_clean controls i.year) , indicators($cmp_oprobit $cmp_oprobit) vce(cluster hhdid)
margins , dydx(*) predict(eq(#1) outcome(0) pr)
margins , dydx(*) predict(eq(#1) outcome(1) pr)
margins , dydx(*) predict(eq(#1) outcome(2) pr)
margins , dydx(*) predict(eq(#2) outcome(0) pr)
margins , dydx(*) predict(eq(#2) outcome(1) pr)
margins , dydx(*) predict(eq(#2) outcome(2) pr)
I obtain similar magnitudes and significances when using endogenous ordered probit (command eoprobit) for the main equation, but cmp is more efficient and consistent.
Code:
eoprobit modetransp_order FHH_clean controls i.year , endogenous(placesale_resources_hh = FHH_clean controls i.year, oprobit) vce(cluster hhdid)
- Nothing is significant when using endogenous ordered probit (command eoprobit) for the first stage
- When using ordered probit (oprobit) separately (not a system of equations) for the first stage, I obtained similar magnitudes and significances for some controls compared to cmp
- Code:
margins , dydx(*) post
Thanks so much for your time,
Laura
Comment