[R] re siduals in arima

2009-07-29 Thread m.gharbi
Hi, I'm working on a multivariate ARIMA model. I have 2 time series and found for each an ARIMA model I'd like to know how are calculated the residuals of my arima model using residuals() function in R ? Is it as I think predicted values (from ARIMA model) - observed values ? Is it relevant to

[R] re siduals

2009-04-09 Thread kayj
Hi All, I am trying to fit a linear regression between the tool speed and the tool type ( type A, Type B , Type C) where the response is the tool speed and the regressor is the tool type. I introduced two dummy variables X1 and X2 as follows X1 X2 Tool A 0 0 Tool B 0 1 To

Re: [R] Re siduals from a linear model

2008-11-18 Thread Greg Snow
oject.org] On Behalf Of Manuel Ramon > Sent: Tuesday, November 18, 2008 2:23 AM > To: r-help@r-project.org > Subject: [R] Re siduals from a linear model > > > I'm working with a linear model with four factors as explicatory > variables, > being all of them significally (e

[R] Re siduals from a linear model

2008-11-18 Thread Manuel Ramon
I'm working with a linear model with four factors as explicatory variables, being all of them significally (e.g. y ~ a + b + c + d). I thought that the residuals of a linear model keep the variance not explained by the model, so if I use my model with just three factors (y ~ a + b + c) and keep th

Re: [R] re siduals from pcaiv

2008-01-18 Thread Mark Difford
Hi Nikolaos, >> How can I extract the residuals from a pcaiv/rda in ade4? >From what you can remember, you can get them as follows (ade4): ## If your call to pcaiv was as follows: pcaiv(dudi$obj, df=FactorIV, scannf=F, nf=4) ## then get your residuals as follows: ortho <- pcaivortho(dudi$obj,