get_initial_param: Construct initial values for the parameters to be optimized...

View source: R/functions.R

get_initial_paramR Documentation

Construct initial values for the parameters to be optimized over

Description

Construct initial values for the parameters to be optimized over in AIUQ method of SAM class.

Usage

get_initial_param(model_name, sigma_0_2_ini = NA, num_param = NA)

Arguments

model_name

fitted model, options from ('BM','OU','FBM','OU+FBM', 'user_defined'), with Brownian motion as the default model. See 'Details'.

sigma_0_2_ini

initial value for background noise, default is NA

num_param

number of parameters need to be estimated in the model, need to be non-NA value for 'user_defined' model.

Details

If model_name equals 'user_defined', then num_param need to be provided to determine the length of the initial values vector.

Value

A matrix with one row of initial values for the parameters to be optimized over in AIUQ method of SAM class.

Author(s)

Yue He [aut], Xubo Liu [aut], Mengyang Gu [aut, cre]

References

Gu, M., He, Y., Liu, X., & Luo, Y. (2023). Ab initio uncertainty quantification in scattering analysis of microscopy. arXiv preprint arXiv:2309.02468.

Gu, M., Luo, Y., He, Y., Helgeson, M. E., & Valentine, M. T. (2021). Uncertainty quantification and estimation in differential dynamic microscopy. Physical Review E, 104(3), 034610.

Examples

library(AIUQ)
get_initial_param(model_name = "BM")

AIUQ documentation built on July 2, 2024, 9:06 a.m.