Description Usage Format Examples
Containing the daily final prices of the German stock Allianz in the years 2006 and 2007.
1 |
A data frame with 507 observations of the following 2 variables.
Date
Date
ClosingPrice
ClosingPrice
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(Allianz)
form<-'%d.%m.%y'
time.Allianz <- strptime(Allianz[,1],form)
#looking for all dates in 2006
data.Allianz <- Allianz[which(time.Allianz$year==106),2]
#building differences of first order
d.Allianz <- diff(data.Allianz)
#estimating the density
density.Allianz <- pendensity(d.Allianz~1,)
plot(density.Allianz)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.