search for: datatilluppsats

Displaying 2 results from an estimated 2 matches for "datatilluppsats".

2008 Sep 19
1
Cbind help
Hi there I want to cbind a vector(contains 20 values) to a dataframe containg (18 rows).The missing value in the dataframe is however a repeated values but still i want to retain the repeats in the vector and the dataframe values can even get enterd twice. how should i go about it Example: Vector(contains repeating entry) ab de dc ab be dataframe(unique entry) ab a b c d e dc e f g h i de l
2012 Apr 16
1
for help
...oblem concerning the use and forecasting on the GARCH (1, 1) on financial data. We would like to make predictions on future returns in a loop which moves the window of estimation forward one unit for each iteration. Our code is as follows: > BJORN <- read.table("C:/Users/Osvald/Desktop/DATATILLUPPSATS.txt", + header=TRUE, sep="\t", na.strings="NA", dec=",", strip.white=TRUE) > t <- as.timeSeries(BJORN) > start=length(t[2:1834]) > end=length(t) > fore = array(0, dim=(end-start)) > for (i in start:end) { +fit <- garchFit(formula =garch(1,1),...