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)