Skip to content

Instantly share code, notes, and snippets.

@tmwatchanan
Last active September 25, 2020 02:37
Show Gist options
  • Save tmwatchanan/de63e6f5c32154891472ec4a8c84c00a to your computer and use it in GitHub Desktop.
Save tmwatchanan/de63e6f5c32154891472ec4a8c84c00a to your computer and use it in GitHub Desktop.
data Prop;
length Group $12 Response $3;
input Group Response N;
datalines;
East More 10
East Less 90
West More 66
West Less 34
;
proc freq data=Prop order=data;
weight N;
tables Group*Response / riskdiff(equal var=null cl=wald);
run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment