You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Further, the confidence interval calculation for appears strange for alternative = "two.sided", as it seems to use a t distribution between line 34 and 41.
Thanks for that. The qt/xstat code is indeed bullshit and some historical phantom code. I dismissed it.
But I don't see, how you would like the confidence intervals to be.
From my point of view, the implementation exactly inverses the teststatistic with cint <- df * vx / c(qchisq((1 - conf.level)/2, df, lower.tail = FALSE), qchisq((1 - conf.level)/2, df))
Could you be more specific?
Hi @AndriSignorell, when testing a one-sample variance against a hypothesized population variance in VarTest(), the confidence interval appears only for the sample variance but not the ratio of sample variance to the population variance. Would you consider adding the confidence interval of the ratio based on https://stats.libretexts.org/Bookshelves/Introductory_Statistics/Book%3A_Introductory_Statistics_(OpenStax)/11%3A_The_Chi-Square_Distribution/11.07%3A_Test_of_a_Single_Variance?
Further, the confidence interval calculation for appears strange for alternative = "two.sided", as it seems to use a t distribution between line 34 and 41.
The text was updated successfully, but these errors were encountered: