zobs: The test statistic Z_obs

Description Usage Arguments Value

View source: R/Proportions.R

Description

Method 7.11
Used for hypothesis test
Use prop.test(x = x, n = n, p = p0, correct = FALSE, conf.level = 1-alpha) to get p-value

Usage

1
zobs(x, p0, n)

Arguments

x

Number of observations in a category

p0

The null hypothesis

n

Number of observations in total

Value

Z_obs test statistic


DanielEverland/smartstats documentation built on Dec. 17, 2021, 4:03 p.m.