Lab4_ConfidenceIntervals

# Once you have consistent results print out the

• Notes
• 2

This preview shows page 2. Sign up to view the full content.

hand, go back and figure out what is causing the discrepancy. Once you have consistent results, print out the relevant Stata output. Copy and paste the command and results from the Stata results window to the appropriate place in the output sheet, circling the confidence interval on the output . **NOTE: Stata uses a slightly different formula to calculate the SE of the mean from sample statistics (using the square root of N and the t distribution rather than N-1 and the Z). Given the size of the sample, your confidence interval may be slightly different than what Stata gives you – but you should have the same results to the third decimal. If you’re so inclined, you could re- calculate the SE using Stata’s formula and see what that gives you. 6. Now shift your attention to the categorical variable. Use Stata to find the proportion of people who fit into the category (or categories) you have decided to focus on. You can do this by typing tabulate followed by the variable’s name. Record the proportion of people in the sample who fall into that category, as well as the total sample size, in the space below. (Be sure to record this as a proportion , not a percentage.) Copy and paste the command and results from the Stata results window to the appropriate place in the output sheet. P = .6944 N = 1,597 7. Now use P to estimate π (the population proportion). Specifically, construct a 95% confidence interval for the proportion of the population that falls into the category you’re focusing on.
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