htest: Hypothesis tests

Description Usage Arguments

Description

htest carries out a variety of hypothesis tests commonly encountered in an introductory statistics course.

Usage

1
2
3
htest(formula, data, ..., test = c("t", "chisq", "exact", "goodness",
  "independence", "coefficients", "anova"), method = c("linear", "logistic"),
  prob_model = NULL)

Arguments

formula

a formula expression the relationship among the variable

data

a data table containing the variables used in the formula

...

other arguments for the particular test

test

character string naming the particular flavor of test to conduct: "t", "chisq", "exact" (Fisher exact test), "coefficients" (as in regression), "anova"

method

for regression, whether to do "linear" regression (default) or logistic regression


dtkaplan/statPREPpackage documentation built on May 15, 2019, 5:22 p.m.