LRcat: Compute Power for Logistic Regression with a Single...

Description Usage Arguments Value Examples

Description

Compute Power for Logistic Regression with a Single Categorical Predictor

Usage

1
2
LRcat(p0 = NULL, p1 = NULL, prop = 0.5, alpha = 0.05, power,
  R2 = 0)

Arguments

p0

Probability of a Desirable Outcome in the Control Condition

p1

Probability of a Desirable Outcome in the Treatment Condition

prop

Proportion in the Treatment Condition

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 a Single Categorical Predictor

Examples

1
LRcat(p0=.137,p1=.611,prop =.689,power=.95)

pwr2ppl documentation built on June 12, 2019, 5:03 p.m.