Find the 99% confidence interval (Interval and test for proportion)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I have the following question and I am getting different results from a friend (I think he forgot to halve $ alpha $). Problem is:



A random sample of 100 students from a large school was taken. It was found 38 went on a trip last month, 62 had not. Obtain a 99% confidence interval for the proportion of students who went on a trip last month.



Solution:



$$ N=100, X=38$$
$$hatp = XoverN$$
$$ hatp pm z_alpha/2 sqrthatp(1-hatp)overN$$



I then take $z_alpha/2$ from the t-table corresponding to $alpha = 0.005$ and $n=infty$ which is 2.576. Is this correct?



Therefore, I get the interval of (0.255, 0.505).







share|cite|improve this question





















  • What is the result of your friend?
    – callculus
    4 hours ago











  • After I´ve made my own calculation I got the same result like you. Therefore it is correct :) The bounds are $0.38pm 2.576cdot sqrtfrac0.62cdot 0.38100$
    – callculus
    4 hours ago











  • The results are here
    – callculus
    4 hours ago










  • @callculus he didn't halve $alpha$ so he used $z=1.96$
    – s5s
    4 hours ago










  • That´s indeed not right, since it is a two sided interval. But you are right.
    – callculus
    4 hours ago














up vote
2
down vote

favorite












I have the following question and I am getting different results from a friend (I think he forgot to halve $ alpha $). Problem is:



A random sample of 100 students from a large school was taken. It was found 38 went on a trip last month, 62 had not. Obtain a 99% confidence interval for the proportion of students who went on a trip last month.



Solution:



$$ N=100, X=38$$
$$hatp = XoverN$$
$$ hatp pm z_alpha/2 sqrthatp(1-hatp)overN$$



I then take $z_alpha/2$ from the t-table corresponding to $alpha = 0.005$ and $n=infty$ which is 2.576. Is this correct?



Therefore, I get the interval of (0.255, 0.505).







share|cite|improve this question





















  • What is the result of your friend?
    – callculus
    4 hours ago











  • After I´ve made my own calculation I got the same result like you. Therefore it is correct :) The bounds are $0.38pm 2.576cdot sqrtfrac0.62cdot 0.38100$
    – callculus
    4 hours ago











  • The results are here
    – callculus
    4 hours ago










  • @callculus he didn't halve $alpha$ so he used $z=1.96$
    – s5s
    4 hours ago










  • That´s indeed not right, since it is a two sided interval. But you are right.
    – callculus
    4 hours ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have the following question and I am getting different results from a friend (I think he forgot to halve $ alpha $). Problem is:



A random sample of 100 students from a large school was taken. It was found 38 went on a trip last month, 62 had not. Obtain a 99% confidence interval for the proportion of students who went on a trip last month.



Solution:



$$ N=100, X=38$$
$$hatp = XoverN$$
$$ hatp pm z_alpha/2 sqrthatp(1-hatp)overN$$



I then take $z_alpha/2$ from the t-table corresponding to $alpha = 0.005$ and $n=infty$ which is 2.576. Is this correct?



Therefore, I get the interval of (0.255, 0.505).







share|cite|improve this question













I have the following question and I am getting different results from a friend (I think he forgot to halve $ alpha $). Problem is:



A random sample of 100 students from a large school was taken. It was found 38 went on a trip last month, 62 had not. Obtain a 99% confidence interval for the proportion of students who went on a trip last month.



Solution:



$$ N=100, X=38$$
$$hatp = XoverN$$
$$ hatp pm z_alpha/2 sqrthatp(1-hatp)overN$$



I then take $z_alpha/2$ from the t-table corresponding to $alpha = 0.005$ and $n=infty$ which is 2.576. Is this correct?



Therefore, I get the interval of (0.255, 0.505).









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited 3 hours ago
























asked 5 hours ago









s5s

18516




18516











  • What is the result of your friend?
    – callculus
    4 hours ago











  • After I´ve made my own calculation I got the same result like you. Therefore it is correct :) The bounds are $0.38pm 2.576cdot sqrtfrac0.62cdot 0.38100$
    – callculus
    4 hours ago











  • The results are here
    – callculus
    4 hours ago










  • @callculus he didn't halve $alpha$ so he used $z=1.96$
    – s5s
    4 hours ago










  • That´s indeed not right, since it is a two sided interval. But you are right.
    – callculus
    4 hours ago
















  • What is the result of your friend?
    – callculus
    4 hours ago











  • After I´ve made my own calculation I got the same result like you. Therefore it is correct :) The bounds are $0.38pm 2.576cdot sqrtfrac0.62cdot 0.38100$
    – callculus
    4 hours ago











  • The results are here
    – callculus
    4 hours ago










  • @callculus he didn't halve $alpha$ so he used $z=1.96$
    – s5s
    4 hours ago










  • That´s indeed not right, since it is a two sided interval. But you are right.
    – callculus
    4 hours ago















What is the result of your friend?
– callculus
4 hours ago





What is the result of your friend?
– callculus
4 hours ago













