Compute Power for Logistic Regression with Continuous Predictors
LRcont(OR = NA, r = NA, ER = NULL, alpha = 0.05, power = NULL, R2 = 0)
Odds Ratio for Predictor of Interest
Correlation for Predictor of Interest
Event Ratio Probability of a Desirable Outcome Overall
Type I error (default is .05)
Desired Power
How Well Predictor of Interest is Explained by Other Predictors (default is 0)
Power for Logistic Regression with Continuous Predictors
# NOT RUN { LRcont(OR = 4.05, ER = .463,power=.95) # }
Run the code above in your browser using DataCamp Workspace