similar to: Confidence interval calculation in prop.test

Displaying 20 results from an estimated 2000 matches similar to: "Confidence interval calculation in prop.test"

2006 Oct 31
1
Confidence interval calculation in prop.test (PR#9325)
Full_Name: Richard Johnston Version: 2.4.0 OS: OS X Submission from: (NULL) (69.169.0.241) The confidence interval calculation for prop.test appears incorrect when alternative="greater" . The upper limit is always set to 1.0000. The lower limit appears to be correct. > total=c(250,250) > success=c(55,31) >
2001 Sep 24
2
confidence interval given by prop.test()
Dear R-help, > prop.test(9, 137, p=0.066) > prop.test(9, 137, p=0.05) give two different 95% confidence intervals. I thought the confidence interval calculation should be independent of testing calculations (and thus the null hypothesis)? Splus 2000 has similar problems but give slightly different answer. Using R1.3.0 on windows. Mai Zhou
2013 Apr 03
1
prop.test vs hand calculated confidence interval
Hi, This code: n=40 x=17 phat=x/n SE=sqrt(phat*(1-phat)/n) zstar=qnorm(0.995) E=zstar*SE phat+c(-E,E) Gives this result: [1] 0.2236668 0.6263332 The TI Graphing calculator gives the same result. Whereas this test: prop.test(x,n,conf.level=0.99,correct=FALSE) Give this result: 0.2489036 0.6224374 I'm wondering why there is a difference. D. -- View this message in context:
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
2011 Dec 08
1
prop.test() and the simultaneous confidence interval for multiple proportions in R
Dear list members, I want to perform in R the analysis "simultaneous confidence interval for multiple proportions", as illustrated in the article of Agresti et al. (2008) "Simultaneous confidence intervals for comparing binomial parameter", Biometrics 64, 1270-1275. If I am not wrong the R function implementing the Agresti et al. method is prop.test(). I ask an help because I
2011 Apr 05
1
Antw: Re: Confidence interval for the difference between proportions - method used in prop.test()
Dear Josh, Thanks for your help! Does your answer mean, that you agree the two methods should do the same, and what I was guessing, despite the small differences? What I prefer about ci.pd is, that the help clearly says which method is implemented, which is not the case for prop.test. But I do not know who has programmed the function. Best wishes Steffi Stefanie von Felten, PhD Statistician
2011 Dec 09
0
R: prop.test() and the simultaneous confidence interval for multiple proportions in R
Hello, is there anyone who has some ideas about the problem I posted? Help! [[alternative HTML version deleted]]
2003 Apr 18
2
prop.test confidence intervals (PR#2794)
Full_Name: Robert W. Baer, Ph.D. Version: 1.6.2 OS: Windows 2000 Submission from: (NULL) (198.209.172.106) Problem: prop.test() does not seem to produce appropriate confidence intervals for the case where the vector length of x and n is one. (I am not certain about higher vector lengths.) As an example, I include x=6 and n=42 which has a mean proportion of 0.115. When I calculate the 95% CI
2010 Feb 17
2
extract the data that match
Hi r-users,   I would like to extract the data that match.  Attached is my data: I'm interested in matchind the value in column 'intg' with value in column 'rand_no' > cbind(z=z,intg=dd,rand_no = rr)             z  intg rand_no    [1,]  0.00 0.000   0.001    [2,]  0.01 0.000   0.002    [3,]  0.02 0.000   0.002    [4,]  0.03 0.000   0.003    [5,]  0.04 0.000   0.003    [6,] 
2001 Jun 07
3
Diag "Hat" matrix
Hi R users: What is the difference between in the computation of the diag of the "hat" matrix in: "lm.influence" and the matrix operations with "solve()" and "t()"? I mean, this is my X matrix x1 x2 x3 x4 x5 [1,] 0.297 0.310 0.290 0.220 0.1560 [2,] 0.360 0.390 0.369 0.297 0.2050 [3,] 0.075 0.058 0.047 0.034 0.0230 [4,] 0.114 0.100
2007 Mar 18
1
HELP...Running data
We are two french students and we have a problem concerning an exercize. We don't know how to resolve it. It would be fantastic if someone can help us. Thanks. Description: This study examined how the metabolic cost of locomotion varied with speed, stride frequency and body mass. Cost was determined by measuring oxygen consumption (?vo2?), analyzing the oxygen content in air inhaled and
2013 Apr 07
0
Confidence Interval Calculation
Hello, I have the following r-codes for solving a quasilikelihood estimating equation: >library(geepack) >fit<-geese(y~x1+x2+x3,jack=TRUE,scale.fix=TRUE,data=dat,mean.link = "logit", corstr="independence") Now my question is how can I calculate the confidence interval of the parameters of the above model "fit"? [[alternative HTML version deleted]]
2012 Sep 25
1
calculation of diversity confidence interval
Dear R-help members. Maybe this is not the right platform to ask this, but I'm looking desperately for a test which is calculating confidence intervals from diversity measurements (non-normaly distributed) (fishers alpha diversity). I was checking the package "vegan" but there seems to be nothing useful. Does anyone of you know with what package I easily could calculate such a
2013 Apr 07
1
confidence interval calculation for gee
Hello, I have the following r-codes for solving a quasilikelihood estimating equation: >library(geepack) >fit<-geese(y~x1+x2+x3,jack=TRUE,id=id,scale.fix=TRUE,data=dat,mean.link = "logit", corstr="independence") Now my question is how can I calculate the confidence interval of the parameters of the above model "fit"? [[alternative HTML version deleted]]
2010 Jun 18
0
Confidence interval calculation for intersection of two quadratic lines
How do I calculate the confidence interval for the value x given by the intersection of two quadratics (i.e. parabolas)? I fit two quadratics of the form: y = C1 + B1*x + A1*x^2 y = C2 + B2*x + A2*x^2 to two sets of points N1 and N2. I test for whether they intersect, if they do then I calculate the roots of: 0 = (C1 - C2) + (B1 - B2)*x + (A1 - A2)*x^2 to determine where they intersect
2005 Jul 08
2
extract prop. of. var in pca
Dear R-helpers, Using the package Lattice, I performed a PCA. For example pca.summary <- summary(pc.cr <- princomp(USArrests, cor = TRUE)) The Output of "pca.summary" looks as follows: Importance of components: Comp.1 Comp.2 Comp.3 Comp.4 Standard deviation 1.5748783 0.9948694 0.5971291 0.41644938 Proportion of Variance 0.6200604
2008 Dec 16
1
pwr.prop.test and continuity correction
Hi, I am trying to sort out a discrepancy between power calculations results between me and another statistician. I use R but I am not sure what she uses. It is on the proportions test and so I have been using pwr.prop.test. I think I have tracked the problem down to pwr.prop.test not using the continuity correction for the test (I did this by using the java applet from
2007 Feb 01
1
prop.test.Rd References patch
Hi all, Presuming that my reply on r-help this morning was correct, attached is a patch file against the current svn trunk version of prop.test.Rd to add the references for the methods. Any corrections are welcome. Regards, Marc Schwartz
2009 Aug 13
1
prop.test() - need algorithm or reference
Preparing a paper for a medical journal. Using the prop.test() function in R (v2.4.0) to compare two groups' response to data like the following. A sample of 100 individuals from Population I, 18 with positive readings from a certain test, vs. A sample of 148 individuals from Population II, 61 with positive readings. Results look like this: R version 2.4.0 Patched (2006-11-25
2013 Mar 27
2
prop.test correct true and false gives same answer
All, How come both of these are the same. Both say "1-sample proportions test without continuity correction." I would suspect one would say "without" and one would say "with." > prop.test(118,236,.5,correct=FALSE,conf.level=0.95) 1-sample proportions test without continuity correction data: 118 out of 236, null probability 0.5 X-squared = 0, df = 1,