Sorry to bother you again.
When I apply this code:
I get this error :
Could anyone help me please ?
Thank you so much in advance.
When I apply this code:
Code:
local row 2 forvalues diploma_i = 0/3 { forvalues field_j = 1/4 { putexcel set Figures11_12_13.xlsx, sheet(Figure 13) modify svy,subpop(diploma_hes`diploma_i' if restricted_field`field_j' == 1) : prop k_uebverl matrix B = r(table)' local varlabel2 : var label diploma_hes`diploma_i' putexcel A`row' = matrix(B), rownames putexcel K`row' = "`varlabel2'" local row = `row' + rowsof(B) } }
Code:
no observations in subpop() subpopulation
subpop() = 1 indicates observation in subpopulation
subpop() = 0 indicates observation not in subpopulation
r(461);
Thank you so much in advance.
Comment