Learn R Programming

OptimModel (version 2.0-1)

Perform Nonlinear Regression Using 'optim' as the Optimization Engine

Description

A wrapper for 'optim' for nonlinear regression problems; see Nocedal J and Write S (2006, ISBN: 978-0387-30303-1). Performs ordinary least squares (OLS), iterative re-weighted least squares (IRWLS), and maximum likelihood (MLE). Also includes the robust outlier detection (ROUT) algorithm; see Motulsky, H and Brown, R (2006).

Copy Link

Version

Install

install.packages('OptimModel')

Monthly Downloads

457

Version

2.0-1

License

GPL-2

Maintainer

Steven Novick

Last Published

March 12th, 2024

Functions in OptimModel (2.0-1)

optim_fit

Fit Model with optim
predict.optim_fit

Predicted values for optim.fit objects
print.optim_fit

Prints optim_fit objects
linear_model

Linear model, gradient, and starting values
rout_fitter

Fit Model with ROUT
residuals.optim_fit

Residuals for optim.fit objects
nlogLik_cauchy

Negative log-likelihood function for Cauchy regression
optim_weights

Weight functions for optim_fit
hill_quad_model

Five-parameter Hill model with quadratic component, gradient, starting values, and back-calculation functions
hill_switchpoint_model

Five-parameter Hill model with switch point component, gradient, starting values, and back-calculation functions
test_fit

Test Fit Parameters
rout_outlier_test

ROUT Outlier Testing
get_se_func

Compute standard error for a function of model parameter estimates
getData

Extract data object from an optim fit
hill_model

Four-parameter Hill model, gradient, starting values, and back-calculation functions
beta_model

Beta hook-effect model, gradient, starting values, and back-calculation functions
gompertz_model

Four-parameter Gompertz model, gradient, starting values, and back-calculation functions
hill5_model

Five-parameter Hill model, gradient, starting values, and back-calculation functions
exp_decay

Three-parameter exponential decay, gradient, starting values, and back-calculation functions
f2djac

Compute derivative with respect to parameters
exp_2o_decay

Five-parameter second-order exponential decay, gradient, starting values, and back-calculation functions
exp_decay_pl

Three-parameter exponential decay with initial plateau, gradient, starting values, and back-calculation functions