Learn R Programming

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

FitDynMix

The goal of FitDynMix is to estimate a dynamic lognormal - Generalized Pareto mixture via the Approximate Maximum Likelihood and the Cross-Entropy methods.

Installation

You can install the development version of FitDynMix from GitHub with:

# install.packages("devtools")
devtools::install_github("marco-bee/FitDynMix")

Example

This is a basic example of estimation via AMLE:

library(FitDynMix)
## basic example code
k <- 5000
epsilon <- .02
bootreps <- 2
res = AMLEfit(Metro2019, epsilon, k, bootreps, 1e-04, 'exp')

Copy Link

Version

Install

install.packages('FitDynMix')

Monthly Downloads

311

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Marco Bee

Last Published

January 11th, 2024

Functions in FitDynMix (1.0.0)

dynloglikMC

Log-likelihood of a Lognormal-GPD dynamic mixture
nConst_MC

Monte carlo approximation of the normalizing constant of a Lognormal-GPD dynamic mixture
dynloglik

Log-likelihood of a Lognormal-GPD dynamic mixture
Metro2019

Population estimate of the US metropolitan areas
cvm_stat_M

Computing the Cramér - von Mises distance between two samples
AMLEfit

Estimating a dynamic mixture via AMLE
AMLEmode

Approximating the mode of a multivariate empirical distribution
MLEBoot

Bootstrap standard errors of MLEs
rDynMix

Simulating a dynamic lognormal-Pareto mixture
MLEfit

Estimating a dynamic mixture via MLE
CENoisyFitBoot

Cross-Entropy estimation and bootstrap standard errors
CENoisyFit

Cross-Entropy estimation
ddyn

Density of a Lognormal-GPD dynamic mixture