[R] what package does the mesh function need
Hello, I tried to plot some 3d-plots with the 'mesh' function, but I allways get the message 'Fehler: konnte Funktion "mash" nicht finden' in english this means 'error: can't find the function "mesh"'. Do I need another package? I didn't found anything in the web this afternoon, only descriptions how to use the function. I looked up a lot of function-lists in the documentation, but there I didn't found the function. Greets Paka -- View this message in context: http://r.789695.n4.nabble.com/what-package-does-the-mesh-function-need-tp4642209.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.
[R] little help with Nonlinear regression needed
Hello as the subject says I need a little help with following nonlinear regression y(t) = a + b*x(t-1)+c*y_(t-1)+G*(a+b*x_(t-1)) where G=[1 + exp(-s(x_(t-1) - k)]^(-1) (In reality there are more variables) Please could anybody give me a hint how I can estimate this?? Should I use nls()? what parameter settings would I use then? And one more: how would I estimate it if the independant variables werent lagged, would it make a difference? Your help is much appreciated!! Thank you ___ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die __ 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.
[R] Is the Diebold Mariano Test in forecast package adjusted?
Hello I would like to know if the Diebold Mariano Test in the forecast Package is adjusted to small samples (as Harvey, Leybourne, Newbold suggest) If not, how can I do that manually? Paka __ 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.
[R] out of sample forecast
Hello I have model that is: lm(y~ lag(x, -1) + lag(z, -1) so basically a time series regression with exogen variables And I want to make rolling out of sample forecasts, meaning that: I first use a subsample (e.g. 1990 -1995) for estimating, then I perform a one step ahead forecast, then I add one observation and make another one step ahead forecast and so on I have tried to work with rollapply and defining the model as arima(0,0,0) with xreg=lags of the other varibles, but that doesnt work. Please, if you could point me to a solution, your help is much appreciated! Chris __ 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.