Learn R Programming

MaxWiK (version 1.0.6)

MSE_sim: 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)

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

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

Functions

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

Examples

Run this code
NULL
NULL 

Run the code above in your browser using DataLab