This assignment is designed to review the materials you learn in the
lab. Be sure to comment your code to clarify what you are doing. Not
only does it help with grading, but it will also help you when you
revisit it in the future. Please use either RMarkdown or
knitr to turn in your assignment. These are fully compatible
with R and LaTeX. If your code uses random number generation,
please use set.seed(12345)
for replicability. Please post
any questions on Piazza.
The teengamb
dataset in the faraway
package
studies teenage gambling in Great Britain.
teengamb
and describe, briefly, the substantive
meaning of each variable.income
on gamble
.
Using summary()
, explain the substantive meaning
(i.e.ย more than just the mathematical interpretation) of
Estimate
, Std. Error
, t value
,
and Pr(>|t|)
with respect to income
. In
other words, how do we think about these outputs in the context of
finite-sample inference?