Dear all, The standard call to ARIMA in the base package such as arima(y,c(5,0,0),include.mean=FALSE) gives a full 5th order lag polynomial model with for example coeffs Coefficients: ar1 ar2 ar3 ar4 ar5 0.4715 0.067 -0.1772 0.0256 -0.2550 s.e. 0.1421 0.158 0.1569 0.1602 0.1469 Is it possible (I doubt it but am just checking) to define a more parsimonous lag1 and lag 5 model with coeff ar1 and ar5? Or do I need one of the other TS packages? thanks Gerard ********************************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. It is the policy of the Department of Justice, Equality and Law Reform and the Agencies and Offices using its IT services to disallow the sending of offensive material. Should you consider that the material contained in this message is offensive you should contact the sender immediately and also mailminder[at]justice.ie. Is le haghaidh an duine n? an eintitis ar a bhfuil s? d?rithe, agus le haghaidh an duine n? an eintitis sin amh?in, a bhearta?tear an fhaisn?is a tarchuireadh agus f?adfaidh s? go bhfuil ?bhar faoi r?n agus/n? faoi phribhl?id inti. Toirmisctear aon athbhreithni?, atarchur n? leathadh a dh?anamh ar an bhfaisn?is seo, aon ?s?id eile a bhaint aisti n? aon ghn?omh a dh?anamh ar a hiontaoibh, ag daoine n? ag eintitis seachas an faighteoir beartaithe. M? fuair t? ? seo tr? dhearmad, t?igh i dteagmh?il leis an seolt?ir, le do thoil, agus scrios an t-?bhar as aon r?omhaire. Is ? beartas na Roinne Dl? agus Cirt, Comhionannais agus Athch?irithe Dl?, agus na nOif?g? agus na nGn?omhaireachta? a ?s?ideann seirbh?s? TF na Roinne, seoladh ?bhair chol?il a dh?chead?. M?s rud ? go measann t? gur ?bhar col?il at? san ?bhar at? sa teachtaireacht seo is ceart duit dul i dteagmh?il leis an seolt?ir l?ithreach agus le mailminder[ag]justice.ie chomh maith. ***********************************************************************************
Gerard M. Keogh wrote:> > Dear all, > > The standard call to ARIMA in the base package such as > > arima(y,c(5,0,0),include.mean=FALSE) > > gives a full 5th order lag polynomial model with for example coeffs > > Coefficients: > ar1 ar2 ar3 ar4 ar5 > 0.4715 0.067 -0.1772 0.0256 -0.2550 > s.e. 0.1421 0.158 0.1569 0.1602 0.1469 > > > Is it possible (I doubt it but am just checking) to define a more > parsimonous lag1 and lag 5 model with coeff ar1 and ar5? > Or do I need one of the other TS packages?You can specify the "fixed" argument (with transform.pars=FALSE): > arima(x, c(5, 0, 0), fixed=c(NA, 0, 0, 0, NA), include.mean=FALSE, transform.pars=FALSE) Call: arima(x = x, order = c(5, 0, 0), include.mean = FALSE, transform.pars = FALSE, fixed = c(NA, 0, 0, 0, NA)) Coefficients: ar1 ar2 ar3 ar4 ar5 -0.0483 0 0 0 0.1355 s.e. 0.1010 0 0 0 0.1031 -- Gad Abraham Dept. CSSE and NICTA The University of Melbourne Parkville 3010, Victoria, Australia email: gabraham at csse.unimelb.edu.au web: http://www.csse.unimelb.edu.au/~gabraham