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

Description Usage Arguments Value

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

Description

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

Usage

1
2
3
4
5
6
7
8
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 Oct. 13, 2021, 11:35 p.m.