03352 ounces c sdweight HabitNonSmoker data NCbirths Find the standard

03352 ounces c sdweight habitnonsmoker data ncbirths

This preview shows page 2 - 4 out of 5 pages.

The standard deviation of the weights of babies born to smoking mothers is 20.03352 ounces. (c) sd(weight ~ Habit=="NonSmoker", data = NCbirths) # Find the standard deviation of th e weights of babies born to non-smoking mothers from the NCbirths data frame ## FALSE TRUE ## 20.08900 20.29014 The standard deviation of the weights of babies born to non-smoking mothers is 20.29014 ounces. Question 7 Page 3 of 7 8/19/19, Lab 2 5.41 PM Births <- NCbirths[NCbirths$Habit != "",] # Assign the NCbirths data of smoker/non-s moker mothers the name "Births" histogram(~weight|Habit, data=Births) # Create histograms that show the proportion o f babies' weights for smoking and non-smoking mothers Page 4 of 7 Question 8 mean(weight ~ Habit, data = Births) # Find the mean of the weights of babies from sm oking and non- smoking mothers ## NonSmoker Smoker ## NaN 116.8416 108.4225 The birth weight of babies born to smoking mothers does di ff er from those born to non- smoking mothers. As seen in the histograms, the mean (center) weight of the babies born to
Image of page 2
smoking mothers (108.44225 ounces) is lower than those born to non-smoking mothers (116.8416 ounces). 8/19/19, Lab 2 5.41 PM Question 9 This conclusion that babies born to smoking mothers have lower weights than those born to non-smoking mothers can be extended to the population of NCbirths (specifically the babies from North Carolina state) since these conclusions were made using the NCbirths data. We do not have data of other populations to allow us to make the same conclusion.
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 5 pages?

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

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors