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.
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:
Delineate the necessary decision (I will do that below). Identify what information will be relevant to decision making. Find and collect the data necessary to create your visualization plan. Organize and summarize the collected data. Design and create the best visualizations to present that information. Finally organize the layout of those visualizations in a way that conforms to the theory of dashboarding. Write a summary about what decisions you made based on the visualizations that you developed.
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.
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 ≤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
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.
package 'xts' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sanuabim\AppData\Local\Temp\Rtmpe2JBLj\downloaded_packages
package 'dygraphs' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sanuabim\AppData\Local\Temp\Rtmpe2JBLj\downloaded_packages
package 'lubridate' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sanuabim\AppData\Local\Temp\Rtmpe2JBLj\downloaded_packages
package 'DT' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sanuabim\AppData\Local\Temp\Rtmpe2JBLj\downloaded_packages
package 'pdfetch' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sanuabim\AppData\Local\Temp\Rtmpe2JBLj\downloaded_packages
package 'PerformanceAnalytics' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sanuabim\AppData\Local\Temp\Rtmpe2JBLj\downloaded_packages
package 'stocks' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\sanuabim\AppData\Local\Temp\Rtmpe2JBLj\downloaded_packages
P/E Ratio :The ratio for valuing a company that measures its current share price relative to its per-share earnings
Price/EPS Estimate Next Year: The forecasted earnings uses either projected earnings for the following 12 months or for the next full-year fiscal (FY) period
Dividend Yield : An estimate of the dividend-only return of a stock investment.
Market Capitalization:The total dollar value of all outstanding shares of a company
The stock closing price will be presented in a visualized method. Using NASDAQ symbols for the respective companies as shown below.
[1] "AMZN"
[1] "BABA"
[1] "GOOG"
[1] "TSLA"
Based on the key indicators (P-E Ratio and EPS), I chose to investe in Amazon and Tesla. Both have the highest P-E Ratio and EPS.