Displaying 2 results from an estimated 2 matches for "newscomb".
Did you mean:
newcomb
2011 Apr 05
1
Antw: Re: Confidence interval for the difference between proportions - method used in prop.test()
...ith parentheses or any arguments,
just like:
> prop.test
> ci.pd
it will show the actual function code. It looks to me like both of
them are implemented purely in R, and without even calling any other
complex functions (at least based on a quick glance through). This
means if you have the Newscomb text, you should be able to sit down
and go through the code step by step comparing it.
Cheers,
Josh
FYI, you can use a matrix with prop.test, and then its transpose for ci.pd.
##
mymat <- cbind(Successes = c(21, 41), Failures = c(345, 345) - c(21, 41))
require(Epi)
results <- list(prop.te...
2011 Apr 05
1
Confidence interval for the difference between proportions - method used in prop.test()
Hello,
Does anyone know which method from Newcombe (1998)* is implemented in prop.test for comparing two proportions?
I would guess it is the method based on the Wilson score (for single proportion), with and without continuity correction for prop.test(..., correct=FALSE) and prop.test(..., correct=TRUE). These methods would correspond to no. 10 and 11 tested in Newcombe, respectively. Can