Publications by Raven Silver
Mock Quiz 1
Use the given code below to answer the questions. Q1 Get Walmart stock prices, instead of Apple. Hint: Insert a new code chunk below and type in the code, using the tq_get() function above. Replace the ticker symbol for Walmart. You may find the ticker symbol for Walmart from Yahoo Finance. ## # A tibble: 1,029 x 7 ## date open high ...
1757 sym R (760 sym/1 pcs) 1 img
My First Publication
Q1 What is R? R is the code language used in RStudio that allows you to create text, images, and code. Q2 What is RStudio? RStudio is a free statistics program that allows you to use the code language R while creating charts or presentations. Q3 What is R packages? Hint: Type your answer in bold. Note: For help with RMarkdown syntax, go Help > ...
493 sym
Quiz 1
Use the given code below to answer the questions. ## Load package library(tidyverse) # for cleaning, plotting, etc library(tidyquant) # for financial analysis ## Import data stocks <- tq_get("NFLX", get = "stock.prices", from = "2016-01-01") stocks ## Visualize stocks %>% ggplot(aes(x = date, y = adjusted)) + geom_line() Q1 Import Netflix ...
2213 sym R (698 sym/3 pcs) 2 img
Reading on Regression
Instructions You must follow the instructions below to get credits for this assignment. Read the document (example of regression analysis) posted in Moodle before answering the following questions. Write in your own words. Multiple identical answers will get zero. Elaborate your answer. One or two sentence answers won’t get credit. Make sure t...
4960 sym
Quiz 4
Make sure to include the unit of the values whenever appropriate. Q1 Build a regression model to predict life expectancy using gdp per capita. Hint: The variables are available in the gapminder data set from the gapminder package. Note that the data set and package both have the same name, gapminder. library(tidyverse) options(scipen=999) data(...
2900 sym R (1689 sym/2 pcs)
Quiz1_makeup
Use the given code below to answer the questions. ## Load package library(tidyverse) # for cleaning, plotting, etc library(tidyquant) # for financial analysis ## Import data stocks <- tq_get("AAPL", get = "stock.prices", from = "2016-01-01") stocks ## Visualize stocks %>% ggplot(aes(x = date, y = close)) + geom_line() Q1 Import Microsoft s...
2297 sym R (1511 sym/5 pcs) 2 img