Chat with us, powered by LiveChat 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 bot - Writingforyou

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 bot

 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 

  1. 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.
  2. Determine the mean age of the women in the Gestation Demographics SEU dataset.
  3. 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:

  • 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.
  • Your submission should be 4 pages to discuss and display your findings.
  • Provide support for your statements with in-text citations from a minimum of two scholarly, peer-reviewed articles. One of these sources may be from the class readings, textbook, or lectures, but the others must be external. 
  • Follow APA 7th edition  

.You are strongly encouraged to submit all assignments to the Originality Check prior to submitting them to your instructor for grading. 

Framingham Heart Study

Framingham Heart Study
SEX RANDID TOTCHOL AGE SYSBP DIABP CURSMOKE CIGPDAY BMI DIABETES BPMEDS HEARTRTE GLUCOSE PREVCHD PREVAP PREVMI PREVSTRK PREVHYP TIME PERIOD HDLC LDLC DEATH ANGINA HOSPMI MI_FCHD ANYCHD STROKE CVD HYPERTEN TIMEAP TIMEMI TIMEMIFC TIMECHD TIMESTRK TIMECVD TIMEDTH TIMEHYP
1 2448 195 39 106 70 0 0 26.97 0 0 80 77 0 0 0 0 0 0 1 0 0 1 1 1 0 1 0 8766 6438 6438 6438 8766 6438 8766 8766
1 2448 209 52 121 66 0 0 0 0 69 92 0 0 0 0 0 4628 3 31 178 0 0 1 1 1 0 1 0 8766 6438 6438 6438 8766 6438 8766 8766
2 6238 250 46 121 81 0 0 28.73 0 0 95 76 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 8766 8766 8766 8766 8766 8766 8766 8766
2 6238 260 52 105 69.5 0 0 29.43 0 0 80 86 0 0 0 0 0 2156 2 0 0 0 0 0 0 0 0 8766 8766 8766 8766 8766 8766 8766 8766
2 6238 237 58 108 66 0 0 28.5 0 0 80 71 0 0 0 0 0 4344 3 54 141 0 0 0 0 0 0 0 0 8766 8766 8766 8766 8766 8766 8766 8766
1 9428 245 48 127.5 80 1 20 25.34 0 0 75 70 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 8766 8766 8766 8766 8766 8766 8766 8766
1 9428 283 54 141 89 1 30 25.34 0 0 75 87 0 0 0 0 0 2199 2 0 0 0 0 0 0 0 0 8766 8766 8766 8766 8766 8766 8766 8766
2 10552 225 61 150 95 1 30 28.58 0 0 65 103 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 2956 2956 2956 2956 2089 2089 2956 0
2 10552 232 67 183 109 1 20 30.18 0 0 60 89 0 0 0 0 1 1977 2 1 0 0 0 0 1 1 1 2956 2956 2956 2956 2089 2089 2956 0
2 11252 285 46 130 84 1 23 23.1 0 0 85 85 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 8766 8766 8766 8766 8766 8766 8766 4285
2 11252 343 51 109 77 1 30 23.48 0 0 90 72 0 0 0 0 0 2072 2 0 0 0 0 0 0 0 1 8766 8766 8766 8766 8766 8766 8766 4285
2 11252 58 155 90 1 30 24.61 0 0 74 0 0 0 0 1 4285 3 0 0 0 0 0 0 0 1 8766 8766 8766 8766 8766 8766 8766 4285
2 11263 228 43 180 110 0 0 30.3 0 0 77 99 0 0 0 0 1 0 1 0 0 0 1 1 0 1 1 8766 8766 5719 5719 8766 5719 8766 0
2 11263 230 49 177 102 0 0 31.36 0 1 120 86 0 0 0 0 1 2178 2 0 0 0 1 1 0 1 1 8766 8766 5719 5719 8766 5719 8766 0
2 11263 220 55 180 106 0 0 31.17 1 1 86 81 0 0 0 0 1 4351 3 46 135 0 0 0 1 1 0 1 1 8766 8766 5719 5719 8766 5719 8766 0
2 12629 205 63 138 71 0 0 33.11 0 0 60 85 0 0 0 0 0 0 1 0 1 0 0 1 0 0 1 373 8766 8766 373 8766 8766 8766 2212
2 12629 220 70 149 81 0 0 36.76 0 0 80 98 1 1 0 0 1 2212 2 0 1 0 0 1 0 0 1 373 8766 8766 373 8766 8766 8766 2212
2 12806 313 45 100 71 1 20 21.68 0 0 79 78 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 8766 8766 8766 8766 8766 8766 8766 8679
2 12806 51 109.5 72.5 1 30 22.19 0 0 75 0 0 0 0 0 2170 2 0 0 0 0 0 0 0 1 8766 8766 8766 8766 8766 8766 8766 8679
2 12806 320 57 110 46 1 30 22.02 0 0 75 87 0 0 0 0 0 4289 3 34 286 0 0 0 0 0 0 0 1 8766 8766 8766 8766 8766 8766 8766 8679
1 14367 260 52 141.5 89 0 0 26.36 0 0 76 79 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 8766 8766 8766 8766 8766 8766 8766 0
1 14367 292 58 132 90 0