power.count.poisson.onesample.approximate: Power - Single Sample Poisson Test

View source: R/power.count.poisson.onesample.approximate.R

power.count.poisson.onesample.approximateR Documentation

Power - Single Sample Poisson Test

Description

Power calculation utilizes the square root transformation (approximate sample size/power).

Usage

power.count.poisson.onesample.approximate(
  sample.size,
  lambda.null.hypothesis,
  lambda.alternative.hypothesis,
  alpha = 0.05,
  alternative = c("two.sided", "less", "greater"),
  details = T
)

Arguments

sample.size

Scalar - sample size

lambda.null.hypothesis

Scalar - null hypothesis lambda parameter

lambda.alternative.hypothesis

Scalar - alternative hypothesis lambda parameter

alpha

Scalar - Type I error rate

alternative

Scalar (character) - alternative hypothesis

details

Logical - Return calculation details (default) or return only power (details = FALSE)

Value

A data frame with details about the calculation or a single value with power (details = F).


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.