This week we are learning about ordinal/categorical, continuous, and dichotomous variables. Using the Gestation Demographics SEU dataset that is located in the tabs at the bottom of the Framingham dataset provided, perform the following problems using R Studio or Excel.

Create a simple distribution graph (histogram) where we will explore the age of women after giving birth to their first child. Remember that a histogram consists of parallel vertical bars that show the frequency distribution of a quantitative variable in the graph. See the example in *Introductory Statistics with R* on pages 71-7 or pages 123-124 in *EXCEL statistics A quick guide.* The area of each bar is equal to the frequency of items found in each class.

Determine the mean age of the women in the Gestation Demographics SEU dataset.

We will be testing the hypothesis that the mean age (? = ?0) for women is 37 years in the Gestation Demographics SEU dataset. The topic of hypothesis testing was introduced in HCM505. If you need a review see Chapter 7 of our text.

- 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. (Alternative Hypothesis)

**Expert Solution Preview**

Introduction:

In this assignment, we will be using the Gestation Demographics SEU dataset to explore the age of women after giving birth to their first child. We will create a simple distribution graph using a histogram to visualize the frequency distribution of the age variable. Additionally, we will determine the mean age of the women in the dataset and test the hypothesis that the mean age is equal to 37 years.

Answer:

To create a simple distribution graph (histogram) for the age of women after giving birth to their first child, we will use the Gestation Demographics SEU dataset. The histogram will display the frequency distribution of the age variable.

To determine the mean age of the women in the dataset, we will calculate the average of all the ages.

Finally, we will formulate the hypothesis for the mean age of women giving birth. Our null hypothesis (H0) states that the mean age is 37 years old, while our alternative hypothesis (H1) states that the mean age is not 37 years old. This hypothesis will be tested using appropriate statistical methods.

Please note that the specific steps for creating the histogram, calculating the mean age, and conducting the hypothesis test will depend on the software being used (R Studio or Excel). It is essential to refer to the appropriate documentation or resources for guidance on performing these specific tasks in the chosen software.

#Critical #thinking