Docsity

STAT1000 Worksheet 3 shell, Assignments of Statistics

Toggle sidebar
bg1
STAT 1000 - Worksheet 3
Benita Otuonye,Anam Fatima
9/29/2022
Instructions
To complete this assignment, add code as needed into the R code chunks given below. Do not delete the
question text. This is a group worksheet, and you may form a group with your classmates of no more than
three (3) students. Be sure to change the author of this file to reflect the names and student numbers of
your group members.
To properly see the questions, knit this .Rmd file to .pdf and view the output. You will have a link in your
email that takes you to the Crowdmark submission page. Once you have completed the worksheet, knit it
to .pdf and upload your output to Crowdmark. Make sure you properly identify your groupmates through
Crowdmark (it will prompt you).
Questions
1. Import the Games2019.csv dataset as a dataframe called Games2019. Make sure you are handling
the header correctly. This dataset contains the names of each video game released in 2019 that has
a Metascore and a Userscore (both measured out of 100), along with the platform of release. Entries
associated with a previous-gen platform have been removed.
Games2019 <- read.csv("C:/Users/USER/Downloads/Games2019 (1).csv")
2. Produce five number summaries for the metascores and userscores in this dataset.
fivenum(Games2019$Metascore)
## [1] 36 69 75 80 93
fivenum(Games2019$Userscore)
## [1] 10 57 69 77 96
3. Produce a side-by-side boxplot for the Metascores and Userscores. Use the names argument to properly
set the box labels.
boxplot(Games2019$Metascore,Games2019$Userscore,
names = c("Metascore","Userscore"),col="Green")
1
pf2

Partial preview of the text

Download STAT1000 Worksheet 3 shell and more Assignments Statistics in PDF only on Docsity!

STAT 1000 - Worksheet 3

Benita Otuonye,Anam Fatima

Instructions

To complete this assignment, add code as needed into the R code chunks given below. Do not delete the question text. This is a group worksheet, and you may form a group with your classmates of no more than three (3) students. Be sure to change the author of this file to reflect the names and student numbers of your group members.

To properly see the questions, knit this .Rmd file to .pdf and view the output. You will have a link in your email that takes you to the Crowdmark submission page. Once you have completed the worksheet, knit it to .pdf and upload your output to Crowdmark. Make sure you properly identify your groupmates through Crowdmark (it will prompt you).

Questions

  1. Import the Games2019.csv dataset as a dataframe called Games2019. Make sure you are handling the header correctly. This dataset contains the names of each video game released in 2019 that has a Metascore and a Userscore (both measured out of 100), along with the platform of release. Entries associated with a previous-gen platform have been removed.

Games2019 <- read.csv("C:/Users/USER/Downloads/Games2019 (1).csv")

  1. Produce five number summaries for the metascores and userscores in this dataset.

fivenum(Games2019$Metascore)

## [1] 36 69 75 80 93

fivenum(Games2019$Userscore)

## [1] 10 57 69 77 96

  1. Produce a side-by-side boxplot for the Metascores and Userscores. Use the names argument to properly set the box labels.

boxplot(Games2019$Metascore,Games2019$Userscore, names = c("Metascore","Userscore"),col="Green")

Metascore Userscore