Skip to contents

Perform complete overdispersion and trend analysis (CORRECTED)

Usage

complete_trend_analysis(
  successes,
  totals,
  doses,
  scoring = c("doses", "ranks", "log_doses", "equal_spaced"),
  alternative = c("two.sided", "greater", "less"),
  phi_method = c("trend_adjusted", "simple")
)

Arguments

successes

Vector of success counts

totals

Vector of total trials

doses

Vector of dose levels

scoring

Scoring method to use consistently

alternative

Direction of trend test

phi_method

Method for phi estimation when using Rao-Scott

Value

List with Tarone and step-down results