After I´ve made my own calculation I got the same result like you. Therefore it is correct :) The bounds are $0.38pm 2.576cdot sqrtfrac0.62cdot 0.38100$
– callculus
4 hours ago





After I´ve made my own calculation I got the same result like you. Therefore it is correct :) The bounds are $0.38pm 2.576cdot sqrtfrac0.62cdot 0.38100$
– callculus
4 hours ago













The results are here
– callculus
4 hours ago




The results are here
– callculus
4 hours ago












@callculus he didn't halve $alpha$ so he used $z=1.96$
– s5s
4 hours ago




@callculus he didn't halve $alpha$ so he used $z=1.96$
– s5s
4 hours ago












That´s indeed not right, since it is a two sided interval. But you are right.
– callculus
4 hours ago




That´s indeed not right, since it is a two sided interval. But you are right.
– callculus
4 hours ago










1 Answer
1






active

oldest

votes

















up vote
2
down vote













Your computation is correct for the type of confidence interval you are using.
However, this kind of confidence interval is known not to provide the
promised level of confidence, in your case 99%.



An improved "Agresti-Coull" 99% confidence interval uses $check p = (X+.5c^2)/(n+c^2),$
where $X$ is the number of successes in $n$ trials, and $c = 2.576.$
Then the CI is
$$ check p pm csqrtfraccheck p(1- check p)n+c^2.$$
Then, for your data, $check p = 0.3875$ and the 99% CI is
$( 0.266, .509).$



For very large $n$ (say $n ge 1000$) the difference between the two types of CIs disappears. For more on binomial confidence intervals see this Q & A and its References.






share|cite|improve this answer























    Your Answer




    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2873238%2ffind-the-99-confidence-interval-interval-and-test-for-proportion%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    Your computation is correct for the type of confidence interval you are using.
    However, this kind of confidence interval is known not to provide the
    promised level of confidence, in your case 99%.



    An improved "Agresti-Coull" 99% confidence interval uses $check p = (X+.5c^2)/(n+c^2),$
    where $X$ is the number of successes in $n$ trials, and $c = 2.576.$
    Then the CI is
    $$ check p pm csqrtfraccheck p(1- check p)n+c^2.$$
    Then, for your data, $check p = 0.3875$ and the 99% CI is
    $( 0.266, .509).$



    For very large $n$ (say $n ge 1000$) the difference between the two types of CIs disappears. For more on binomial confidence intervals see this Q & A and its References.






    share|cite|improve this answer



























      up vote
      2
      down vote













      Your computation is correct for the type of confidence interval you are using.
      However, this kind of confidence interval is known not to provide the
      promised level of confidence, in your case 99%.



      An improved "Agresti-Coull" 99% confidence interval uses $check p = (X+.5c^2)/(n+c^2),$
      where $X$ is the number of successes in $n$ trials, and $c = 2.576.$
      Then the CI is
      $$ check p pm csqrtfraccheck p(1- check p)n+c^2.$$
      Then, for your data, $check p = 0.3875$ and the 99% CI is
      $( 0.266, .509).$



      For very large $n$ (say $n ge 1000$) the difference between the two types of CIs disappears. For more on binomial confidence intervals see this Q & A and its References.






      share|cite|improve this answer

























        up vote
        2
        down vote










        up vote
        2
        down vote









        Your computation is correct for the type of confidence interval you are using.
        However, this kind of confidence interval is known not to provide the
        promised level of confidence, in your case 99%.



        An improved "Agresti-Coull" 99% confidence interval uses $check p = (X+.5c^2)/(n+c^2),$
        where $X$ is the number of successes in $n$ trials, and $c = 2.576.$
        Then the CI is
        $$ check p pm csqrtfraccheck p(1- check p)n+c^2.$$
        Then, for your data, $check p = 0.3875$ and the 99% CI is
        $( 0.266, .509).$



        For very large $n$ (say $n ge 1000$) the difference between the two types of CIs disappears. For more on binomial confidence intervals see this Q & A and its References.






        share|cite|improve this answer















        Your computation is correct for the type of confidence interval you are using.
        However, this kind of confidence interval is known not to provide the
        promised level of confidence, in your case 99%.



        An improved "Agresti-Coull" 99% confidence interval uses $check p = (X+.5c^2)/(n+c^2),$
        where $X$ is the number of successes in $n$ trials, and $c = 2.576.$
        Then the CI is
        $$ check p pm csqrtfraccheck p(1- check p)n+c^2.$$
        Then, for your data, $check p = 0.3875$ and the 99% CI is
        $( 0.266, .509).$



        For very large $n$ (say $n ge 1000$) the difference between the two types of CIs disappears. For more on binomial confidence intervals see this Q & A and its References.







        share|cite|improve this answer















        share|cite|improve this answer



        share|cite|improve this answer








        edited 4 hours ago


























        answered 4 hours ago









        BruceET

        33k61439




        33k61439






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2873238%2ffind-the-99-confidence-interval-interval-and-test-for-proportion%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?