Testing Data compare-prop2

 25 July 02:23   A active archetype from the 2004 American Presidential Chase follows. It should be bright that the best of poll and who is arch is extraneous to the presentation of the concepts. According to an October 2nd Poll by ([http://www.msnbc.msn.com/id/6159637/site/newsweek/ link]), 47% of 1,013 registered would vote for / if the acclamation were captivated today. 45% would vote for /, and 2% would vote for /.

    ::=sqrt(A1

    ::=normdist((A1-B1),0,A2,1)

    The aloft argument ability be abundant to do the all-important calculation, it doesnt accord to the compassionate of the statistical analysis involved. Abundant too generally humans anticipate statistics is a amount of adding with circuitous formulas.

    So actuality is the problem:

    Let p be the citizenry atom of the registered voters who vote for Kerry and q additionally for Bush. In a poll n = 1013 respondents are asked to accompaniment their choice. A amount of K respondents says to accept Kerry, a amount B says to vote for Bush. K and B are accidental variables. The empiric ethics for K and B are resp. k and b (numbers). So k/n is an appraisal of p and b/n an appraisal of q. The accidental variables K and B chase a trinomial administration with ambit n, p, q and 1-p-q. Will Kerry be advanced of Bush? That is to say: wiil p > q? To investigate this we accomplish a statistical test, with absent hypothesis:

    :, H_0: p = q

    against the alternative

    :, H_1: p > q.

    What is an adapted analysis accomplishment T? We take:

    :, T=K-B.

    (In the aloft adding T=frac Kn - frac Bn = fracn is taken, which leads to the aforementioned calculation.)

    We accept to accompaniment the administration of T beneath the absent hypothesis. We may accept T is about commonly distributed.

    It is absolutely accessible that its apprehension beneath H0 is:

    :, E_0T = 0.

    Its about-face beneath H0 is not as obvious.

    :, var_0(T) = var(K-B) = var(K) + var(B) - 2cov(K,B) = np(1-p) + nq(1-q) + 2npq .

    We almost the about-face by using the sample fractions instead of the citizenry fractions:

    :var_0(T) approx 1013 imes 0.47(1-0,46) + 1013 imes 0.45(1-0.45) + 2 imes 1013 imes 0,47 imes0.45 approx 931

    .

    The accepted aberration s will about be:

    :, s = sqrt approx sqrt = 30.5 .

    In the sample we accept begin a amount t = k - b = (0.47-0.45)1013 = 20.26 for T.

    We will adios the absent antecedent in favour of the another for ample ethics of T. So the catechism is: is 20.26 to be advised a ample amount for T? The archetype will be the so alleged p-value of this outcome:

    :, p-value = P(Tge t; H_0) = P(Tge 20.26; H_0) = P(Zge frac) = 1-Phi(0.67) = 0.25.

    This is a actual ample p-value, so there is no cause whatsoever to adios the absent hypothesis.

    

 


Tags: testing, calculation, hypothesis

 value, calculation, hypothesis, large, 1013 imes, frac, kerry, approx, , vote for, null hypothesis, data compare prop2, testing data compare,

Share Testing Data compare-prop2: Digg it!   Google Bookmarks   Del.icio.us   Yahoo! MyWeb   Furl  Binklist   Reddit!   Stumble Upon   Technorati   Windows Live   Bookmark

Text link code :
Hyper link code:

Also see ...

Permalink
Article In : Reference & Education  -  Mathematics