[R] Repository of Examples and Problems from Lock5 textbook

Kevin Zembower
Sun, 01 Jun 2025 20:01:20 -0000

I've completed my Basic Statistics course, and am pleased overall with
the experience. In addition to earning a grade of 105.82% (smart-ass
comment from wife: "How is that even statistically possible?"), I feel
as if I have a comprehensive understanding of not only the procedures
and formulas of basic statistics, but also know where the theory and
numbers come from.

One contribution to my knowledge of the material was the fact that I
tried to work all the problems and homework in the course in R, even
though the course itself never mentioned it or used it. It was still
helpful to me to be able to translate the examples and problems from
the textbook into R, and strengthened both my knowledge of statistics
and R.

Instead of just storing my work away, I've created a GihHub repository
of the work that I did that was directly related to the textbook I
used, _Statistics: Unlocking the Power of Data_ by Lock, Lock, Lock,
Lock and Lock, third edition. I created an Rmarkdown file for each
chapter's examples and the problems at the end of each chapter. I also
processed each .Rmd file into a PDF file.

I've uploaded these to
https://github.com/kzembower/Lock5ProblemsExamples_R. They're available
for any use anyone would like to make of them. I also created some 1-2
sheet quick references of things I found helpful.

I'm pretty certain that these do not represent the best R coding, and
may even have some significant flaws. I checked the final answers
against those given in the book for almost all the problems.

Let me know if you think this repository could be improved in any way.
Thank you to all the folks who helped me better understand statistics
and how to compute them with R.

-Kevin