Learn R Programming

osDesign (version 1.8)

Design, Planning and Analysis of Observational Studies

Description

A suite of functions for the design of case-control and two-phase studies, and the analysis of data that arise from them. Functions in this packages provides Monte Carlo based evaluation of operating characteristics such as powers for estimators of the components of a logistic regression model. For additional detail see: Haneuse S, Saegusa T and Lumley T (2011).

Copy Link

Version

Install

install.packages('osDesign')

Monthly Downloads

305

Version

1.8

License

GPL (>= 3)

Maintainer

Sebastien Haneuse

Last Published

November 15th, 2020

Functions in osDesign (1.8)

phaseI

Expected phase I stratification
tps

Estimation for two-phase designs.
ccSim

Simulation function for case-control study designs.
plotPower

Plot function for power, based on two-phase and case-control design
ccPower

Simulation-based estimation of power for the case-control design
infants

Infant mortality data from North Carolina
rmvhyper

Random generation for the multivariate hypergeometric distribution
tpsPower

Simulation-based estimation of power for the two-phase study design
tpsSim

Simulation function for two-phase study designs.
Ohio

Ohio lung cancer data
beta0

Calculate the intercept of a logistic regression model, given a vector of log-odds ratio parameters and an overall prevalence.