proportionnormaltest: proportionnormaltest

Description Usage Arguments Details Value Examples

View source: R/proportionnormaltest.R

Description

Checks the univariate normality for each column of a data matrix based on the expected proporiton of observations falling within 1 and 2 standard deviations of the mean

Usage

1

Arguments

data

data set to conduct the test on

Details

User provides a multivariate data set and the function produces a list output calculating the propotion of data for each individual variable within one and two standard deviations. This is checked against the theoretical expectations of 0.638 and 0.954 within the theoretically expected range for the sampling distribution of the proportion

Value

List ouput containing the proportions and output signalling whether the proportion is in the expected range for a normal variable or not

Examples

1
proportionnormaltest(data = matrix(c(2,4,3,7,9,1,3,5,6), nrow = 3, ncol =3))

jacob-moser/MATH4793MOSER documentation built on Dec. 20, 2021, 8:07 p.m.