pwr2ppl (version 0.1.1)

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)

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)

Value

Power for Logistic Regression with Continuous Predictors

Examples

Run this code
# NOT RUN {
LRcont(OR = 4.05, ER = .463,power=.95)
# }

Run the code above in your browser using DataCamp Workspace