3. How was the data collected?

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter4: Equations Of Linear Functions
Section: Chapter Questions
Problem 9SGR
icon
Related questions
Question
ivos c
3. How was the data collected?
Transcribed Image Text:ivos c 3. How was the data collected?
## Warning: package 'mosaic' was built under R version 4.1.2
## Registered 53 method overwritten by 'mosaic':
method
from
fortify.SpatialIPolygonsDataFrame geplot2
* The 'mosaic' package masks several functions from core packages in order t
o add
additional features.
The original behavior of these functions should not
be affected by this.
e Attaching package: 'mosaic
** The following objects are masked from "package:dplyr:
count, do, tally
## The following object is masked from 'package:Matrix':
mean
ee The following object is masked from "package:ggplot2:
##
stat
e The following objects are masked from 'package:stats':
binom.test, cor, cor.test, cov, fivenum, IQR, median, prop.test,
quantile, sd, t.test, var
** The following objects are masked from 'package:base':
max, mean, min, prod, range, sample, sum
PHELPrct
## starting httpd help server ...
done
head (HELPrct)
age anysubstatus anysub cesd di daysanysub dayslink drugrisk e2b female
#1 37
2 37
177
2
e NA
e NA
1
49 3
225
yes
yes
yes
yes
30 22
39 e
NA
365
20 NA
#3 26
4 39
189
343
1
15 2
39 12
6 1
sex gib homeless i1 12 id indtot linkstatus 1ink
4
e 1
O NA
2
57
5 32
#6 47
yes
31
365
1
1
yes
pcs p
Ss fr
1 male yes
housed 13 26 1
1 yes 25.111990 58.41369
1
39
male yes homeless 56 62 2
43
NA NA> 26.670307 36.03694
male no
housed e @3
41
no 6.762923 74, 88633
13
4 female no
housed 5 54
28
no 43.967880 61.93168
11
male no honeless 10 13S
38
1 yes 21.675755 37.34558
10
6 fenale no housed 4 4 6
5
29
e no 55.508991 46.47521
# 1 black
e 2
racegrp satreat sexrisk substance treat avg drinks max drinks
4 cocaine
alcohol
13
56
26
62
no
yes
white
no
yes
black
no
heroin
no
white
black
black
* hospitalizations
heroin
cocaine
4
yes
no
6
cocaine
10
13
4.
no
no
no
yes
3.
22
1
12
tall(HELPret)
## 452 59
NA
<NA>
11 2
NA
365
0 1
## 453 45
NA
<NA>
35 1
NA
365
0 1
##
sex gib home less 11 12 id indtot linkstatus link
448
mcs
pcs
no 25.85177 50.60834
no 41.94307 56.96868
1 yes 62.17550 57.25384
no 33.43454 40.04572
no 54.42482 53.73204
no 30.21223 43.47607
pss_fr racegrp satreat sexrisk substance treat avg_drinks max_drinks
male no home less e e 453
housed 0 @ 454
housed 13 20 455
no homeless 1 24 460
no homeless 13 13 462
no homeless 51 51 463
36
##
449
## 450
## 451 female
male
по
38
39
male no
28
## 452
male
male
26
## 453
43
## 448
5 white
4
yes
heroin
no
# 449
7
white
no
4
heroin
alcohol
2
yes
e 450
e 451
11
white
no
yes
13
20
white
no
heroin
## 452
no
1
24
black
white
e 453
ves
9
cocaine
no
13
13
11
no
4
alcohol
no
51
51
hospitalizations
## 448
## 449
1
## 450
## 451
## 452
e 453
2
1
tally(sex, data-HELPrct)
## sex
## fenale
male
107
346
bargraph(sex, data-HELPrct)
Transcribed Image Text:## Warning: package 'mosaic' was built under R version 4.1.2 ## Registered 53 method overwritten by 'mosaic': method from fortify.SpatialIPolygonsDataFrame geplot2 * The 'mosaic' package masks several functions from core packages in order t o add additional features. The original behavior of these functions should not be affected by this. e Attaching package: 'mosaic ** The following objects are masked from "package:dplyr: count, do, tally ## The following object is masked from 'package:Matrix': mean ee The following object is masked from "package:ggplot2: ## stat e The following objects are masked from 'package:stats': binom.test, cor, cor.test, cov, fivenum, IQR, median, prop.test, quantile, sd, t.test, var ** The following objects are masked from 'package:base': max, mean, min, prod, range, sample, sum PHELPrct ## starting httpd help server ... done head (HELPrct) age anysubstatus anysub cesd di daysanysub dayslink drugrisk e2b female #1 37 2 37 177 2 e NA e NA 1 49 3 225 yes yes yes yes 30 22 39 e NA 365 20 NA #3 26 4 39 189 343 1 15 2 39 12 6 1 sex gib homeless i1 12 id indtot linkstatus 1ink 4 e 1 O NA 2 57 5 32 #6 47 yes 31 365 1 1 yes pcs p Ss fr 1 male yes housed 13 26 1 1 yes 25.111990 58.41369 1 39 male yes homeless 56 62 2 43 NA NA> 26.670307 36.03694 male no housed e @3 41 no 6.762923 74, 88633 13 4 female no housed 5 54 28 no 43.967880 61.93168 11 male no honeless 10 13S 38 1 yes 21.675755 37.34558 10 6 fenale no housed 4 4 6 5 29 e no 55.508991 46.47521 # 1 black e 2 racegrp satreat sexrisk substance treat avg drinks max drinks 4 cocaine alcohol 13 56 26 62 no yes white no yes black no heroin no white black black * hospitalizations heroin cocaine 4 yes no 6 cocaine 10 13 4. no no no yes 3. 22 1 12 tall(HELPret) ## 452 59 NA <NA> 11 2 NA 365 0 1 ## 453 45 NA <NA> 35 1 NA 365 0 1 ## sex gib home less 11 12 id indtot linkstatus link 448 mcs pcs no 25.85177 50.60834 no 41.94307 56.96868 1 yes 62.17550 57.25384 no 33.43454 40.04572 no 54.42482 53.73204 no 30.21223 43.47607 pss_fr racegrp satreat sexrisk substance treat avg_drinks max_drinks male no home less e e 453 housed 0 @ 454 housed 13 20 455 no homeless 1 24 460 no homeless 13 13 462 no homeless 51 51 463 36 ## 449 ## 450 ## 451 female male по 38 39 male no 28 ## 452 male male 26 ## 453 43 ## 448 5 white 4 yes heroin no # 449 7 white no 4 heroin alcohol 2 yes e 450 e 451 11 white no yes 13 20 white no heroin ## 452 no 1 24 black white e 453 ves 9 cocaine no 13 13 11 no 4 alcohol no 51 51 hospitalizations ## 448 ## 449 1 ## 450 ## 451 ## 452 e 453 2 1 tally(sex, data-HELPrct) ## sex ## fenale male 107 346 bargraph(sex, data-HELPrct)
Expert Solution
steps

Step by step

Solved in 2 steps

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