---
title: "A01"
author: "TYPE YOUR NAME HERE"
date: "TYPE DATE HERE"
format: docx
editor: visual
---

## Acknowledgements

Replace this sentence with either (1) an acknowledgment of any person who gave you assistance and/or any resource that was used, or (2) a statement that you did not use any outside assistance.

By submitting this assignment, the author attests to abiding by the *Collaboration and Academic Integrity* policy stated in the course syllabus.

## Exercise 1 (5 points)

Load the *tidyverse* package, suppressing the messages.

## Exercise 2 (20 points)

Complete the *Class 01 Collecting Data* activity by including a copy of the created csv file in your submission.

## Exercise 3 (5 points)

Read in your sliding coins data and save to a name of your choosing.

## Exercise 4 (5 points)

Display the 17th, 2nd, and 5th rows of the sliding coins data.

## Exercise 5 (10 points)

Provide an interpretation of the 17th row of the sliding coins data.

## Exercise 6 (5 points)

Include a picture that illustrates the relationship among the following terms: population, sample, case, variable, values, and datum.

## Exercise 7 (10 points)

Obtain the 13th row of the ChickWeight data frame, and provide an interpretation.

## Exercise 8 (8 points)

For each variable in the *ChickWeight* data frame, state whether it is nominal, ordinal, interval, ratio, or absolute.

## Exercise 9 (22 points)

For each of the following variables, state whether it is nominal, ordinal, interval, ratio, or absolute.

a\. the high temperature in Goshen on a date

b\. age of a person

c\. *Newsweek* ranking of a college

d\. method of payment used for a purchase

e\. whether a person has abstained from drinking alcohol during the last month

f\. whether a person is considered a non-drinker, an occasional drinker, a regular drinker, or a heavy drinker

g\. how many ounces of alcohol consumed by a person during the last month

h\. shoe size for an adult

i\. the airfare from South Bend to another city

j\. the birth date of a person

k\. number of biological children

## Exercise 10 (5 points)

The formula for body mass index (BMI) is $BMI = \dfrac{703 W}{H^2}$ where $W$ is weight in pounds and $H$ is height in inches. In a code chunk, assign your weight in pounds to `W`, assign your height in inches to `H`, and calculate your BMI.

## Exercise 11 (5 points)

Place your name and today's date in the YAML code at the top of this file and replace the first sentence in the *Acknowledgements* section as requested. Render a docx version of this file.

## Submission

Zip together all relevant files: *Assignments.Rproj*, *A01.qmd*, the csv file with the coin slide data, the file containing the image created for Exercise 6, *A01.html*, and the *A01_files* folder. Upload the zip file in Moodle.
