We want to create variables that we can export to Excel, so we first need to put the means into variables that won't go away when we run another estimation command. The estimates of the means are contained in a matrix called e(b), which has dimensions 1 x 3. Here's a subset of the estimate parameters stored temporarily after the svy:mean command that produced the table above:Įreturn list scalars: e(df_r) = 43 e(N_strata_omit) = 0 e(singleton) = 0 e(census) = 0 e(N_subpop) = 253890607 e(N_sub) = 18081 e(N_pop) = 261897236 e(N_psu) = 86 e(N_strata) = 43 e(N_over) = 1 e(N) = 20607 (lots of results omitted here) matrices: e(b) : 1 x 3 e(V) : 3 x 3 e(_N_subp) : 1 x 3 e(V_srssub) : 3 x 3 e(V_srs) : 3 x 3 e(_N) : 1 x 3 (mores results omitted here)įor purposes of this example, we're only interested in the means. You can look at what results have been stored using either return list or for estimation commands ereturn list. These temporary variables will continue to store these values until you use another Stata command that replaces those results, or until you end your Stata session. Most Stata commands produce temporary variables containing the key results. We can do this be taking advantage of a very nice feature of Stata. Suppose that we want to make a table of just the means in the above example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |