# 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 |
Lesson |
Code or Data files |
Lesson Page Link |

Using PROC FREQ in SAS for determining an exact confidence interval for a binomial proportion | 6 | 6.1_binomial_proportion.sas | Safety and Efficacy Studies |

Determine when the exact confidence interval for p no longer contains a certain value | 6 | 6.1_binomial_proportion.sas | Example: Discarding Ineffective Treatment |

Using PROC POWER to calculate sample size when comparing two normal means | 6 | 7.4_sample_size__normal_.sas | Example 1: Comparative Treatment Efficacy Studies |

Using PROC POWER to calculate sample size when comparing two binomial proportions | 6 | 7.5_sample_size__binary_.sas | Example 2: Comparative Treatment Efficacy Studies |

Using PROC POWER to calculate sample size when comparing two hazard functions | 6 | 7.6_sample_size__time_.sas | Comparing Treatment Groups Using Hazard Ratios |

Sample Size for Comparing Two Normal Means | 6 | 7.7_-_sample_size__normal__e.sas | SAS Examples |

Sample Size for Comparing Two Binomial Proportions |
6 | 7.8_-_sample_size__binary__n.sas | SAS Examples |

Sample Size for Comparing Two Hazard Functions |
6 | 7.9_-_sample_size__time__non.sas | SAS Examples |

Providing permuted blocks randomization scheme for equal allocation to treatments A and B | 8 | 9.1_randomizion_plan.sas | Administration of the Randomization Process |

Example randomization plan | 8 | SAS_Example_13.2_randomization_plan.sas | Administration of the Randomization Process |

Using PROC FREQ in SAS for performing statistical inference with the odds ratio in a two-way frequency table |
11 | SAS Example 12.1 | Safety and Efficacy (Phase II) Studies: The Odds Ratio |

Using PROC FREQ for conducting a Mantel-Haenszel test |
11 | 12.2_Mantel-Haenszel_test.sas | Safety and Efficacy (Phase II) Studies: The Mantel-Haenszel Test for the Odds Ratio |

Constructing trend tests | 11 | 12.3_trend_tests.sas | 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 |
11 | 12.4_survival_analysis.sas | Comparing Survival Curves |

Multiple Regression | 12 | 13.1_multiple regression.sas | Examples |

ANCOVA | 12 | 13.2_ANCOVA.sas | Examples |

Repeated Measurements | 12 | 13.3_repeated measurements.sas | Examples |

Using PROC LOGISTIC in SAS to perform ordinal logistic regression |
12 | 13.4_logistic regression.sas | Model-Based Methods: Binary Outcomes |

Using PROC PHREG in SAS to perform proportional hazards regression |
12 | 13.5_ph regression.sas | Example |

Analysis of the data from a 2x2 crossover using SAS |
15 | 16.1_-_2x2_crossover__contin.sas | Analysis - Continuous Outcome |

Analysis of the data from a 2x2 crossover for a binary outcome, assuming null period effects |
15 | 16.2_-_2x2_crossover__binary.sas | Analysis - Binary Outcome |

Analysis of data from a 2x2 crossover for a binary outcome, assuming nonnull period effects |
15 | 16.3_-_2x2_crossover__binary.sas | Analysis - Binary Outcome |

Assessment of average bioequivalence from a 2x2 crossover design |
15 | 16.4_-_bioequivalence.sas | Bioequivalence Trials |

Using PROC FREQ in SAS for determining an exact confidence interval for sensitivity and specificity |
17 | 18.1_sensitivity_specifi.sas | Describing Diagnostic Tests |

Using PROC FREQ in SAS for comparing two diagnostic tests based on data from two samples |
17 | 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 |
17 | 18.3_comparing_diagnostic.sas | Comparing Two Diagnostic Tests |

Using PROC LOGISTIC to develop the ROC curve |
17 | ACRN_SOCS_trial.sas | Selecting a Positivity Criterion |

Provides an IML module for calculating point and interval estimates of the Pearson correlation coefficient and the concordance correlation coefficient |
18 | 19.2_agreement_concordanc.sas | Concordance Correlation Coefficient for Measuring Agreement |

SAS PROC FREQ option for constructing Cohen's kappa and weighted kappa statistics | 18 |
19.3_agreement_Cohen.sas | Cohen's Kappa Statistic for Measuring Agreement |