Learn R Programming

DiscreteDists (version 1.1.3)

estim_mu_sigma_NPGL_MM: estim_mu_sigma_NPGL_MM

Description

This function generates initial values for NPGL distribution using the method of moments estimators given in equations (19) and (20) of Altun (2021).

Usage

estim_mu_sigma_NPGL_MM(y)

Arguments

y

vector with the random sample

Examples

Run this code
y <- rNPGL(n=100, mu=0.1, sigma=2)
estim_mu_sigma_NPGL_MM(y=y)

Run the code above in your browser using DataLab