I would like to know how to calculate the probability of $X$ when I have fitted a Generalized Hyperbolic Distribution to my data set.
The depth of my knowledge is basic t-tests and z-tests. I am developing something in R and have followed the correct steps however don't quite understand the mathematics behind testing a value ($X$) once I know the correct distribution.
Could someone explain how I can do this please?
If it's an arduous explanation just point me to some relevant material.
Thanks, William


You can simply fit your data using one of the
fitfunction in theghpypackage, demonstrated using random data, here:a_hyp_model<-fit.ghypuv(1/(1+abs(rnorm(100,0,1))))And then you can use this to generate random observations following your "fitted" distribution (and plot it with
hist):hist(rghyp(500,a_hyp_model))For the other standard distribution functions, see
?rghyp.