Code:
qui { putexcel set test.xlsx, replace use https://www.stata-press.com/data/r17/nhanes2f, clear svyset psuid [pweight=finalwgt], strata(stratid) svy: mean weight female black rural putexcel B3=etable }
Code:
qui { putexcel set test.xlsx, replace use https://www.stata-press.com/data/r17/nhanes2f, clear svyset psuid [pweight=finalwgt], strata(stratid) noi svy: mean weight female black rural putexcel B3=etable }
Notably, I found the same behaviour in both Stata 16.1 and Stata 17.
Jeph
0 Response to Bug in -svy: mean- ?
Post a Comment