Results: InferenceForTheRatioOfTwoProportions.sas

leading question regarding gun permits example (success = favor permit)

The FREQ Procedure

The Freq Procedure

Table group * response

Cross-Tabular Freq Table

Frequency
Row Pct
Table of group by response
group response(favor permit)
favor not Total
leadingQ
403
68.89
182
31.11
585
 
neutralQ
463
75.28
152
24.72
615
 
Total
866
334
1200

Relative Risk Confidence Limits

Confidence Limits for the Relative Risk
Relative Risk = 0.9150
Type 95% Confidence Limits
Column 1 (response = favor)
Wald 0.8525 0.9822

Relative Risk Test

Relative Risk Test
H0: P1 / P2 = 1    Wald Method
Column 1 (response = favor)
Relative Risk 0.9150
Z -2.4568
One-sided Pr < Z 0.0070
Two-sided Pr > |Z| 0.0140

HIV vaccine trial (success = positive)

The FREQ Procedure

The Freq Procedure

Table group * response

Cross-Tabular Freq Table

Frequency
Row Pct
Table of group by response
group response(HIV status)
positive negative Total
vaccine
241
6.70
3357
93.30
3598
 
control
126
6.98
1679
93.02
1805
 
Total
367
5036
5403

Relative Risk Confidence Limits

Confidence Limits for the Relative Risk
Relative Risk = 0.9595
Type 95% Confidence Limits
Column 1 (response = positive)
Wald 0.7794 1.1813

Relative Risk Test

Relative Risk Test
H0: P1 / P2 = 1    Wald Method
Column 1 (response = positive)
Relative Risk 0.9595
Z -0.3893
One-sided Pr < Z 0.3485
Two-sided Pr > |Z| 0.6970

West of Scotland coronary prevention study: 5 years (success=yes)

The FREQ Procedure

The Freq Procedure

Table drug * response

Cross-Tabular Freq Table

Frequency
Row Pct
Table of drug by response
drug response(has a coronary event)
yes no Total
pravastatin
174
5.27
3128
94.73
3302
 
placebo
248
7.53
3045
92.47
3293
 
Total
422
6173
6595

Relative Risk Confidence Limits

Confidence Limits for the Relative Risk
Relative Risk = 0.6997
Type 95% Confidence Limits
Column 1 (response = yes)
Wald 0.5799 0.8442

Relative Risk Test

Relative Risk Test
H0: P1 / P2 = 1    Wald Method
Column 1 (response = yes)
Relative Risk 0.6997
Z -3.7286
One-sided Pr < Z <.0001
Two-sided Pr > |Z| 0.0002

West of Scotland coronary prevention study: 15 years (success=yes)

The FREQ Procedure

The Freq Procedure

Table drug * response

Cross-Tabular Freq Table

Frequency
Row Pct
Table of drug by response
drug response(has a coronary event)
yes no Total
pravastatin
390
11.81
2912
88.19
3302
 
placebo
509
15.46
2784
84.54
3293
 
Total
899
5696
6595

Relative Risk Confidence Limits

Confidence Limits for the Relative Risk
Relative Risk = 0.7641
Type 95% Confidence Limits
Column 1 (response = yes)
Wald 0.6759 0.8639

Relative Risk Test

Relative Risk Test
H0: P1 / P2 = 1    Wald Method
Column 1 (response = yes)
Relative Risk 0.7641
Z -4.2957
One-sided Pr < Z <.0001
Two-sided Pr > |Z| <.0001