Logistic Regression Single Coefficient (Large Sample Approx Wald’s z Test)

zlogreg(
  calculate = "selectpower",
  typeinput = "prob",
  p0 = 0.5,
  p1 = 0.4,
  oddsratio = 0.67,
  beta1 = 0.25,
  beta0 = 0,
  r2otherx = 0,
  power = 0.8,
  alpha = 0.05,
  alternative = "not equal",
  method = "demidenko(vc)",
  distribution = "not equal",
  mean = 0,
  sd = 1,
  min = 0,
  max = 1,
  size = 1,
  prob = 0.5,
  meanlo = 0,
  sdlog = 1,
  lambda = 1,
  rate = 1,
  probability = 0.5,
  n = 200
)

Arguments

calculate

.

typeinput

.

p0

.

p1

.

oddsratio

.

beta1

.

beta0

.

r2otherx

.

power

.

alpha

.

alternative

.

method

.

distribution

.

mean

.

sd

.

min

.

max

.

size

.

prob

.

meanlo

.

sdlog

.

lambda

.

rate

.

probability

.

n

.

Value

A results object containing:

results$text2a preformatted
results$plotan image