pwr2ppl (version 0.5.0)

LRcont: Compute Power for Logistic Regression with Continuous Predictors

Description

Compute Power for Logistic Regression with Continuous Predictors

Usage

LRcont(OR = NA, r = NA, ER = NULL, alpha = 0.05, power = NULL, R2 = 0)

Value

Power for Logistic Regression with Continuous Predictors

Arguments

OR

Odds Ratio for Predictor of Interest

r

Correlation for Predictor of Interest

ER

Event Ratio Probability of a Desirable Outcome Overall

alpha

Type I error (default is .05)

power

Desired Power

R2

How Well Predictor of Interest is Explained by Other Predictors (default is 0)

Examples

Run this code
LRcont(OR = 4.05, ER = .463,power=.95)

Run the code above in your browser using DataLab