Publications by Johnathan Swenson
Quiz1-A
Q1 What is R? R is a computer programing language. Q2 What is RStudio? R studio is an interface to r. Q3 What is R packages? R packages are a group of functions and data sets. Q4 how about code? summary(cars) ...
210 sym R (13 sym/1 pcs)
Quiz 1
# Load packages library(tidyquant) ## Warning: package 'tidyquant' was built under R version 4.0.3 ## Warning: package 'lubridate' was built under R version 4.0.3 ## Warning: package 'PerformanceAnalytics' was built under R version 4.0.3 ## Warning: package 'xts' was built under R version 4.0.3 ## Warning: package 'zoo' was built under R versio...
1129 sym R (2704 sym/22 pcs)
Quiz 3
For this quiz, you are going to use orange juice data. This data set is originally used in a machine learning (ML) class, with the goal to predict which of the two brands of orange juices the customers bought. Of course, you are not building a ML algorithm in this quiz. I just wanted to provide you with the context of the data. The response varia...
3412 sym R (6702 sym/24 pcs) 2 img
Quiz 2
For this quiz, you are going to use orange juice data. This data set is originally used in a machine learning (ML) class, with the goal to predict which of the two brands of orange juices the customers bought. Of course, you are not building a ML algorithm in this quiz. I just wanted to provide you with the context of the data. The response varia...
3291 sym R (6307 sym/18 pcs) 1 img
Quiz 4
summary(Orange) John Swenson Q1 empirical rule Your favorite orange juice brand is Minute Maid. You went to a local market and found that it is sold at $2.50. You are surprised at the price tag, which seems too pricey. You wonder how rare it would be to encounter a Minute Maid orange juice at this price. Fortunately, you have a dataset of the Mi...
3699 sym R (195 sym/6 pcs)
Term Paper
Choose one of David Robinson’s tidytuesday screencasts, watch the video, and summarise. https://www.youtube.com/channel/UCeiiqmVK07qhY-wvg3IZiZQ Instructions You must follow the instructions below to get credits for this assignment. Elaborate your answer. One or two sentence answers won’t get credit. Make sure to cite what you see and hear ...
3859 sym
Quiz 5 Make Up
title: “Quiz5 retake” author: “John Swenson” output: html_document: toc: true In this exercise, you will apply lessons you learned from Quiz3-a to a new data set, Sacramento. I recommend that you try it on your own before watching the video. Q1 Import data. Hint: The data file is posted in Moodle. See Module 5. It’s named as “gapmin...
2261 sym R (139339 sym/21 pcs) 3 img
Quiz 6
For this quiz, you are going to use mpg (miles per galon) dataset. This dataset contains a subset of the fuel economy data that the EPA makes available on http: //fueleconomy.gov. It contains only models which had a new release every year between 1999 and 2008 - this was used as a proxy for the popularity of the car. The dataset has the following...
1948 sym R (3738 sym/23 pcs)