Hi,
I am running logit regressions on establishment-level data where the LHS variable is the store's entry decision and the RHS variables are store characteristics and local market demographics characteristics. The issue is that, after the inclusion of about 300 MSA fixed effects, the logit regressions do not converge. The regression works fine without the inclusion of the fixed effects though.
Since the linear regression with exactly the same LHS and RHS variables run fine with MSA fixed effects, I would like to save the estimates from the linear regression (coeff(OLS)) and use as starting values for the multinomial logit regression the OLS coefficients multiplied by a factor of 4, 4*coeff(OLS). Do you have any pointers on the correct syntax Stata requires for specifying starting values for a large number of parameters? Below are the commands which I used. None of the code that I have tried for specifying the initial values seem correct.
************************************************** ************************************************** ************************************************** ************************************************** ************
/*OLS regression with MSA fixed effects*/
xi: regress Entry i.ChainSizeCtgry*Online marketcontrols i.msa
/*Storing Estimates from Linear Specification to Use As Starting Values for Multinomial Logit Specification*/
matrix b0=e(b)
matrix b1=4*b0
/*Multinomial regression where I try to specify the initial value*/
xi: mlogit Entry i.ChainSizeCtgry*Online marketcontrols i.msa, baseoutcome(0) from(b1)
initial values not feasible /*<---Stat returns the following*/
xi: mlogit Entry i.ChainSizeCtgry*Online marketcontrols i.msa. baseoutcome(0) from(eq2: b1)
initial vector: matrix eq2: not found /*<---Stat returns the following*/
xi: mlogit Entry i.ChainSizeCtgry*Online marketcontrols i.msa, baseoutcome(0) from([#2]: b1)
initial vector: matrix [#2]: not found /*<---Stat returns the following*/
************************************************** ************************************************** ************************************************** ************************************************** ***
I'm sorry that because I am working with data through a secure server, I cannot be more specific by copying and pasting my exact STATA commands and output.
Many Thanks,
Sherry
I am running logit regressions on establishment-level data where the LHS variable is the store's entry decision and the RHS variables are store characteristics and local market demographics characteristics. The issue is that, after the inclusion of about 300 MSA fixed effects, the logit regressions do not converge. The regression works fine without the inclusion of the fixed effects though.
Since the linear regression with exactly the same LHS and RHS variables run fine with MSA fixed effects, I would like to save the estimates from the linear regression (coeff(OLS)) and use as starting values for the multinomial logit regression the OLS coefficients multiplied by a factor of 4, 4*coeff(OLS). Do you have any pointers on the correct syntax Stata requires for specifying starting values for a large number of parameters? Below are the commands which I used. None of the code that I have tried for specifying the initial values seem correct.
************************************************** ************************************************** ************************************************** ************************************************** ************
/*OLS regression with MSA fixed effects*/
xi: regress Entry i.ChainSizeCtgry*Online marketcontrols i.msa
/*Storing Estimates from Linear Specification to Use As Starting Values for Multinomial Logit Specification*/
matrix b0=e(b)
matrix b1=4*b0
/*Multinomial regression where I try to specify the initial value*/
xi: mlogit Entry i.ChainSizeCtgry*Online marketcontrols i.msa, baseoutcome(0) from(b1)
initial values not feasible /*<---Stat returns the following*/
xi: mlogit Entry i.ChainSizeCtgry*Online marketcontrols i.msa. baseoutcome(0) from(eq2: b1)
initial vector: matrix eq2: not found /*<---Stat returns the following*/
xi: mlogit Entry i.ChainSizeCtgry*Online marketcontrols i.msa, baseoutcome(0) from([#2]: b1)
initial vector: matrix [#2]: not found /*<---Stat returns the following*/
************************************************** ************************************************** ************************************************** ************************************************** ***
I'm sorry that because I am working with data through a secure server, I cannot be more specific by copying and pasting my exact STATA commands and output.
Many Thanks,
Sherry
Comment