checksim {lmviz}R Documentation

Test the computer player performance

Description

Assesses (by simulation) the performance of an algorithm for detecting non linearity/heteroscedasticity/non normality (ComputerDecision.default) on data generated by the function Simulation (Simulation.default).

Usage

checksim(
  m,
  ComputerDecision = ComputerDecision.default,
  Simulation = Simulation.default
)

Arguments

m

number of simulations

ComputerDecision

function which returns a computer guess on the violation of assumption (see ComputerDecision.default)

Simulation

function which return a sample generated according to different assumptions (see Simulation.default)

Value

table

a 4x4 matrix, this is the frequency of the true data generating mechanism (rows) and the computer guess (column)

Author(s)

Francesco Pauli, francesco.pauli@deams.units.it

See Also

ComputerDecision.default,Simulation.default

Examples

checksim(10)


[Package lmviz version 0.2.0 Index]