[R] star models
Setlhare Lekgatlhamang
SetlhareL at bob.bw
Thu Sep 2 16:43:33 CEST 2010
Hi,
Have you gotten help on this?
Lexi
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of malda at unizar.es
Sent: Saturday, August 28, 2010 5:08 PM
To: r-help at r-project.org
Subject: [R] star models
Hi,
I am traying to implement an STAR model, but I have some problems.
I am following the instruction of the model, that they are in:
http://bm2.genes.nig.ac.jp/RGM2/R_current/library/tsDyn/man/star.html
that they are from:
http://bm2.genes.nig.ac.jp/RGM2/pkg.php?p=tsDyn
The model is:
star(x, m=2, noRegimes, d = 1, steps = d, series, rob = FALSE, mTh,
thDelay, thVar, sig=0.05, trace=TRUE, control=list(), ...)
I have implemented the example:
mod.star <- star(log10(lynx), m=2, mTh=c(0,1), control=list(maxit=3000))
mod.star
However, when I put my variables from my data.frame, R does not find
my variables, so, for this reason I have try to create a matrix with
my data variables, and to implement the model with the matrix, but I
can not create the matrix, either.
Please, could someone help me to implement this model?
Thanks.
Mercedes.
______________________________________________
R-help at 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.
DISCLAIMER:\ Sample Disclaimer added in a VBScript.\ ...{{dropped:3}}
More information about the R-help
mailing list