{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Assignment+4-sol - Assignment 4 Problem 1 a The sample...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 4 Problem 1. a) The sample proportion of people suffered from heart disease for the the smoker group is 3393 . 0 56 19 ˆ 1 = = p . The sample proportion of people suffered from heart disease for the the non-smoker group is 1736 . 0 144 25 ˆ 2 = = p . b) Let p 1 and p 2 be the proportions of people suffered from heart disease for the smokers and non-smokers respectively. 0 : 2 1 = - p p H a vs 0 : 2 1 - p p H a Test Statistic + - - = 2 1 2 1 1 1 ) ˆ 1 ( ˆ ˆ ˆ n n p p p p Z where 22 . 0 200 44 ˆ = = p 05 . 0 645 . 1 5396 . 2 144 1 56 1 ) 22 . 0 1 ( 22 . 0 1736 . 0 3393 . 0 z = = + - - = H 0 is rejected at 5% level of significant. There is sufficient evidence that smokers have a higher incidence of heart disease than nonsmokers. c) p-value = Pr(Z>2.5396) =0.5 0.4945 = 0.0055 d) 1 . 0 : 2 1 = - p p H a vs 1 . 0 : 2 1 - p p H a Test Statistic ( 29 ( 29 645 . 1 9288 . 0 144 ) 1736 . 0 1 ( 1736 . 0 56 ) 3393 . 0 1 ( 3393 . 0 1 . 0 1736 . 0 3393 . 0 ) ˆ 1 ( ˆ ) ˆ 1 ( ˆ 1 . 0 ˆ ˆ 2 2 2 1 1 1 2 1 / = - + - - - = - + - - - = n p p n p p p p Z H 0 is not rejected at 5% level of significant. This is not sufficient evidence to say the
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern