propTest: propTest

Description Usage Arguments Value Author(s) See Also

View source: R/propTest.R

Description

propTest Conducts a z-tests for a multi-level categorical explanatory variable on a response variable. Returns data and plots of the z-distribution vis-a-vis the observed test statistic.

Usage

1
2
propTest(data, xOrder = NULL, alternative = "two.sided", success = NULL,
  conf = 0.95, alpha = 0.05)

Arguments

data

data frame containing data to be analyzed, with the response variable as the first variable.

xOrder

when x is given, order of levels of x in which to subtract parameters

alternative

direction of the alternative hypothesis; "less","greater", or "two.sided"

conf

confidence level, value between 0 and 1

alpha

numeric between 0 and 1, the probability of a type I error

Value

Data frame containing the results of the z-test

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other xmar functions: X23D, X2, analyze3d, analyze, discussion, formatData, plotBars, preprocess, univariate, zTest


DataScienceSalon/xmar documentation built on May 28, 2019, 12:24 p.m.