Q104. How many years did you attend school, not including years spent in infant and basic school?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

This dataset consists of a sample of female whoparticipated in the RHS in a selected Caribbean country.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. 

use R only for data analysis and copy r codes

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

10. Using R, calculate the mean and standard deviation for the number of hours worked by
female in this sample

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman