I have a dataset, which I assume has a weibull distribution :
vec <- c(90, 10, 60, 186, 61, 49, 14, 24, 56, 20, 79, 84,
44, 59, 29, 118, 25, 156, 310, 76, 26, 44, 23, 62,
130, 208, 70, 101, 208)
and want to know how to calculate the Confidence Interval for parameters scale
and shape
using a chi-squared test.
I have calculated alpha(=scale). I also know how to just extract Confidence Interval from the packages such as fitdistrplus
. I know the formula for Confidence Interval is
D(a) = 2[log L(a_hat) − log L(a)] ≤ χ2(α)
but I don't know how this formula works. Can somebody help?
a
$\endgroup$R
code. $\endgroup$