Fits Regression & ARMA Models Subject to Constraints to the Coefficient

Fits or generalized linear models either a regression with Autoregressive moving-average (ARMA) errors for time series data. The package makes it easy to incorporate constraints into the model's coefficients. The model is specified by an objective function (Gaussian, Binomial or Poisson) or an ARMA order (p,q), a vector of bound constraints for the coefficients (i.e beta1 > 0) and the possibility to incorporate restrictions among coefficients (i.e beta1 > beta2). The references of this packages are the same as 'stats' package for glm() and arima() functions. See Brockwell, P. J. and Davis, R. A. (1996, ISBN-10: 9783319298528). For the different optimizers implemented, it is recommended to consult the documentation of the corresponding packages.


ConsReg

ConsReg is my first R package that I decide to give to the R community. It is a compilation of functions that I have used in my day-to-day developing models.

ConsReg allows the estimation of GLM models with restrictions to parameters: both of limits (upper and lower) and between parameters (e.g. coef1 > coef2). This package is very easy to use and is ideal for situations where the logic of the model is more important than the error itself.

ConsReg has two main functions:

  • ConsReg
  • ConsRegArima

The first one, *ConsReg, as I said is a wrapper of glm function, while ConsRegArima allows to estimate regression models with Arima errors.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ConsReg")

0.1.0 by Josep Puig, 7 years ago


https://github.com/puigjos/ConsReg


Report a bug at https://github.com/puigjos/ConsReg/issues


Browse source code at https://github.com/cran/ConsReg


Authors: Josep Puig Sallés


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Imports data.table, forecast, rlang, nloptr, FME, MCMCpack, Rsolnp, DEoptim, dfoptim, GA, GenSA, Metrics, ggplot2, adaptMCMC, Rcpp

Suggests testthat, knitr, rmarkdown


See at CRAN