powered by
Calculates the difference between the theoretical skewness for the Generalised Pareto Distribution (GPD) and the empirical skewness of some data.
Calc.Xi(xi, skewness)
a number indicating the shape parameter for the GPD.
a number indicating the sample skewness.
The inputs must be numeric and a single value.
For this function to be well defined, xi<1/3.
All parameters must be provided.
This function can be optimised to find the fitted value of the shape parameter Xi for the GPD.
# NOT RUN { data = rnorm(100) g = skewness(data) Calc.Xi(0.25,g) # }
Run the code above in your browser using DataLab