*Compose your answers in a Word/Pages document (or the equivalent kind of file) and email prior to the due date or print and bring to class on the due date. Test your code in R before submitting your lab, so that you know it is correct.
Be careful to write the code exactly, or copy the code from the R console into your word processor to ensure accuracy.*

1. Ask ten people you know how many movies they have seen in a theater during the last year. Show their answers here. (You want to record the answers as number of movies, so if necessary, ask your respondents to estimate the number.)

2. How would you compute in R the mean number of movies watched without using the mean() function? Write your code here.

3. What type of data structures does your code in (2) use? Explain.

4. How would you compute in R the standard deviation for this variable? Write your code here.

5. How would you produce a table showing the range of answers for this variable? Write your code here.

6. What can you say sociologically about movie watching using these data?

- Log in to post comments