I have to program this in some environment so I won't be able to access other softwares.
Let's say I've got some 50 numbers that is more or less skewed to one side. If we are to assume that it is like a normal distribution, there's a handy equation that simply calculates the standard deviation, and that would already be the 34.1% interval from the median.
I would like to calculate the interval from the median of the skew normal distribution model fitted to my data, 25% or 34.1% it doesn't matter, just something similar. How exactly should I program to calculate that given my set of data? I am basically trying to get an asymmetrical interval out of this.
Thanks in advance.
qsn
function in thesn
R-package, see github.com/cran/sn/blob/master/R/sn-funct.R $\endgroup$