Hi,
how to estimate a the following model in R:
y(t)=beta0+beta1*x1(t)+beta2*x2(t)+...+beta5*x5(t)+beta6*y(t-1)+beta7*y(t-2)+beta8*y(t-3)
1) using "lm" :
dates <- as.Date(data.df[,1])
selection<-which(dates>=as.Date("1986-1-1") &
dates<=as.Date("2007-12-31"))
dep <- ts(data.df[selection,c("dep
__
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.
Hi,
has anyone experience or an example how to setup a state space model for time
varying regression coefficient estimates in R and how to get the filtered
coefficient estimates.
The model looks like
y(t) = a(t)'*x(t)+u(t)
where y(t) and x(t) are the obse
3 matches
Mail list logo