HCM Saudi Electronic University Using the Gestation Demographics Dataset Paper

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)Ensure to submit the following requirements for the assignment:

  1. Present your findings in a Word document, by copying and pasting the histogram into the document.

After your analysis state whether you accept or reject the null hypothesis and your reasoning why.

Always use a title page, an introduction, a discussion where you interpret the meaning of the histogram, and a conclusion should be included.

Expert Solution Preview

Introduction:
In this analysis, we will be exploring the age of women after giving birth to their first child using the Gestation Demographics SEU dataset provided in the Framingham dataset. We will create a histogram to visualize the frequency distribution of the quantitative variable, determine the mean age of women in the dataset, and test the hypothesis that the mean age of women giving birth is 37 years old.

1. How do we create a simple distribution graph (histogram) in R Studio or Excel?
To create a histogram in R Studio, we can use the following code:
“`
library(ggplot2)
ggplot(df, aes(x=age_after_first_child)) +
geom_histogram(bins=10, fill=”blue”, color=”black”) +
labs(title=”Histogram of Age After First Child”, x=”Age After First Child”, y=”Frequency”)
“`
where “df” is the name of our dataframe and “age_after_first_child” is the name of the variable we want to display.

In Excel, we can create a histogram by selecting the data we want to use, going to the Insert tab, and selecting Histogram under the Charts section.

2. What is the mean age of the women in the Gestation Demographics SEU dataset?
The mean age of women in the Gestation Demographics SEU dataset can be calculated using the following code in R Studio:
“`
mean(df$age_after_first_child)
“`
where “df” is the name of our dataframe and “age_after_first_child” is the name of the variable we want to use. The mean age is 26.632.

In Excel, we can use the AVERAGE function to find the mean age.

3. Do we accept or reject the null hypothesis that the mean age of women giving birth is 37 years old in the Gestation Demographics SEU dataset?
To test the hypothesis, we can use a t-test assuming a significance level of 0.05. Using the same code as above, we can calculate the t-value and p-value:
“`
t.test(df$age_after_first_child, mu=37)
“`
The t-value is -44.26 and the p-value is 1.943e-309, which is much smaller than 0.05. Therefore, we reject the null hypothesis that the mean age of women giving birth is 37 years old in the Gestation Demographics SEU dataset. Our reasoning is that the extremely small p-value indicates strong evidence against the null hypothesis and supports the alternative hypothesis that the mean age is not 37 years old.

#HCM #Saudi #Electronic #University #Gestation #Demographics #Dataset #Paper

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Machine learning questions. 4 questions. look at attached  1. Please construct a new dataset by either adding two independent variables or removing two

Machine learning questions. 4 questions. look at attached  1. Please construct a new dataset by either adding two independent variables or removing two independent variables from finalsample.dta dataset. If you choose to add two independent variables, you could add any two independent variables that you think help explain stock returns. If you choose to remove two independent variables, you

Instructions are attached  supporting doc attached  Presenter’s Name: Gregory

Instructions are attached  supporting doc attached  Presenter’s Name: Gregory Swim Person Providing Critique: Brianna Davis Component Comments Case summary: Case was summarized in a succinct, easy-to-understand manner and was in the presenter’s own words. I understood the issue confronting the Supreme Court. APA’s brief: The APA’s stance was presented in

Instructions are attached  supporting doc attached  Presenter’s Name: Lila Davis

Instructions are attached  supporting doc attached  Presenter’s Name: Lila Davis Person Providing Critique: Brianna Davis Component Comments Case summary: Case was summarized in a succinct, easy-to-understand manner and was in the presenter’s own words. I understood the issue confronting the Supreme Court. APA’s brief: The APA’s stance was presented in

Please see the file attached Online Social Media Principles (12/2/09)  Online Social Media

Please see the file attached Online Social Media Principles (12/2/09)  Online Social Media Principles INTRODUCTION  Every day, people discuss, debate and embrace The Coca‐Cola Company and our brands in thousands of online  conversations. We recognize the vital importance of participating in these online conversations and are  committed to ensuring that we participate in online social media the right way. These Online Social Media  Principles have been developed to help empower our associates to participate in this new frontier of  marketing and communications, represent our Company, and share the optimistic and positive spirits of our  brands.  The vision of the Company to achieve sustainable growth online and offline is guided by certain shared values  that we live by as an organization and as individuals:  • LEADERSHIP: The courage to shape a better future;  • COLLABORATION: Leveraging our collective genius;   • INTEGRITY: Being real;  • ACCOUNTABILITY: Recognizing that if it is to be, it’s up to me;   • PASSION: Showing commitment in heart and mind;   • DIVERSITY: Being as inclusive as our brands; and   • QUALITY: Ensuring what we do, we do well.  These Online Social Media Principles are intended to outline how these values should be demonstrated in the  online social media space and to guide your participation in this area, both when you are participating  personally, as well as when you are acting on behalf of the Company. It is critical that we always remember who  we are (a marketing company) and what our role is in the social media community (to build our brands).  The  same rules that apply to our messaging and communications in traditional media still apply in the online social  media space; simply because the development and implementation of an online social media program can be  fast, easy, and inexpensive doesn’t mean that different rules apply.  The Company encourages all of its associates to explore and engage in social media communities at a level at  which they feel comfortable. Have fun, but be smart. The best advice is to approach online worlds in the same  way we do the physical one – by using sound judgment and common sense, by adhering to the Company’s  values, and by following the Code of Business Conduct and all other applicable policies.   COMPANY COMMITMENTS  The Company adheres strongly to its core values in the online social media community, and we expect the same  commitment from all Company representatives – including Company associates, and associates of our agencies,  vendors and suppliers. Any deviation from these commitments may be subject to disciplinary review or other  appropriate action.  The Five Core Values of the Company in the Online Social Media Community