checksim: Test the computer player performance

Description Usage Arguments Value Author(s) See Also Examples

View source: R/checksim.r

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

1
2
3
4
5
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

1

lmviz documentation built on Aug. 25, 2020, 1:06 a.m.