Learn R Programming

⚠️There's a newer version (4.0.0) of this package.Take me there.

EstimationTools

The goal of EstimationTools is to provide a routine for parameter estimation of probability density/mass functions in R.

Installation

You can install the lastest version of EstimationTools typing the following command lines in R console:

if (!require('devtools')) install.packages('devtools')
devtools::install_github('Jaimemosg/EstimationTools', force = TRUE)
library(EstimationTools)

Or you can install the released version from CRAN if you prefer. You can also type the following command lines in R console:

install.packages("EstimationTools")

You can visit the package website to explore the vignettes (articles) and functions reference.

Example

This is a basic example which shows you how to solve a common maximum likelihood estimation problem with EstimationTools:

The solution for a data set generated with size is showed below

library(EstimationTools)

x <- rnorm( n = 10000, mean = 160, sd = 6 )
fit <- maxlogL( x = x, dist = "dnorm", link = list(over = "sd", fun = "log_link") )
summary(fit)
#> ---------------------------------------------------------------
#> Optimization routine: nlminb 
#> Standard Error calculation: Hessian from optim 
#> ---------------------------------------------------------------
#>        AIC      BIC
#>   64158.02 64154.02
#> ---------------------------------------------------------------
#>      Estimate  Std. Error
#> mean   159.954     0.0598
#> sd       5.982     0.0423
#> -----

Copy Link

Version

Install

install.packages('EstimationTools')

Monthly Downloads

470

Version

1.2.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jaime Mosquera

Last Published

October 24th, 2019

Functions in EstimationTools (1.2.1)

maxlogL

Maximum Likelihood Estimation for parametric distributions
summary.maxlogL

Summarize Maximum Likelihood Estimation
log_link

Logarithmic link function (for estimation with maxlogL)
NegInv_link

Negative inverse link function (for estimation with maxlogL)
Fibers

Tensile strengths
logit_link

Logit link function (for estimation with maxlogL)