Dear Statalisters,
This is my first post, so please let me know in case I should expose my problem differently.
I am trying to fit a multivariate fractional logit model with a binary endogenous regressor.
1/ Without taking into account the endogeneity issue, my code looks like this:
Where:
From reading Wooldridge (JHR, 2015, http://jhr.uwpress.org/content/50/2/420.abstract) and previous posts (https://www.statalist.org/forums/for...quadratic-term , https://www.statalist.org/forums/for...ch-with-probit, https://www.statalist.org/forums/for...ndent-variable ,
https://www.statalist.org/forums/for...nous-regressor), it is my understanding that I should use a 2-step control function approach.
I am however not sure whether this would still work even if my EEV is binary and how to adapt the method to a fmlogit setting.
Would something like the following code make sense?
Where $z is a binary instrument that I use in other parts of my paper to assess the impact of my EEV $x on continuous outcome variables.
Any insight would be useful. Thank you very much in advance for your help.
Clémence
This is my first post, so please let me know in case I should expose my problem differently.
I am trying to fit a multivariate fractional logit model with a binary endogenous regressor.
1/ Without taking into account the endogeneity issue, my code looks like this:
Code:
xi: fmlogit t_1_share t_2_share t_3_share t_4_share t_5_share, etavar($x $controls) estimates store time_est forvalues i = 1/5 { estimates restore time_est margins, dydx($x) predict(pr outcome(t_`i'_share)) post }
- t_1_share to t_5_share= fractional outcome variables (all between 0 and 1, summing up to 1)
- $x=endogenous explanatory variable (binary)
From reading Wooldridge (JHR, 2015, http://jhr.uwpress.org/content/50/2/420.abstract) and previous posts (https://www.statalist.org/forums/for...quadratic-term , https://www.statalist.org/forums/for...ch-with-probit, https://www.statalist.org/forums/for...ndent-variable ,
https://www.statalist.org/forums/for...nous-regressor), it is my understanding that I should use a 2-step control function approach.
I am however not sure whether this would still work even if my EEV is binary and how to adapt the method to a fmlogit setting.
Would something like the following code make sense?
Code:
reg $x $z $controls predict vh, resid xi: fmlogit t_1_share t_2_share t_3_share t_4_share t_5_share, etavar($x $controls vh) estimates store time_est forvalues i = 1/5 { estimates restore time_est margins, dydx($x) predict(pr outcome(t_`i'_share)) post }
Any insight would be useful. Thank you very much in advance for your help.
Clémence
Comment