

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Lab; Class: ELEMENTARY APPLIED STATISTICS; Subject: Statistics; University: Rice University; Term: Fall 2004;
Typology: Lab Reports
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Stat 280 Lab 99 Friday, December 03, 2004
stock indexes. First, a few things must be understood. Stocks and many other physical or economic systems are too poorly-understood to be modeled deterministically. Instead we model them in time or space by an appropriate stochastic process.
For stocks, the most common model is the log-normal diffusion model, known as geometric Brownian motion (GBM). Not wishing to confuse, the equation for the
evolution in time of this model is X (^) i ( ) t = X (^) i (0) e^ μ i^ ′^ ∆^ t^ +^ σ ν i ∆ t. Although this model has
consistently been shown to not truly represent the markets, in many respects it is “close enough.” The nice thing about GBM is that is parameterized just by two population
2
2
i i i
In our analysis, we usually refer to the time ticks ∆ t as 1-day increments. The process is
modeled in terms of price CHANGES (to get to normality!), i.e. (^) t t^1 t
= + , from which
we take the natural log to get. This r is modeled as Gaussian (Normal). For
instance, is the price of the stock today is 100 and yesterday it was 95, then R=100/95=1.053 (note that the percent increase is R-1, or 5.3%), and its “mathematical” return r =ln(1.053)=.0516, which is CLOSE to the “percent” return but not exactly equal to it. Some factoids are that , for small r , and
r = ln( R )
r ≤ r pct rpct r (^) % 1 1 r = R − = er −.
However, we are mostly concerned with the basic definition r = ln( R ) Normal.
Once one has estimates for the population parameters, it is easy to simulate stock path
progression and other things. The standard estimators for μ andσ 2 are
2 ˆ 2 SR t
σ = ∆
and 2 ˆ 2
r t
, with =1/252 (1 day). The variance is especially easy to calculate, it’s
just the sample variance of the daily returns r. For daily data,
∆ t
σˆ (^) annual = Sr _ daily 252 ,
2 ˆ 2 1
daily daily
showing an annual growth rate of 8.2% and annual “volatility” of 16.5%. So for a stock with annual volatility of 100%, we might expect that in 95% of the cases the price of the stock could double within a year.
It turns out that the big indexes, such as the Dow or the SP500, have annual volatilities around 15.8%. Why is coincidental number so nice? Because the daily volatility
σ (^) daily = σ annual / 252 = .01! That means on a given day a 1% change is just 1-sigma!
One can calculate a z-score for a daily return as
r z
= , which of course is N(0,1).
From this one can quantify the likelihood of a particular return. For example, if a stock is .10. ( , (^252 )
GBM ) and we obtain a return R=1.03 (a 3% increase), r = ln(1.03) =.
so
z
= =. This has a p-value of .064, which is NOT a significantly
high return. We would expect this return 16 times a year (p-value * 252 trading days/year).
benchmark. The two types are weighted arithmetic and geometric indexes. By far the most common are the arithmetic indexes. Popular brands are the price-weighted Dow Jones indexes, and the market-value weighted indexes such as the Nasdaq Composite and the Standard & Poor’s indexes. Less well-known are geometric indexes such as the Value Line, but these are gaining in popularity, due to their better mathematical properties.
The arithmetic indexes are variations on X. In the case of the price-weighted Dow
divisor of 0.144, gives
α′ = = (^). The geometric weighted index, is
1 / i , w n
We will be constructing Dow-type and Geo-type indexes for a group of 4 stocks, which we will call the ISCO index. For each trading day we take the stocks prices and construct the index value, D-ISCO and G-ISCO. This is simple, as in
date A B C D "Dow" "Geom" 9/8/00 77.88 63.88 21 19.81 45.6425 37.
If we wanted to scale this to a common value A on a certain day, we multiply by our index value by A / I (^) 0. In the above example, if we wish to scale the indexes to 11,000 on
day 1, we multiply each calculation by A / I (^) 0 , or 11111/45.6425 for the Dow-type, and
11000/37.9292 for the geometric index.