London School of Economics
FM 321 Classwork Lecture 1
1 Getting started with R
For your first seminar you should follow the instruction provided in the document “GettingStarted”. This will guide through resources that will help you to:
Copyright By PowCoder代写 加微信 powcoder
• install R and RStudio,
• get familiar with basic R syntax and the interactive mode R Markdown,
• install additional packages which will be used throughout the course,
• it will also provide you with the code to download stock prices from Yahoo Finance.
Once you have your clean stock price data: 1. Calculate daily stock returns.
2. Calculate the mean, standard deviation, skewness and kurtosis. 3. Display your summary statistics.
4. Plot daily returns.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com