On Mon, 24 Sep 2001 mai at ms.uky.edu wrote:
I think the confidence interval are those values of the parameter that have a large P-value, so independent of the specific null hypothesis that we are testing. i.e. we can construct a conf. int. from data without doing a test. The fact that we (later) also want a test should not change the calculation of the confidence interval.
OK. You are so right! It's too late to work! It happens because Yates' continuity correction is used, which can be turned off: prop.test(..., correct=FALSE) [BTW: The same in S-Plus] Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._