[R] Data
barb
mainzel89 at hotmail.com
Wed Sep 21 00:28:06 CEST 2011
Hey everybody,
i am using the rugarch-package and its great!
I have a pretty easy problem, but i just dont get it, so thanks if you can
help me.
Normally i use:
/
data(DATANAME)
spec = ugarchspec()
fit = ugarchfit(data = x[,1], spec = spec)
fit
slotNames(fit)
names(fit at fit)
coef(fit)
infocriteria(fit)
likelihood(fit)
nyblom(fit)
signbias(fit)
head(as.data.frame(fit))
head(sigma(fit))
head(residuals(fit))
head(fitted(fit))
gof(fit,c(20,30,40,50))
uncmean(fit)
uncvariance(fit)
plot(fit,which="all")/
I want to use my data now.
I figured out how to load excel sheets.
setwd("C:/Users/UserofComputer/Desktop")
data <- read.csv2("Dataname.csv",header=T)
attach(data)
x <- CGE[200:1]
dx <- diff(log(x))
How is my "Dataname" now safed?
I cant use it as data(dataname) unfortunately.
Where is my mistake?
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/Data-tp3828343p3828343.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list