ewma calculates an exponentially weighted moving average of the series named in the generate() option. This is kept in the archive only for any users of Stata 5.0. Users of Stata 6.0 upwards should instead install the egenmore package, including the ewma( ) function, which requires and respect...
And I was able to replicate the following results using estat sd (using that posting: and I am using Stata SE v12.0): clear webuse nhanes2 svyset psu [pw=finalwgt], strata(strata) svy: mean smsa height weight bpsystol bpdiast tcresult tgresult estat sd // e(N) is in a scalar ...
st: How to calculate standardized difference in means with survey weighted data? FromLok Wong <lokwongedu@gmail.com> Tostatalist@hsphsun2.harvard.edu Subjectst: How to calculate standardized difference in means with survey weighted data?
moe_wave_crosstab() moe_wave_crosstab_3way()Other functions are included to calculate simple weighted summary statistics.wtd_mean() is a tidy-compliant wrapper around stats::weighted.mean() summary_table() returns a tible with summary statistics similar to the Stata command sumInstallation...
I need to calculate the standardized bias (the difference in means divided by the pooled standard deviation) with survey weighted data using STATA. I am comparing the means of 2 groups (Y: treatment and control) for a list of X predictor variables. The purpose is to evaluate differences bef...
Tostatalist@hsphsun2.harvard.edu SubjectRe: st: RE: How to calculate standardized difference in means with survey weighted data? DateThu, 29 Mar 2012 00:32:45 -0400 Correction. Lok Wong asked how to do this on March 4 and Shaun Scholes gave an incomplete solution on March 5. I supplie...