generate_trinomial_info: Show Trinomial Test Information

View source: R/TrinomialTest.R

generate_trinomial_infoR Documentation

Show Trinomial Test Information

Description

Returns a range of information relevant to a trinomial test subject to various settings.

Usage

generate_trinomial_info(
  n,
  alpha = 0.05,
  include_one = TRUE,
  find_RR = TRUE,
  digits = NULL,
  P0s = NULL
)

Arguments

n

number of paired observations.

alpha

significance level.

include_one

logical. If FALSE the probability that all pairs are tied is excluded from P0s.

find_RR

logical. If TRUE the output will include the rejection region.

digits

number of significant digits to be returned.

P0s

numeric vector of all possible probabilities of a tie.

Value

A list containing possible probability distributions, numbers of ties, probabilities of a tie, critical values, and rejection regions for a given number of observations and alpha level of a theoretical trinomial test.


douglaswhitaker/GridItemTools documentation built on Aug. 2, 2022, 4:32 a.m.