Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Model Differences in Log Returns of Stock Prices

Consider differences in log returns for Apple stocks:
In[1]:=
Click for copyable input
Fit a TsallisQGaussianDistribution to the data and compare against the fit with a NormalDistribution:
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
Compare a histogram of the data to the PDF of the fitted distributions:
In[6]:=
Click for copyable input
Out[8]=
Inspect the heavy-tail behavior:
In[9]:=
Click for copyable input
Out[9]=
Find the probability that the log difference in price is above $0.10:
In[10]:=
Click for copyable input
Out[10]=
Simulate the log difference in price for 30 consecutive days:
In[11]:=
Click for copyable input
Out[11]=