For example I have a time series Q(t) ~ Q(t-1) + Q(t-2) + Q(t-3)
meaning that my current value is dependent to the 3 previous values. Can anybody help me express this in a formula that I can use for my neural network model (I am planning to use packages "nnet" and "MASS") -- View this message in context: http://n4.nabble.com/how-to-express-time-series-linear-model-Q-t-Q-t-1-Q-t-n-as-a-formula-tp1401479p1401479.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.