Chapter 9 Guest Lecture and/or Examples
9.1 Guest Lecture by Zheng Nan
9.1.1 Exploring the bitcoin market efficiency using R
Data, methodology, and interpretations
Opening: Challenges in data analysis
- Collecting data, defining data, and preprocessing data.
- Methodology and models
- Interpretations of the results
Background
- Bitcoin
- Efficient Market Hypothesis (EMH)
- Random Walk Hypothesis
- Augmented Dickey-Fuller (ADF) test
- Bitcoin exchange (BX) rate
- Methodologies
Practice - R Script and Data are in Moodle
Results
9.2 Topics of EDA
9.2.1 Contents
Financial Data
- Sites and Packages: Quandl, quanmod
- Stock Market and Crypt Currency
Model Analysis
- Linear Regression Review
- Stratification and Confounder
- R squared and p-value
- About Sixth Assignment - in Moodle
Presentation on 2021-02-17 and 2021-02-24
The Eighth Assignment
9.2.2 Financial Data
9.2.2.2 Quantmod
quantmod
: Quantitative Financial Modelling & Trading Framework forR
R
package `quantmod: https://cran.r-project.org/web/packages/quantmod/quantmod.pdfquantmod
R documentation- Yahoo Finance Data Using
quantmod
- Reference: CryptCurrency Bitcoin Analysis Using
quantmod
9.2.3 Your Course Project, Part I
All documents must contain ‘ID’, ‘Name’, ‘Date’ of submission
- ‘Short Paper’ (that can be much longer than the Paper
- Due: 2021-02-09 for Interim Report (and 2021-03-03: supporting doc for Paper)
- Contents:
- Objective: What and Why
- Data
- Reproducible Exploratory Data Analysis with Explanations
- Questions based on your findings and technical quesitons
- Format: R Notebook (*.nb.html)
- Presentation: 10 minutes (5-7 min. presentation and 3-5 min. QA)
- On 2021-02-17 [or 2021-02-24, a reserve]
- With a digital file (.nb.html, html, pdf, word, ppt, … ) by file share
- Note: Be ready to show your codes by R Notebook or R Scripts, when requested
9.2.4 Your Course Project, Part II
- Paper: 5 to 10 pages
- Due: 2021-03-03
- Contents: Exploratory Data Analysis Using Public Data
- Introduction - include what and why
- Description of Data
- Exposition of Your Exploration with Visualization of Data
- Concluding Remarks
- References, if any
- Acknowledgements, if any (can give a credit to your classmate)
- Note:
- Give logical explanations of your observations using data tables and charts
- No need to include the whole process
- Include codes only when necessary
- Format: pdf. (Rmd > pdf, Rmd > MS Word > pdf, Rmd > MS Word > Google Doc > pdf)
9.2.6 The Eighth Assignment (in Moodle)
A. Give your feedback to your classmates’ posts on the Forum, Seventh Assignment as [Reply] to keep in a thread.
- Comments on the project?
- Write your questions related to the topic?
B. Add explanations or responses to your topic.
- Add questions to investigate.
- Share the difficulties you are facing.
- Respond to the comments of your classmates.
C. Option: Share the link(s) to your R Notebook(s) in RStudio.cloud
- Submit your response to Moodle (The Seventh Assignment) by 2021-02-16 23:59:00
9.2.7 Learning Resources, VIII
- R for Data Science, Part III Wrangle - Tidy and Relational
- R for Data Science, Part IV Model
9.2.7.1 RStudio Primers: See References in Moodle at the bottom
- The Basics – r4ds: Explore, I
- Work with Data – r4ds: Wrangle, I
- Visualize Data – r4ds: Explore, II
- Exploratory Data Analysis, Bar Charts, Histograms
- Boxplots and Counts, Scatterplots, Line Plots
- Overplotting and Big Data, Customize Your Plots
- Tidy Your Data – r4ds: Wrangle, II
- Reshape Data, Separate and Unite Columns, Join Data Sets
9.3 Part II. 2022-02-16 Presentation
9.3.1 The Ninth Assignment (in Moodle)
Write your feedback to each of your classmates’ presentation on the Forum in Moodle.
First, include the name of the presenter and/or the title of the presentation on the topic of your post
Write on the following
- Comments on the presentation,
- Suggestions on the project, or
- Technical or general questions related to the presentation
You can write comments on your own presentation, and/or responses to comments.
Submit your response to Moodle (The Ninth Assignment) by 2021-02-23 23:59:00
9.3.2 Learning Resources, IX
- R for Data Science, Part III Wrangle
- R for Data Science, Part VI Communicate
- Data analysis write-ups
- Structure of a Data Analysis Report
9.3.2.1 RStudio Primers: See References in Moodle at the bottom
- The Basics – r4ds: Explore, I
- Work with Data – r4ds: Wrangle, I
- Visualize Data – r4ds: Explore, II
- Exploratory Data Analysis, Bar Charts, Histograms
- Boxplots and Counts, Scatterplots, Line Plots
- Overplotting and Big Data, Customize Your Plots
- Tidy Your Data – r4ds: Wrangle, II
- Reshape Data, Separate and Unite Columns, Join Data Sets