evaluation {latentcor}R Documentation

Numerical evaluation for different estimation methods.

Description

Speed and accuracy comparison of two different estimation methods.

Usage

evaluation(
  genfun,
  estfun_1,
  estfun_2,
  grid_list,
  nrep = 100,
  showplot = FALSE,
  cores = detectCores(),
  ...
)

Arguments

genfun

A data generation function.

estfun_1

A function for first estimation method.

estfun_2

A function for second estimation method.

grid_list

A list for grid points to be evaluated (each element of list is a vector represents ticklabels on a dimension). The number of list elements are the dimension of function inputs.

nrep

Number of replications in simulation.

showplot

Logical indicator. showplot = TRUE generates the heatmaps of output arrays. NULL if showplot = FALSE.

cores

The numbers of cores (threads) of your machine to conduct parallel computing.

...

Other inputs for data generation or estimation functions to be passed through.

Value

evaluation returns


[Package latentcor version 2.0.1 Index]