12.07.2015 Views

2006 HCSDB Adult Sampling Report - Tricare

2006 HCSDB Adult Sampling Report - Tricare

2006 HCSDB Adult Sampling Report - Tricare

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

merge numer denom;by CACSMPL;sam_rat=numer/denom;run;title5 ’Sample, frame info, and <strong>Sampling</strong> Ratio for CACSMPL’;proc print data=in.rat_cac;sum numer denom framepct samplpct;run;***STRATUM;title5 ’STRATUM Variable: Frame’;proc freq data=in.framea noprint;table STRATUM / list missing out=denom;run;data denom (rename=(count=denom percent=framepct));set denom ;run;title5 ’STRATUM Variable: Sample’;proc freq data=in.sample noprint;table STRATUM / list missing out=numer;run;data numer (rename=(count=numer percent=samplpct));set numer ;run;proc sort data=denom;by STRATUM;run;proc sort data=numer;by STRATUM;run;data in.rat_str;merge numer denom;by STRATUM;sam_rat=numer/denom;run;title5 ’Sample, frame info, and <strong>Sampling</strong> Ratio for STRATUM’;proc print data=in.rat_str;sum numer denom framepct samplpct;run;title5 ’Information about PRNs’;proc univariate data = in.sample;var prn;run;************************************************;***** Create the *internal* sampling file. *****;************************************************;F-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!