Lab4_ConfidenceIntervals

# Mean years of school completed some questions that

• Notes
• 2

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

Mean years of school completed? Some questions that can be addressed by analyzing a categorical variable in the GSS: Proportion of people who consider themselves “liberal” (NOT slightly or extremely liberal)? Proportion of people who dislike classical music very much? Proportion of those eligible who voted in the 1992 Presidential election? 2. Start by analyzing the quantitative variable. Use Stata to find the sample mean and standard deviation. You can do this by selecting typing tabstat [variablename], statistics(mean sd n) or sum [variablename] Copy and paste the command and results from the Stata results window to the appropriate place in the output sheet . 3. Record the sample mean and standard deviation, along with the sample size, in the space below. (Be sure to label in the unit of the variable.) = 13.05 years of educ, s = 3.05 years N = 1602 people 4. Now use these known characteristics of the sample to make an inference about the population (all American adults). Specifically, construct a 95% confidence interval for the population mean. Show your work in the space below. Provide a brief interpretation . c.i.= xbar +/- Zalpha/2 Ox = 13.05+/- 1.96(Sx/Squareroot(N) =13.05 +/- 1.96(3.05/40.01) =13.05+/- .1494 12.90 to 13.199 So this can be constructed that there is a 95% confident that the population mean for years in ed lies in between 12.90 and 13.199. 5. Now use Stata to construct the 95% confidence interval and check your work above. You can do this by using the mean command. If the Stata results do not match those you calculated by

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

hand, go back and figure out what is causing the discrepancy.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern