LRcont: Compute Power for Logistic Regression with Continuous...

View source: R/LRcont.R

LRcontR Documentation

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

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

pwr2ppl documentation built on Sept. 6, 2022, 5:06 p.m.