search for: resdstat

Displaying 1 result from an estimated 1 matches for "resdstat".

Did you mean: res_stat
2011 Mar 02
2
Creating a weighted sample - Help
...actored sample. I can produce a weighted sample in SAS using the weight function which I have shown below wt=0; if perf='H' then wt=2.033174; if perf='I ' then wt=0.535714; if perf='J ' then wt=0.956023; if perf='K ' then wt=0.612245; proc freq data=DD.new; tables resdstat; weight wt; run; Does anyone know how to reproduce this in R? Thanks very much -- View this message in context: http://r.789695.n4.nabble.com/Creating-a-weighted-sample-Help-tp3331842p3331842.html Sent from the R help mailing list archive at Nabble.com.