asymptoticDecayMSE: Get the MSE for how well an asymptotic decay model fits...

View source: R/asymptoticDecayModel.R

asymptoticDecayMSER Documentation

Get the MSE for how well an asymptotic decay model fits reaches.

Description

This function is part of a set of functions to fit and evaluate exponential decay model with asymptote..

Usage

asymptoticDecayMSE(par, schedule, signal)

Arguments

par

A named numeric vector with the model parameter (see asymptoticDecayModel).

schedule

A numeric vector of length N with the perturbation schedule.

reaches

A numeric vector of length N with reach deviations matching the perturbation schedule.

Details

The 'par' argument is a named numeric vector that should have the following element: - lambda: the learning rate - N0: the asymptote

The schedule is usually a sequence of ones, which is multiplied by the asymptote in the function.

Value

A float: the mean squared error between the total model output and the reach deviations.

Examples

?

thartbm/SMCL documentation built on Oct. 23, 2022, 5:17 a.m.