---
title: "Lab 6 Thesis Tower Sampling"
output: pdf_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

# Due: 12am night before lab

# Instructions
Work through the problems below, and submit this document as a knitted .pdf file with answers to the Lab 6 assignment on Gradescope. You can work on this lab in groups of 2 or 3 people.

**In some problems, an incomplete R chunk has been provided. To evaluate the chunk, follow the given instructions, and then change `eval=FALSE` to `eval=TRUE`.**

**For each problem, put your solution between the bars of red stars.**


--


## Thesis Tower Sampling

The quintessential activity that Reed alumni do upon returning to campus is head up to the thesis tower to check to see if anyone has checked out their senior thesis. They’re wondering: what is the chance that someone was interested in my work? To answer that question and learn more generally about the way in which senior theses are checked out, you will collect a sample of theses from the thesis tower.

Before collecting a sample, it is important to devise a plan for how that sample will be collected.  The thesis tower has two floors and the theses are organized in alphabetical order by author's last name, across both floors.

We would like to collect a sample with the following variables:

* barcode number
* year of publication
* number of checkouts
* number of pages 
* division (all departments are grouped into divisions, found at <http://www.reed.edu/academics.html>)
* author's first name
* author's last name

You can work in group of 2 or 3 people to accomplish the following tasks.

A. Before you go to the thesis tower to collect your sample, estimate the number of theses stored in the tower.  It is ok if you have never been to the thesis tower, just make your best guess. Enter your estimate in the space below.

***********************************************

***********************************************

B. Provide a detailed plan of how you will collect a sample of data that is representative and efficient.  The goal is to collect data from around 10 theses per group member.  You might consider simple random sampling, stratified sampling, cluster sampling, a hybrid, or another random technique all together.  Your plan should be explicit enough that someone else could follow in your footsteps next semester and know how to collect a sample in an identical manner. 


*************************************************

*************************************************

C. Justify why you think your sampling method is representative and efficient.


*************************************************

*************************************************

D. Go to the Thesis Tower and carry out your sampling strategy.  Collect a sample of 10 theses per group member and record them in the following [spreadsheet](https://docs.google.com/spreadsheets/d/1KvZbUWceOlF5vdNM8pP0bmjiRWs0-gD6RCvA5Kg4Z6I/edit?usp=sharing).  Make sure to create a new worksheet for your data set.  To do this, right click on the  "Sample Template" tab at the bottom of the page, choose "duplicate" and then on the tab for the copy, right click again, and choose "rename".  Give the worksheet a name that contains the names of all team members.