Question
) Compute log return: rt = ln(pt) ln(pt1) where pt is the price at time t and rt is the log return at time t.
) Compute log return: rt = ln(pt) ln(pt1) where pt is the price at time t and rt is the log return at time t. (2) Compute summary statistics (mean, median, min, max, standard deviation, skewness, and excess kurtosis) for log return. (3) Obtain a density plot of the log returns (e.g. scatter plot and histogram). Note that prices presented in the dataset is on tick-by-tick basis. Each tick is 0.2 second. For this assignment, you need to aggregate data onto 1 second and 1 minute scale (i.e. take average price for the interval). You will need to do the assignment for both 1 second and 1 minute time scale. Write brief comments about your observations on this E-Mini S&P 500 market. You need to submit your R source code (print only) at attachment to your submission.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started