Learn R Programming

ptsuite (version 1.0.0)

alpha_percentile: Estimating the Shape Parameter by Method of Percentiles

Description

This function uses the Method of Percentiles to estimate the shape parameter of a given set of data. (Bhatti et al. 2018)

Usage

alpha_percentile(dat)

Arguments

dat

vector of observations

Value

A list of the following form:

shape

Estimate of the shape parameter of the data

scale

Estimate of the scale parameter of the data (which is taken to be the minimum of the data)

References

Bhatti SH, Hussain S, Ahmad T, Aslam M, Aftab M, Raza MA (2018). "Efficient estimation of Pareto model: Some modified percentile estimators." PLoS ONE, 13(5), 1-15.

Examples

Run this code
# NOT RUN {
x <- generate_pareto(10000, 5, 2)
alpha_percentile(x)
# }

Run the code above in your browser using DataLab