reptcm {heR.IndoorAir}R Documentation

Repeat a two-compartment model optimization

Description

Function to repeat optimizing the tcm model, sampling the residuals from a normal distribution for the purpose of estimating the distribution (and correlation) of the fit parameters due to statistical (random) error.

Usage

reptcm(rmean=0, rsd=1, n=10,
       initpar=c(70100, 97.6, 61.4, 4.62, 4.21))

Arguments

rmean the mean of the residuals
rsd the standard deviation of the residuals
n the number of simulations
initpar the initial set of parameters

Details

The default initpar were found by optimizing with the original Partridge house data: f = 53.25 at minimum

Value

A data frame containing the initial parameter values and the final parameter values.

Author(s)

Neil E. Klepeis
nklepeis@uclink.berkeley.edu
http://socrates.berkeley.edu/~nklepeis

See Also

tcm, opttcm, optgrid


[Package heR.IndoorAir version 0.0.3 Index]