uncondmean | R Documentation |
Extracts the unconditional mean of a HAR models and other objects
uncondmean(object)
object |
an object from the |
Unconditional Mean |
a double containing the unconditional mean of the model or simulation |
This is a method
Emil Sjoerup
set.seed(123) #Simulate a HAR process: HARSim = HARsimulate(iLength = 10000, vLags = c(1,5,22), vCoef = c(0., 0.36 , 0.28 , 0.28 ) , dSigma = 0.001) #Estimate the HAR process: HARModel = HARestimate(vRealizedMeasure = HARSim@Simulation, vLags = c(1,5,22)) # uncondmean can be used on both Simulation and # estimated models uncondmean(HARSim) uncondmean(HARModel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.