runvalid {sisireg}R Documentation

Maximum Run Validity Check

Description

Checks, if a given regression function is adequate with respect to the maximum run criterium.

Usage

runvalid(dat,mu,k=NULL)

Arguments

dat

obervations.

mu

discrete regression function.

k

optional: maximum run length.

Value

valid

function is valid?

Author(s)

Dr. Lars Metzner

References

Dr. Lars Metzner (2021) Adäquates Maschinelles Lernen. Independently Published.

Examples

runvalid(sin(seq(-pi, pi, length.out = 200))+rnorm(200)/2, 
          sin(seq(-pi, pi, length.out = 200)))

[Package sisireg version 1.1.1 Index]