I'm using eststo: svy and esttab to produce tables of estimates in my survey data.The estimates are stored with eststo and then I use esttab to make my tables. However, although the point estimates are correct in the esttab table, the option ci for the confidence intervals are not the same. If eststo is storing the estimates and esttab is just supposed to create a table, why would the CIs be different?
Example:
Code:
eststo: svy, subpop(if occgroup2==0): tab health, cv ci format(%12.2f) *produces est 1 eststo: svy, subpop(if occgroup2==1): tab health, cv ci format(%12.2f) *produces est 2 eststo: svy, subpop(if occgroup2==2): tab health, cv ci format(%12.2f) *produces est 3 eststo: svy, subpop(if occgroup2==3): tab health, cv ci format(%12.2f) *produces est 4 eststo: svy, subpop(if occgroup2==4): tab health, cv ci format(%12.2f) *produces est 5 eststo: svy, subpop(if occgroup2==5): tab health, cv ci format(%12.2f) *produces est 6 esttab est1 est2 est3 est4 est5 est6, ci varlabels(p11 "Excellent" p21 "Very Good" p31 "Good" p41 "Fair" p51 "Poor") mtitles("X" "Y" "Z" "Q" "T" "W") nostar
0 Response to Esttab producing different confidence intervals than eststo
Post a Comment