z_test_geq: Conducts upper-tailed z-test

Description Usage Arguments Value

View source: R/hypotest.R

Description

Gets the outcome, p-value, and upper critical value of a upper-tailed hypothesis test (z-test) given the null hypothesis, population standard deviation, significance leve, sample size, and sample mean

Usage

1
z_test_geq(H0, sigma = NULL, alpha = 0.05, samp_size, x_bar)

Arguments

H0

Null hypothesis

sigma

(Optional) Population standard deviation, defaults to NULL

alpha

Significance level, defaults to 0.05 or 5%

samp_size

Sample size

x_bar

Sample mean or proportion

Value

data frame containing test result, p-value, and critical value


azc242/collegestats documentation built on Dec. 31, 2020, 7:54 p.m.