Medical
School
Worcester
UMass Collaborative Research
Watch II Study
UMass
Amherst

Worc.: Prev.& behav. med. : Projects and studies Biostat & Epi : SPHHS : UMass
HOME

Contact Us
Resources
Overview
Methods
Operations
Data
Results

TOP

Resources : Project Utilities >

Statement: %Table1(datain=d2, varin=bmi, class1=condition, varfu=bmifu, varn=BMI, tableout=tout);
Description: Generate simple statistics of discrete variables.
Output
Macro Code
Example Program
Statement:%Table2 (dataset=d2,v=female,c=condition,vfu=femalefu, varn=Female,tableout=tout);
Description: Generate simple statistics of continuous variables.
Output
Macro Code
Example Program
Statement:%w2title1 (tout, Table 9. Mixed Model Results for LDL Cholesterol Levels , LDL Cholesterol);
Description: Generate title for Mixed Model table results Pre-test Posttest study with control and intervention and statin
Output
Macro Code
Example Program
Statement:%w2anal1 (datain=d1,group=Test,outfile=tout, vname=ldl_c);

Description: Generate a line for the table with a title generated from %w2title1. Summarize results from a pretest/posttest mixed model with control and intervention groups, and one dichotomous effect modifier (Statin). The results on a line represent the number of subjects, subject variance, residual variance, and parameter estimates corresponding to:

  • the baseline average
  • the increment to the average of the time effect in the control
  • the additional increment at follow-up for the intervention
  • the additional increment due to statins to the time effect for control
  • the additional increment due to statins to the follow-up intervention.
Output
Macro Code
Example Program
Statement:%w2anal2 (datain=d2,group=Test,outfile=tout, vname=ldl_c);

Description: Generate a line for the table with a title generated from %w2title1. Summarize results from a pretest/posttest mixed model with control and intervention groups. The results on a line represent the number of subjects, subject variance, residual variance, and parameter estimates corresponding to:

  • the baseline average
  • the increment to the average of the time effect in the control
  • the additional increment at follow-up for the intervention
  • NA -for columns for the effect modifier
Output
Macro Code
Example Program
Statement:%w2source1 (tout,w2ed04p28.sas);

Description: Generate a line at the bottom of the table with the program name as a source.

Output
Macro Code
Example Program
Statement:%w2title3 (tout, Table 10. Mixed Model Results for Weight in lbs, Weight (lbs));
Description: Generate title for Mixed Model table results Pre-test Posttest study with control and intervention and no effect modifying variables (like for weight)
Output
Macro Code
Example Program
Statement:%w2title3 (tout, Table 10. Mixed Model Results for Weight in lbs, Weight (lbs));
Description: Generate title for Mixed Model table results Pre-test Posttest study with control and intervention and no effect modifying variables (like for weight)
Output
Macro Code
Example Program
Statement:%w2title3 (tout, Table 10. Mixed Model Results for Weight in lbs, Weight (lbs));
Description: Generate title for Mixed Model table results Pre-test Posttest study with control and intervention and no effect modifying variables (like for weight)
Output
Macro Code
Example Program
Statement:%w2title3 (tout, Table 10. Mixed Model Results for Weight in lbs, Weight (lbs));
Description: Generate title for Mixed Model table results Pre-test Posttest study with control and intervention and no effect modifying variables (like for weight)
Output
Macro Code
Example Program
Statement:%w2anal3(datain=d2,group=Test,outfile=tout,vname=wt);
Description: Generate a line for the table with a title generated from %w2title1. Summarize results from a pretest/posttest mixed model with control and intervention groups. The results on a line represent the number of subjects, subject variance, residual variance, and parameter estimates corresponding to:
  • the baseline average
  • the increment to the average of the time effect in the control
  • the additional increment at follow-up for the intervention
Output
Macro Code
Example Program
Statement:%w2title4 (dataout=tout,title=Table 14. Two Group Comparison of Percent Kcal from Fat at Follow-up (24 Hr),var=Percent Kcal from Fat (24 Hour));

 

Description: Generate title for 1 Factor model with 2 levels (0=control, 1=intervention) (as for 24 hour intake compared at posttest.
Output
Macro Code
Example Program
Statement:%w2anal4(datain=d1,group=Test,outfile=tout,vname=resp);
Description: Generate a line for the table from a 1 factor analysis with 2 levels (Interv=0 (control) or 1 (treatment).
Output
Macro Code
Example Program

 

 

 

Prev.& behav. med. : Projects and studies Biostat & Epi : SPHHS : UMass

© 2003 University of Massachusetts Amherst. Site Policies.
This site is maintained by SPHHS/Data Unit.
Send comments or questions about this web site to dataunit@schoolph.umass.edu.
This page was last modified on May 20, 2004 .