Using R, calculate the mean and standard deviation for age of first period for this sample of women.

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.3: Measures Of Spread
Problem 1GP
icon
Related questions
Question

working with a subset of a Female Reproductive Health Survey (Female RHS)
provided in the folder for final assignment. This dataset consists of a sample of female who
participated in the RHS in a selected Caribbean country. You will also need to use the document,
Sample questions for Female RHS. This document has selected questions as they appeared on
the questionnaire that was administered to collect data on reproductive health of women in a
selected Caribbean country. 

copy and paste your R codes 

. Data analysis must be done using R

 

 

The following are selected questions from a Female Reproductive Health Survey in a Caribbean
Island.
Q102. How old were you on your last birthday? ……………..
Q104. How many years did you attend school, not including years spent in infant and basic
school? ……….
Q105. With what frequency do you attend religious services?
1. At least once per week
2. At least once per month
3. Less than a month
4. Only for special occasions (weddings, funerals, christening)
5. Does not attend at all
Q106. What were you doing in the past week?
1. Working
2. Not working but had a job
3. Looking for work
4. Wanted work and was available
5. Keeping house
6. Going to school
7. On vacation from school
8. At home, not keeping house
9. Incapable of work
Q108. How many hours do you usually work per week? ……….
Q114. How many rooms does your household occupy (excluding bathroom and kitchen)? ………
Q201. Are you currently legally married?
1. Yes
2. No
Q301. How old were you when your first period (menstruation) started? ……..
Q303. How old were you when you had your first sexual intercourse? ………
Q309. Have you ever been pregnant?
1. Yes
2. NO
3. Not applicable
Q400. In general, how is your health?
1. Excellent
2. Very good
3. Fair
4. Poor
Q404. How long has it been since you had your last Pap smear, if any?
1. Never had one
2. Less than one year
3. 1 year, less than 2 years
4. 2 to 3 years
5. 3 or more years
Q416A. During the past 12 months, how often have you had drinks containing alcohol?
1. Never
2. 1-2 drinks in 12 months
3. Several times in 12 months
4. About once per month
5. About once per week
6. Almost every day
8. Does not remember/ refused
Q808. If you could choose exactly the number of children to have in your whole life, how many
will that be? ………
Q1033. How much of a risk do you think you personally have of getting HIV/AIDS?
1. Great risk
2. Moderate risk
3. Little risk
4. No risk at all
8. Does not know
Q1036. How much of a risk would do you think you personally have of getting other STDs?
1. Great risk
2. Moderate risk
3. Little risk
4. No risk at all
8. Does not know

 

 

Respondent Q108 Q201 Q301 Q303 Q400 Q404 Q416A
1 25 2 12 17 2 2 2
2 0 2 12 16 1 2 3
3 15 2 12 18 1 3 1
4 50 2 10 28 3 1 1
5 0 2 12 16 3 1 1
6 68 2 14 15 4 3 3
7 0 2 17 20 2 5 2
8 54 1 13 16 2 5 1
9 0 2 15 16 1 5 3
10 40 1 12 19 1 2 1
11 42 2 15 15 3 5 1
12 0 2 12 16 1 1 1
13 17 2 12 16 1 1 1
14 0 2 12 15 2 1 1
15 22 2 13 19 2 1 1
16 43 2 13 19 1 5 1
17 42 2 13 15 3 1 4
18 34 2 10 15 2 1 4
19 20 2 16 16 2 5 3
20 40 2 12 22 2 1 1
21 15 2 12 14 2 1 1
22 40 2 14 15 2 3 1
23 54 2 12 17 2 1 3
24 60 1 16 16 2 3 3
25 40 2 11 16 1 3 2
26 40 2 13 18 1 3 6
27 35 1 88 13 1 5 1
28 0 2 13 16 2 4 2
29 25 2 14 15 2 5 1
30 0 2 13 16 2 1 2
31 60 2 14 18 2 1 8
32 78 2 12 18 2 1 2
33 0 2 15 17 2 1 2
34 0 2 13 14 2 1 3
35 0 2 12 15 3 5 3
36 42 1 11 16 1 3 1
37 48 2 15 15 2 5 3
38 0 2 13 11 2 5 3
39 40 2 13 18 2 4 3
40 48 2 12 16 2 2 3
41 45 2 12 0 2 1 3
42 21 2 11 27 2 3 1
43 0 1 13 13 3 4 1
44 60 2 14 15 2 1 1
45 72 2 15 13 2 1 1
46 0 2 12 17 3 2  
47 40 2 10 15 3 2 8
48 0 2 10 14 3 1 2
49 0 2 10 18 3 5 1
50 0 2 10 13 3 2 1
51 40 2 13 18 2 5 1
52 0 2 14 15 2 5 1
53 0 2 11 10 2 2 1
54 0 2 12 19 3 5 1
55 0 2 10 18 3 5 1
56 40 2 11 17 3 4 1
57 0 2 13 13 3 1 1
58 40 2 12 18 3 2 3
59 60 2 11 16 2 2 1
60 0 2 16 15 2 5 1
61 0 2 13 15 2 4 1
62 0 2 12 17 2 2 2
63 40 2 12 16 2 1 1
64 40 2 9 15 3 5 1
65 0 2 12 17 2 5 1
66 0 2 13 23 2 1 1
67 40 2 12 12 1 2 3
68 40 2 10 17 1 1 1
69 40 2 13 19 2 2 1
70 0 2 11 13 2 1 2
71 0 2 11 16 2 1 1
72 40 2 10 20 2 2 1
73 40 2 14 19 2 2 1
74 0 2 13 21 3 3 1
75 10 2 11 88 2 3 1
76 0 1 16 22 2 3 1
77 24 2 15 18 2 2 1
78 0 2 13 16 2 3 1
79 40 2 14 17 2 5 4
80 8 2 12 16 3 3 3
81 8 2 10 18 1 2 2
82 40 2 13 21 1 1 1
83 40 2 13 19 2 2 1
84 48 1 12 15 2 2 1
85 0 2 11 11 3 1 1
86 48 1 13 16 1 1 1
87 0 2 12 19 2 1 1
88 0 2 11 13 3 2 1
89 21 2 11 14 3 4 1
90 15 2 13 15 2 1 1
91 24 2 14 17 2 2 1
92 38 2 14 17 2 2 1
93 0 2 15 16 2 1 1
94 72 2 13 17 3 3 1
95 40 1 12 30 2 2 1
96 25 1 12 15 3 3 5
97 40 1 15 16 3 3 1
98 40 1 14 19 2 1 1
99 40 2 17 20 1 5 1
100 0 2 15 16 2 1 1
101 40 2 12 24 1 5 1

7. Using R, calculate the mean and standard deviation for age of first period for this sample
of women.

 

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt