How exactly do I use ASECWT in graphs, regressions, descriptive analysis, other functions?
Based on my readings it seems we just put the command [pweight = ASECWT] at the end of the regression or graphs, correct?? Or do I divide/multiply the target variable??
when I put it at the end of a twoway line, it gives me an error ;
. twoway line g_income year if g == 0 || line g_income year if g == 1, legend(label(1 "Females") label(2 "Males")) ytitle("Average Income") [pweight = asecwt_rounded]
option [ not allowed
r(198);
please suggest.
Thanks.
Based on my readings it seems we just put the command [pweight = ASECWT] at the end of the regression or graphs, correct?? Or do I divide/multiply the target variable??
when I put it at the end of a twoway line, it gives me an error ;
. twoway line g_income year if g == 0 || line g_income year if g == 1, legend(label(1 "Females") label(2 "Males")) ytitle("Average Income") [pweight = asecwt_rounded]
option [ not allowed
r(198);
please suggest.
Thanks.

Comment