Google News
logo
R - Interview Questions
What is a Random Walk model?
A random walk is the simplest example of a non-stationary process. A random walk has no specified mean or variance, strong dependence over time, and its changes or increments are white noise. Simulating random walk in R :

arima.sim(model=list(order=c(0,1,0)),n=40)->rw ts.plot(rw)
Advertisement