MSE_sim: The function to get the mean square error values for...

View source: R/utils.R

MSE_simR Documentation

The function to get the mean square error values for statistics of simulations

Description

The function MSE_sim() allows to get the mean square error values for statistics of simulations

The function MSE_parameters() allows to get MSE for parameters if the truth parameter is known

Usage

MSE_sim(stat.obs, stat.sim)

MSE_parameters(par.truth, par.top = NULL, par.best)

Arguments

stat.obs

Summary statistics of the observation point

stat.sim

Summary statistics of the simulations (model output)

par.truth

The truth parameter

par.top

Parameters from the top of similarities of get.MaxWiK() algorithm

par.best

The best parameter from get.MaxWiK() algorithm

Value

The function MSE_sim() returns numeric vector of the mean square error values for statistics of simulations

The function MSE_parameters() returns list of two numbers:

  • mean of MSE values for all the points from par.top;

  • MSE value for the point of par.best

Functions

  • MSE_parameters(): The function calculates mean square error (MSE) value for parameters as differences between them and already the known truth parameter

Examples

NULL
NULL 

MaxWiK documentation built on April 3, 2025, 8:47 p.m.