Worked Examples from the Course That Use Software

These are links to examples used in this course along with the necessary files or data sets that are required. Use this list to review the concepts and procedures that are covered in this course. Follow the link to the page within the course for more detail explanations, animated walk-throughs of these examples and/or additional related files.

The Topic / Procedure Code or Data files Lesson Page Link
Using PROC FREQ in SAS for determining an exact confidence interval for a binomial proportion 6.1_binomial_proportion.sas 6a.2 Safety and Efficacy Studies
Determine when the exact confidence interval for p no longer contains a certain value 6.1_binomial_proportion.sas 6a.3 Example: Discarding Ineffective Treatment
Using PROC POWER to calculate sample size when comparing two normal means 7.4_sample_size__normal_.sas 6a.6 Example 1: Comparative Treatment Efficacy Studies
Using PROC POWER to calculate sample size when comparing two binomial proportions 7.5_sample_size__binary_.sas 6a.7 Example 2: Comparative Treatment Efficacy Studies
Using PROC POWER to calculate sample size when comparing two hazard functions 7.6_sample_size__time_.sas 6a.8 Comparing Treatment Groups Using Hazard Ratios
Sample Size for Comparing Two Normal Means 7.7_-_sample_size__normal__e.sas 6b.8 SAS Examples
Sample Size for Comparing Two Binomial Proportions 7.8_-_sample_size__binary__n.sas 6b.8 SAS Examples
Sample Size for Comparing Two Hazard Functions 7.9_-_sample_size__time__non.sas 6b.8 SAS Examples
Providing permuted blocks randomization scheme for equal allocation to treatments A and B 9.1_randomizion_plan.sas 8.7 Administration of the Randomization Process
Example randomization plan SAS_Example_13.2_randomization_plan.sas 8.7 Administration of the Randomization Process

Using PROC FREQ in SAS for performing statistical inference with the odds ratio in a two-way frequency table

SAS Example 12.1 11.2 Safety and Efficacy (Phase II) Studies: The Odds Ratio

Using PROC FREQ for conducting a Mantel-Haenszel test

12.2_Mantel-Haenszel_test.sas 11.3 Safety and Efficacy (Phase II) Studies: The Mantel-Haenszel Test for the Odds Ratio
Constructing trend tests 12.3_trend_tests.sas 11.4 Safety and Efficacy (Phase II) Studies: Trend Analysis

Using PROC LIFETEST in SAS to construct Kaplan-Meier survival curves and test statistics for comparing survival curves

12.4_survival_analysis.sas 11.7 Comparing Survival Curves
Multiple Regression 13.1_multiple regression.sas 12.4 Examples
ANCOVA 13.2_ANCOVA.sas 12.4 Examples
Repeated Measurements 13.3_repeated measurements.sas 12.4 Examples

Using PROC LOGISTIC in SAS to perform ordinal logistic regression

13.4_logistic regression.sas 12.5 Model-Based Methods: Binary Outcomes

Using PROC PHREG in SAS to perform proportional hazards regression

13.5_ph regression.sas 12.8 Example

Analysis of the data from a 2x2 crossover using SAS

16.1_-_2x2_crossover__contin.sas 15.8 Analysis - Continuous Outcome

Analysis of the data from a 2x2 crossover for a binary outcome, assuming null period effects

16.2_-_2x2_crossover__binary.sas 15.9 Analysis - Binary Outcome

Analysis of data from a 2x2 crossover for a binary outcome, assuming nonnull period effects

16.3_-_2x2_crossover__binary.sas 15.9 Analysis - Binary Outcome

Assessment of average bioequivalence from a 2x2 crossover design

16.4_-_bioequivalence.sas 15.12 Bioequivalence Trials

Using PROC FREQ in SAS for determining an exact confidence interval for sensitivity and specificity

18.1_sensitivity_specifi.sas 17.2 Describing Diagnostic Tests

Using PROC FREQ in SAS for comparing two diagnostic tests based on data from two samples

18.2_comparing_diagnostic.sas Comparing Two Diagnostic Tests

Using PROC FREQ in SAS for comparing two diagnostic tests based on data from one sample

18.3_comparing_diagnostic.sas 17.4 Comparing Two Diagnostic Tests

Using PROC LOGISTIC to develop the ROC curve

ACRN_SOCS_trial.sas 17.5 Selecting a Positivity Criterion

Provides an IML module for calculating point and interval estimates of the Pearson correlation coefficient and the concordance correlation coefficient

19.2_agreement_concordanc.sas 18.4 Concordance Correlation Coefficient for Measuring Agreement
SAS PROC FREQ option for constructing Cohen's kappa and weighted kappa statistics 19.3_agreement_Cohen.sas 18.6 Cohen's Kappa Statistic for Measuring Agreement