Chapter 1. Tutorial: Two-Way Tables

1.1 Problem Statement

{125,140,141,144,163,167,173,180,184,191}
rand(0,9)
@students[$studentsindex]
{429,444,445,448,467,471,477,484,488,495}
@table[$studentsindex]
{210,225,226,230,248,252,258,265,269,276}
@never[$studentsindex]
{429,444,445,448,467,471,477,484,488,495}
@occasional[$studentsindex]
{49,51,51,51,53,54,54,55,55,56}
@personalnever[$studentsindex]
{219,234,235,239,257,261,267,274,278,285}
@neither[$studentsindex]
{429,444,445,448,467,471,477,484,488,495}
@both[$studentsindex]
{51,53,53,53,55,55,56,57,57,58}
@studentneither[$studentsindex]
{125,140,141,144,163,167,173,180,184,191}
@studentnever[$studentsindex]
{29,32,32,32,35,35,36,37,38,39}
@neverneither[$studentsindex]

A survey was conducted of students asking about their usage of marijuana in the last year (Never, Occasional, Regular) and the amount of alcohol and/or marijuana usage by their parents (Neither, One, Both). Here is the raw data:

Parental Usage Student Usage Number of Students
Neither Never $students
Neither Occasional 54
Neither Regular 40
One Never 68
One Occasional 44
One Regular 51
Both Never 17
Both Occasional 11
Both Regular 19
Table

A two-way table was created of the data above:

(g) (g) (g)
(d) (e) (f)
(h) (a) $students 54 40
(b) 68 44 51
(c) 17 11 19
Table

1.2 Step 1

questions

Question 1.1

os0/OXNlDdR3NRUHWl1nUCqj68Y/ltx2CQbktR6cED19W3aJsqMZHiv5eQgTLWzZvERz6PRT+XcQz93TFtxmcg==
Correct.
Incorrect.

Question 1.2

kxWLWoJxAIm44piM8WkhA3n9n6KG1omExX+CFXCkFi/rd7PJGcNoZzXaNAYK+IXBhlLv1MPk4Sr26f82B7C8SgB2+gnGHvfmqcPO3OOpKJBUrd49QVsTdGVEqX95WgdRsDKlvOIAOsFtdqXjKa2r3y7h10bnYNhTR/rwSPyE/VixGoZjrbOPXhipHHfeepmsR8En+xspzSEHisHnC+8pu4rBL4aSQNiqZmNDaN4K/ZA=
Correct.
Incorrect.

Question 1.3

97PJfVVaDfXtmGSooTNfnWM9ng4LhICIr8bAyV8NpkFiNCdKyOMyzhTY03+1AeGlNK16DR7wz0xUPwat6F7rqypD53EEBMsljyZsEXLd3h+EbcrFWnJDfh3ij/OzbH01nKKqZJP4iJAMF/ffuCfZQ8XErkndZkHjRMbB/5CkmFxIvv3QHGrF8/fV87o3voj3zjY8goyty7NQ7Eb7Fv7jsZM45tGp/Aq2
Correct.
Incorrect.

1.3 Step 2

Question 1.4

The row entry (a) should be labeled as Ipx14zTX2UdZxbAbXkybnQ+Um0K3y45OM9hfXA==.

Correct.
Incorrect.

Question 1.5

The row entry (b) should be labeled as eFGvZwokLVyNrPk40apGQKoVn5RCN2ypihjleQ==.

Correct.
Incorrect.

Question 1.6

The row entry (c) should be labeled as vLwYOBMw3mzquQIIp6k8vLKj32/Yd2CntKm05A==.

Correct.
Incorrect.

Question 1.7

The column entry (d) should be labeled as nzjUeD38VpjXNSy5DOELyI0JSjUN9gsTt8INJTsLpwn0Ua5P.

Correct.
Incorrect.

Question 1.8

The column entry (e) should be labeled as Lyd+YQtP9Mj6VDZ/O3oZaTF/dobnHhvMfU1+OQmr9EkBG30J.

Correct.
Incorrect.

Question 1.9

The column entry (f) should be labeled as HC8YPNL1Y43oLoI/C4J5G+JPcCoPRBpfTYFr6wPagz4zwfWE.

Correct.
Incorrect.

1.4 Step 3

Here is the filled in two-way table of the data:

Student Usage
Never Occasional Regular
Parental Usage Neither $students 54 40
One 68 44 51
Both 17 11 19
Table

Question 1.10

y67Gnh1gNozMq+7pUGR8jusa2fU5uPfNPFHSUYI74QUdTUgu8NQPGJwpAdEP3w2kk2/RNwaXmcbLukJYn1LaxPdGBwwilOyEgW92KM2l2yzPlaBF5L+2krWNlKdNf+4xHaF3fLBeDuIHkW5I
Correct.
Incorrect.

Question 1.11

SeOGfPEUQhfB2bJXAAtOSMiTmTCvAYdq6GeOp+1dx9/QiuOUqxSryiTVMBCZlkiDzKndK8Cs9YUXK2iMTOZV2zbYbNNI6WIZzDDWq28FARzw9xnyg9uY4GQQjenI1BgjzNl2PoqqwCXXMO8A5sALBUDDvjEwea3kktqpSiizSOUd/prROKpKleAJQJc=
Correct.
Incorrect.

Question 1.12

About MOKTzW1/y05FShLfVanefvu2f85Ru/5OebOahQjygKI= of students answered “never” for their personal usage of marijuana.

Correct.
Incorrect.

Question 1.13

duOh+V3o3gTKf3BiRLrzEHlVruQkf+WxkavThpSTISUwHRAaiHbVMy/NsCDzUH9B4K91GKNdYnBWJojoeWuwDZ9rikrEQSTwEbKML7M1A8h/yWwX0XawRJ66nH7a1XegUBx4vv/BbH4kBESxPFlT0+F98cF63c3QEs6aZPhhYyJO35ts
Correct.
Incorrect.

Question 1.14

5gZATtyMT+NoL2fhNS0fR89ctjMfi9RFp4/KLZJ98DzAkapS77Pv5bPYF6mXhPPViaMeayVrp6DMDEZpQalXtXoX6cV7T66iK0hrK9qZ8CC+db8E5Q+p4ZR74CWZV2O7ah/V1laHiMxwkbzxeeEZjKh/hK+CXczziGPfZzCJGdaR1IZW6yJVQktRiuY=
Correct.
Incorrect.

Question 1.15

About EpSmT3bME6xN0ITRPGPF0UgS31LJSQVNTHofvy4WcpE= of students answered “Neither” for their parents’ usage of marijuana/alcohol.

Correct.
Incorrect.

Question 1.16

GMayA+GYptvsOg+xo4HzBkIP8wl0hULGS5YPjt2Rk882bEeLBLXqnd+O3UX2XEz7WD4LCjEkYDEGfRahRi/zI2E55DhlDyms5c5nTIJVgXHmqvyicUR1UrW8KenX5rMzirwcuVshW4aqBh1qENnFWdoe0Uotd19+c5pTl2zT7CrqlLgKu0C81csns7j9AdJb4XwGEj/MmCgG/bPKnrDV0gT+NTP0AQhb6OVcpQ==
Correct.
Incorrect.

Question 1.17

About g9OEEIT9peAl9gZCmpjUG1gDUZ/dXPEoAerGWw== of students answered “Never” for their personal usage of marijuana and “Neither” for their parents’ usage of marijuana/alcohol.

Correct.
Incorrect.