Learn R Programming

ParetoPosStable (version 1.0.1)

se.PPSfit: Approximated standard errors of Pareto Positive Stable (PPS) parameter estimates

Description

It approximates the stantard errors of PPS parameter estimates by bootstrapping.

Usage

se.PPSfit(PPSfit, k = 2000, show.iters = TRUE)

Arguments

PPSfit
a PPSfit Object, typically from PPS.fit().
k
the number of steps in the bootstrapping procedure.
show.iters
A logical argument specifying if the steps in the bootstrap iteration procedure are shown.

Value

  • A list with the standard errors.

Details

The function simulates k samples from the model given in the PPSfit argument, fits them with the same method of estimation and uses the parameter estimates to approximate the standard errors.

References

Sarabia, J.M and Prieto, F. (2009). The Pareto-positive stable distribution: A new descriptive model for city size data, Physica A: Statistical Mechanics and its Applications, 388(19), 4179-4191.

See Also

PPS.fit

Examples

Run this code
x <- rPPS(50, 1.2, 100, 2.3)
fit <- PPS.fit(x)
coef(fit)
se.PPSfit(fit, k = 50, show.iters = FALSE)

Run the code above in your browser using DataLab