Test for Proportions: Two Samples & CI

  • Thread starter Thread starter axnman
  • Start date Start date
  • Tags Tags
    Test
axnman
Messages
14
Reaction score
0
Test and CI for Two Proportions

Sample X N Sample p
1 3 839 0.003576
2 20 1662 0.012034


Difference = p (1) - p (2)
Estimate for difference: -0.00845801
95% upper bound for difference: -0.00290435
Test for difference = 0 (vs < 0): Z = -2.51 P-Value = 0.006

Fisher's exact test: P-Value = 0.025



Cannot understand how the value for upperbound and z, p value were obtained...Fisher's exact test value too? Was checking answer for a problem...and this is given with no explanatations...could anyone please ellaborate? am trying meanwhile

Thanks
 
Physics news on Phys.org
So far I only looked at the upper bound

The following formulas were used

\hat{p_{1}} = 0.003575685, \hat{p_{2}} = 0.012033694 \Rightarrow \hat{p_{1}} - \hat{p_{2}} = -0.008458009

SE_{1} = \sqrt{\frac{\hat{p_{1}} (1 - \hat{p_{1}})}{N_{1}}} = 0.002060729

and

SE_{2} = \sqrt{\frac{\hat{p_{2}} (1 - \hat{p_{2}})}{N_{2}}} = 0.002674577<br />

Therefore

SE_{Total} = \sqrt{SE^{2}_{1} + SE^{2}_{2}} = 0.003376383

And finally upper CI is

\hat{p_{1}} - \hat{p_{2}} + 1.645 \cdot SE_{Total} = -0.002903859
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top