cramer_vonmises {agfh}R Documentation

Cramer-Von Mises Normality Test

Description

Test a sample against the null hypothesis that it comes from a standard Normal distribution.

Usage

  cramer_vonmises(samples)

Arguments

samples

vector of values to be tested

Details

Wrapper function for corresponding functionality in goftest. Originally developed in Cramer (1928), Mises (1931), and Smirnov (1936).

Value

A list containing

name

authors of normality test applied i.e. 'Cramer von Mises'

statistic

scalar value of test statistics

p.value

corresponding p-value of the test

Source

Cramer (1928), Mises (1931), and Smirnov (1936) via goftest.

Examples

  sample <- rnorm(100)
  cramer_vonmises(sample)

[Package agfh version 0.2.1 Index]