Lab 8 Rehearse 1

Lab 8 Set Up

Just as in previous labs, you will need to follow this link to set up Lab 8 in your Posit Cloud work space:

Posit Cloud Setup

Link to Set up Lab 8 Personal Data Project in Posit Cloud

Important

After you have set up Lab 8 using the link above, do not use that link again as it may reset your work. The set up link loads fresh copies of the required files and they could replace the files you have worked on.

Instead use this link to go to Posit Cloud to continue to work on lab 8: https://posit.cloud/

RStudio Desktop Setup

Link to download the Lab 8 materials to RStudio Desktop

Rehearse 1 Requirements

OK. Let’s talk about your personal data project.

In this Lab 8 Rehearse 1 you will:

  1. Select your data and properly cite/reference its source.
  2. Load the data into your Posit Cloud/RStudio Desktop work space.
  3. Describe your data, including the name(s) of the variable(s) of interest and their type, i.e., numerical or categorical. If categorical, state how many levels are present.
  4. Conduct Exploratory Data Analysis.
  5. Define your research question and state your Null and Alternative hypotheses.
  6. State the type of inference test you will use to answer the research question.

Load Packages

First load the necessary packages:

CC1

library(tidyverse)
library(infer)

Identify your data set

The data set I will use is:

I obtained this data set from:

Important!

  • You cannot use the data sets used in Labs 5, 6, and 7. See: List of Prohibited Data Sets
  • You must use real data. You cannot fabricate or otherwise create fake data.
  • If you are using your company/organization’s data, state affirmatively that you have written permission to use your company/organization’s data.
  • If you choose to use data other than the data sets provided in the course [Data Sets], you must properly cite/reference the source.

Load the data

Use appropriate code to load the data set into your work space.

Remember you can find code chunks to do this here: Code Chunks

CC2

# paste code here

Inspect the Data

You should see the data object in the Environment. Remember you can click on the name and it will open in the Source Editor window.

If you need additional empty code blocks, remember you can insert them using the green “+C” icon.

Describe your data

Include the name(s) of the variable(s) of interest and their type, i.e., numerical or categorical. If categorical, state how many levels are present.

Your response here:

Exploratory data analysis

Visualize the data

CC3

# paste code here

Calculate Summary Statistics

Find appropriate statistic(s) of interest.

CC4

# paste code here

Your comments on the data visualization and summary statistics:

State your research question/hypothesis.

Your response here:

State the Null and Alternative hypotheses

Null hypothesis Ho:

Alternative hypothesis Ha:

Type of Analysis

What type of inference analysis is appropriate for your data and research question.

Your answer here:

Lab Assignment Submission

Important

Submit your Lab 8 Rehearse 1 worksheet knitted as a Word or PDF file in your M8.3 Lab 8 Rehearse(s): Personal Data Project Canvas Assignment area.

Please plan on submitting the Lab 8 Rehearse 1 worksheet by Thursday night of the Module 8 week.

On to Rehearse 2!

Previous: Lab 8 Overview

Next: Lab 8 Rehearse 2

Lab Manual Homepage

Creative Commons License
This work was created by Dawn Wright and is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

V2.1, Date 1/3/24

Last Compiled 2024-07-12