[SOLVED] 代写 R graph theory ANLY 512: Lab1

30 $

File Name: 代写_R_graph_theory_ANLY_512:_Lab1.zip
File Size: 339.12 KB

SKU: 8456384599 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


ANLY 512: Lab1
Dashboard Laboratory
Overview
Due to the inherent growth in the electronic production and storage of information, there is often a feeling of “information overload” or inundation when facing the process of quantitative decision making. As an analyst your job will often be to conduct analyses or create tools to support quantitative decision making.
A principle tool used in industry, goverment, non-profits, and academic fields to compensate for the information overload is the information dashboard. Functionally, a dashboard is meant to provide a user with a central resource to present in a clear and concise manner all the information neccessary to support day-to-day decision making and support operations.
Objective
The objective of this laboratory is to plan, design, and create an information dashboard to support quantitative decision making. To accomplish this task you will have to complete a number of steps:
1.Delineate the necessary decision (I will do that below).
2.Identify what information will be relevant to decision making.
3.Find and collect the data necessary to create your visualization plan.
4.Organize and summarize the collected data.
5.Design and create the best visualizations to present that information.
6.Finally organize the layout of those visualizations in a way that conforms to the theory of dashboarding.
7.Write a summary about what decisions you made based on the visualizations that you developed.
The Decision & Rules
You make investments for an organization, your objective is to purchase securities/commodities for the key objective of maximizing profits. You want to make an investment in securities/commodities to make some short term gains. You are considering investing in one of any four companies, for example: Twitter (TWTR), Microsoft (MSFT), or Apple (AAPL) (don’t use these). Choose 4 companies or commodities and determine which one of the four will produce the most short term gains. Use your imagination.
Dates & Deliverables
•You are responsible for submitting a link to your dashboard hosted on the Rpubs site. The dashboard must include the source_code = TRUE parameter.
•The due date for this project is XX at the start of class. This assignment is worth 75 points, 3x a normal homework, the additional time should allow you to spend the neccessary effort on this assignment.
•You are welcome to work in groups of (leq 2) people. However, each person in a group must submit their own link to the assignment on moodle for grading! Each team member can submit the same link to a single rpubs account, however it may be a good idea for each of you to post your own copy to rpubs in case you want to share it to prospective employers ect.
•There is one caveat to this project. While you can use any package to pull or obtain data, DO NOT use package like quantmod() to make your graphics. I want to see that you designed and built all the graphics yourself and did not use a precanned stock visualizing function like chartSeries(). There a number of great packages that allow you to use financial graphic types for which you build them see candlestick dygraphs for examples.
•Here is another great resource for visualizing financial time series data using ggplot here
Methods Help
Getting data
There are lots of places we can get financial data to support these decision. The simplest would be to go to for instance to the Yahoo Finance (https://finance.yahoo.com/) for data on the Hershey Company (HSY) the URL would be: (https://finance.yahoo.com/quote/HSY/history?p=HSY) and collect historical price data, and other financial and company information.
Alternatively, and more professionally, there are tons of packages that allow you to access data from R. See here quick examples. This is not a complete list but will get you started.
Example: Using R for data collection
An example below uses some code to pull down key financial indicators to evaluate the quality of a company.
library(quantmod)
library(plyr)
what_metrics <- yahooQF(c(“Price/Sales”, “P/E Ratio”,”Price/EPS Estimate Next Year”,”PEG Ratio”,”Dividend Yield”, “Market Capitalization”))tickers <- c(“AAPL”, “FB”, “GOOG”, “HPQ”, “IBM”, “MSFT”, “ORCL”, “SAP”)# Not all the metrics are returned by Yahoo.metrics <- getQuote(paste(tickers, sep=””, collapse=”;”), what=what_metrics)#Add tickers as the first column and remove the first column which had date stampsmetrics <- data.frame(Symbol=tickers, metrics[,2:length(metrics)]) #Change colnamescolnames(metrics) <- c(“Symbol”, “P-E Ratio”, “Price EPS Estimate Next Year”, “Div Yield”, “Market Cap”)#Persist this to the csv file#write.csv(metrics, “FinancialMetrics.csv”, row.names=FALSE)DT::datatable(metrics)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] 代写 R graph theory ANLY 512: Lab1
30 $