Hi, thank you so much for your willingness to help!
I am currently running logistic regression with fixed effects on region and time. I have two questions around the estimates store and estimates table functions.
I ran the codes below to create tables after I ran some regression models.
qui logit outcomevar1 var1 var2 i.year i.region, nolog or
estimates store Model1
qui logit outcomevar1 var1 var2 var3 i.year i.region, nolog or
estimates store Model2
qui logit outcomevar2 var1 var2 i.year i.region, nolog or
estimates store Model3
qui logit outcomevar2 var1 var2 var3 i.year i.region, nolog or
estimates store Model4
estimates table Model1 Model2 Model3 Model4, b(%9.3f) varwidth(20)
(1) How can I create a table that shows odds ratio instead of coefficients? Even if the output after running the regression shows odds ratio,
once I create the table by running estimates table, it only prints the values of coefficients. Please help me!
(2) My issue is, for some unknown reasons, when I run the code estimates table Model1 Model2 Model3 Model4, b(%9.3f) varwidth(20)
only the first two models are included in the table but the last two models are shown empty. Why??
I am using stata version 15. Please let me know why this happens and how I can fix it! I want to create a table that demonstrates four models!
I am sharing the part of output I am getting.
Thank you very much!
I am currently running logistic regression with fixed effects on region and time. I have two questions around the estimates store and estimates table functions.
I ran the codes below to create tables after I ran some regression models.
qui logit outcomevar1 var1 var2 i.year i.region, nolog or
estimates store Model1
qui logit outcomevar1 var1 var2 var3 i.year i.region, nolog or
estimates store Model2
qui logit outcomevar2 var1 var2 i.year i.region, nolog or
estimates store Model3
qui logit outcomevar2 var1 var2 var3 i.year i.region, nolog or
estimates store Model4
estimates table Model1 Model2 Model3 Model4, b(%9.3f) varwidth(20)
(1) How can I create a table that shows odds ratio instead of coefficients? Even if the output after running the regression shows odds ratio,
once I create the table by running estimates table, it only prints the values of coefficients. Please help me!
(2) My issue is, for some unknown reasons, when I run the code estimates table Model1 Model2 Model3 Model4, b(%9.3f) varwidth(20)
only the first two models are included in the table but the last two models are shown empty. Why??
I am using stata version 15. Please let me know why this happens and how I can fix it! I want to create a table that demonstrates four models!
I am sharing the part of output I am getting.
Thank you very much!
Comment