Well, the easiest way would be to use SAS ;-)
In R take a look at the ar() function. You can view documentation by
typing ?ar at the console and see some worked examples by running
example(ar)
Hope this helps,
Michael
On Fri, May 18, 2012 at 12:11 AM, anil <anilshivkumar at gmail.com>
wrote:> Hi,
>
> I want to find out, how can i get a SAS like output for Proc Autoreg with
> AR(1) and AR(2) terms.
>
>
> Thanks...
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/Proc-AutoReg-SAS-like-Output-in-R-tp4630468.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.