CVm: Runs Critical Value based on custom value

Description Usage Arguments Value Note Author(s) References Examples

View source: R/CVm.R

Description

Runs Critical Value Based on Custom value.

Usage

1
CVm(value, Sums)

Arguments

value

Value Is the desired Critical Value test, See Refernces to determine the Values Needed.

Sums

A sumorization of The Data Being Tested.

Value

The value is the Critical Value Derived from Custom Critival Value Test.

Note

Typcial CV tests are .99 but this allows you to run .95 and .90 as well.

Author(s)

Kenneth Buker

References

The custom value inputed for Critical value can be found at both http://www.soest.hawaii.edu/wessel/courses/gg313/Critical_KS.pdf & also http://www.mathematik.uni-kl.de/~schwaar/Exercises/Tabellen/table_kolmogorov.pdf

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (value, Sums) 
{
    bottom <- sqrt(Sums[2])
    top <- value
    answer <- top/bottom
    return(answer)
  }

Example output

function (value, Sums) 
{
    bottom <- sqrt(Sums[2])
    top <- value
    answer <- top/bottom
    return(answer)
}

LotkasLaw documentation built on May 2, 2019, 8:54 a.m.