Re: [R] using exists with coef from an arima fit

2009-11-02 Thread Rolf Turner
On 2/11/2009, at 5:27 PM, Erin Hodgess wrote: Dear R People: I have the output from an arima model fit in an object xxx. I want to verify that the ma1 coefficient is there, so I did the following: xxx$coef ar1ar2ma1 intercept 1.3841297 -0.4985667 -0.996 -0.109

Re: [R] using exists with coef from an arima fit

2009-11-02 Thread Peter Ehlers
Erin Hodgess wrote: Dear R People: I have the output from an arima model fit in an object xxx. I want to verify that the ma1 coefficient is there, so I did the following: xxx$coef ar1ar2ma1 intercept 1.3841297 -0.4985667 -0.996 -0.1091657 str(xxx$coef) Named nu

[R] using exists with coef from an arima fit: please ignore

2009-11-01 Thread Erin Hodgess
Got it! There is an xxx$model$theta that does the trick. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodg...@gmail.com __ R-help@r-project.org maili

[R] using exists with coef from an arima fit

2009-11-01 Thread Erin Hodgess
Dear R People: I have the output from an arima model fit in an object xxx. I want to verify that the ma1 coefficient is there, so I did the following: > xxx$coef ar1ar2ma1 intercept 1.3841297 -0.4985667 -0.996 -0.1091657 > str(xxx$coef) Named num [1:4] 1.384 -0.499 -