Description Usage Arguments Value Author(s) See Also
zTest Conducts a z-tests difference in proportions for a dichotomous
categorical explanatory variable on a response variable. Assumes the null
hypothesis is equal proportions.
1 2 |
data |
Explanatory and response variable values |
success |
Which level of response variable to call "success", i.e. upon which inference should be done. Defaults to order in which factor variables are defined. |
scope |
Character string indicating the scope of the data being analyzed. |
alternative |
direction of the alternative hypothesis; "less","greater", or "two.sided" |
conf |
Desired confidence level |
alpha |
Probability of a type I error |
Data frame containing the results of the z-test
John James, jjames@datasciencesalon.org
Other xmar functions: X23D, X2,
analyze3d, analyze,
discussion, formatData,
plotBars, preprocess,
propTest, univariate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.