Hello, What is wrong in the below code? What do Ihave to do to make it work? Gs file is my working directory but for some reason it cannot be found..
da <- read.table(file.choose(),header=T,sep="\t") head(da) source("garchoxfit_R.txt") m1=garchOxFit(formula.mean=~arma(0,0),formula.var=~igarch(1,1),series=gs,include.var=F) Error in garchOxFit(formula.mean = ~arma(0, 0), formula.var = ~igarch(1, : object 'gs' not found -- View this message in context: http://r.789695.n4.nabble.com/object-gs-not-found-tp4103915p4103915.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.