Hello Everyone,
I am rather new to Stata, and this is my first post.
I have panel data with 156,790 obs. I have run four regression models using xtlogit, xtologit, and xtstreg. The results show that all my predictor variables are very significant. I have checked for multicollinearity, and that is not an issue with my dataset. Now, I would like to determine the relative importance of each predictor within the model. According to what I could find, the domme command written by Joseph Luchman seems to be what I am look for. However, I am not sure if I am typing the commands correctly (I assume not). Below is the command, but I receive the error message "option ( not allowed".
I have include some example data for reference. See below.
Any suggestions would be greatly appreciated.
I am rather new to Stata, and this is my first post.
I have panel data with 156,790 obs. I have run four regression models using xtlogit, xtologit, and xtstreg. The results show that all my predictor variables are very significant. I have checked for multicollinearity, and that is not an issue with my dataset. Now, I would like to determine the relative importance of each predictor within the model. According to what I could find, the domme command written by Joseph Luchman seems to be what I am look for. However, I am not sure if I am typing the commands correctly (I assume not). Below is the command, but I receive the error message "option ( not allowed".
Code:
domme, (use_of_force = total_legitimacy leadership_power i.capability_preponderance i.system_effects_isolation core_interests_weighted = use_of_force)) reg(xtlogit use_of_force total_legitimacy leadership_power i.capability_preponderance i.system_effects_isolation core_interests_weighted) fitstat(e(rank), mcf)
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float use_of_force double total_legitimacy_final byte leadership_power float capability_preponderance byte system_effects_isolation double core_interests_weighted 1 .095 1 0 0 1.9 1 .095 1 0 0 1.9 1 .095 1 0 0 . 1 .095 1 0 0 . 1 .095 1 0 0 1.3 1 .095 1 0 0 1.3 1 .095 1 0 0 1.3 1 .095 1 0 0 1.3 1 .095 1 0 0 . 1 .095 1 0 0 . 1 .095 1 0 0 1.9 1 .095 1 0 0 1.9 0 .155 2 0 0 1 1 .155 2 0 0 1 0 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 0 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 0 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 .8 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 0 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 0 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 1 .155 2 0 0 1 0 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 0 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .155 2 0 0 1.5 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 1.2 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .17 3 0 0 .8 1 .24 4 0 0 1 1 3.1641596638655467 5 0 0 1.7 1 3.1641596638655467 5 0 0 1.7 0 3.1641596638655467 5 0 0 1.7 end
Comment