What the heck? [General Sta­tis­tics]

posted by Helmut Homepage – Vienna, Austria, 2012-12-05 19:41 (4942 d 09:16 ago) – Posting: # 9676
Views: 10,233

Dear Detlew!

❝ Above alpha ~0.5545 the confidence interval does not cover the point estimate. This is astonishing to me and fascinating, because in my belief the point estimate was always bracketed by a confidence interval.

❝ Is this correct? Or is there a hidden bug? The latter I can't imagine because the calculation is simple enough.


What’s going on here? I always followed blindly Chow & Liu (Chapter 7); calculated a two-sided interval and used only the upper limit. I tried not to fall in the trap of using your code (which is fine, IMHO), but recalculated an example (the famous Clayton & Leslie data set from Table 6.9.1). Straightforward analysis in log-scale, SSintra 4.94398, MSintra 0.308999, 16 df). Now the confusion starts already. For CVintra I get 0.601715. They write

“The estimated CV is about 36.55%…”

I beg your pardon? Do they mean CVinter? No, that would be 0.334785. Anyhow, maybe just another typo.*
I’m using their symbols.

alpha   <- 0.05
n1      <- 9; n2 <- 9
df      <- n1+n2-2
MSintra <- 0.308999
CVintra <- sqrt(exp(MSintra)-1)
SSintra <- MSintra*df
Chi2L   <- qchisq(alpha/2, df)
Chi2U   <- qchisq(1-alpha/2, df)
Le      <- SSintra/Chi2U
Ue      <- SSintra/Chi2L
cat("(",round(Le,2),",",round(Ue,2),")\n")

0.17 – 0.72 agrees with their Table 7.3.1. But this is the 95% CI of σ²e and we want the CI of CVintra. Therefore

CVL <- sqrt(exp(Le)-1)
CVU <- sqrt(exp(Ue)-1)
cat("alpha",alpha,":",round(CVL,4),"]", round(CVintra,4),"[",round(CVU,4),"\n")
alpha 0.05 : 0.4324 ] 0.6017 [ 1.0226

Fine.
Give it a try with alpha <- 0.9065 :confused:



Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,654 posts in 4,992 threads, 1,571 registered users;
153 visitors (0 registered, 153 guests [including 23 identified bots]).
Forum time: 05:57 CEST (Europe/Vienna)

“Data! Data! Data!” he cried impatiently.
“I can’t make bricks without clay!”    Arthur Conan Doyle

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5