[R] coding problems

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Mar 9 10:49:48 CET 2006


Please look at the help page for arima.sim().  You first argument is being 
matched to 'rand.gen', and is not a function.

I suspect you meant to call arima().

On Tue, 7 Mar 2006, (s) Richard Nuttall wrote:

> hi,
>
> I am trying to fit an ARIMA model to some time series data, I have used differencing to make the data stationary.
>
> dailyibm is the data I am using, could someone please help out in identifying the coding as I can't seem to identify the problem
>
> many thanks
>
>> fit.ma <- arima.sim(dailyibm - mean(dailyibm), model=list(order=c(0,1,0)),n = 3333)
>
> Error in inherits(x, "data.frame") : couldn't find function "rand.gen"
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list