Description

This week we are learning about ordinal/categorical, con nuous, and dichotomous variables. Using the Gesta on Demographics dataset provided in the Framingham Heart Study Dataset Excel workbook (look at the tabs on the lower le once you open the document in Excel), perform the following problems using R Studio or Excel.

1. Create a simple distribu on graph (histogram) where we will explore the age of women a er giving birth to their rst child. Remember that a histogram consists of parallel ver cal bars that
show the frequency distribu on of a quan ta ve variable in the graph. See the example in Introductory Sta s cs with R on pages 71-7 or pages 123-124 in EXCEL sta s cs: A quick guide. The area of each bar is equal to the frequency of items found in each class.
2. Determine the mean age of the women in the Gesta on Demographics SEU dataset.
3. We will be tes ng the hypothesis that assumes the mean age (μ = μ0) for women is 37 years in
the Gesta on Demographics SEU dataset.
H0 The mean age of women giving birth is 37 years old. (Null Hypothesis)
H1 The mean age of women giving birth is not 37 years old. (Alterna ve Hypothesis)
Present your ndings in a Word document by copying and pas ng the histogram into the document. A er your analysis, state whether you accept or reject the null hypothesis and your reasoning why. A tle page, an introduc on, a discussion where you interpret the meaning of the histogram, and a conclusion should be included. Your submission should be 3 pages to discuss and display your ndings.
Provide support for your statements with in-text cita ons from a minimum of four scholarly, peer- reviewed ar cles.

Sample Solution