Hello, Thanks for the reply Rui and for pointing out that I forgot to attach my code. Please find attached in this email my code and data. Thanks in advance. Best regards, Pedro Gerhardt Gavronski. On Fri, Feb 23, 2024 at 5:50?AM Rui Barradas <ruipbarradas at sapo.pt> wrote:> > ?s 16:34 de 22/02/2024, Pedro Gavronski. escreveu: > > Hello, > > > > My name is Pedro and it is nice to meet you all. I am having trouble > > understanding a message that I receive when use function ar.ols from > > package stats, it says that "Warning message: > > In ar.ols(x = dtb[2:6966, ], demean = FALSE, intercept = TRUE, > > prewhite = TRUE) : > > model order: 2 singularities in the computation of the projection > > matrix results are only valid up to model order 1, which I do not know > > what it means, if someone could clarify it, I would really appreciate > > it. > > > > Attached to this email you will find my code and data I used to run > > this formula. > > > > Thanks in advance. > > > > Best regards, Pedro. > > > > > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > 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. > Hello, > > Thanks for the data but the code is missing from the attachment. > Can you please post your code? In an attachment or directly in the > e-mail body. > > Rui Barradas > > > -- > Este e-mail foi analisado pelo software antiv?rus AVG para verificar a presen?a de v?rus. > www.avg.com-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test.txt URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20240223/50722a06/attachment.txt>
Hello, I apologize for not following the posting guidelines. Please find attached the data I am using and on the body of the email the code I am using. setwd("mydir") dtb <- read.table(file="test.txt",header = TRUE) ar.ols(x=dtb[2:6966,],demean=FALSE,intercept = TRUE, prewhite=TRUE) Thanks in advance. Best regards, Pedro. On Fri, Feb 23, 2024 at 6:59?AM Pedro Gavronski. <pggavronski at gmail.com> wrote:> > Hello, > > Thanks for the reply Rui and for pointing out that I forgot to attach > my code. Please find attached in this email my code and data. > > Thanks in advance. > > Best regards, Pedro Gerhardt Gavronski. > > On Fri, Feb 23, 2024 at 5:50?AM Rui Barradas <ruipbarradas at sapo.pt> wrote: > > > > ?s 16:34 de 22/02/2024, Pedro Gavronski. escreveu: > > > Hello, > > > > > > My name is Pedro and it is nice to meet you all. I am having trouble > > > understanding a message that I receive when use function ar.ols from > > > package stats, it says that "Warning message: > > > In ar.ols(x = dtb[2:6966, ], demean = FALSE, intercept = TRUE, > > > prewhite = TRUE) : > > > model order: 2 singularities in the computation of the projection > > > matrix results are only valid up to model order 1, which I do not know > > > what it means, if someone could clarify it, I would really appreciate > > > it. > > > > > > Attached to this email you will find my code and data I used to run > > > this formula. > > > > > > Thanks in advance. > > > > > > Best regards, Pedro. > > > > > > > > > ______________________________________________ > > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > > 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. > > Hello, > > > > Thanks for the data but the code is missing from the attachment. > > Can you please post your code? In an attachment or directly in the > > e-mail body. > > > > Rui Barradas > > > > > > -- > > Este e-mail foi analisado pelo software antiv?rus AVG para verificar a presen?a de v?rus. > > www.avg.com-------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test.txt URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20240223/dd1ae927/attachment.txt>
The data came through fine, the program was a miss. Can you paste the program into a ".txt" document like a notepad file and send that? You could also paste it into your email IF your email is configured to send text and NOT html. TIm -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Pedro Gavronski. Sent: Friday, February 23, 2024 5:00 AM To: Rui Barradas <ruipbarradas at sapo.pt> Cc: r-help at r-project.org; r-help-request at r-project.org Subject: Re: [R] help - Package: stats - function ar.ols [External Email] Hello, Thanks for the reply Rui and for pointing out that I forgot to attach my code. Please find attached in this email my code and data. Thanks in advance. Best regards, Pedro Gerhardt Gavronski. On Fri, Feb 23, 2024 at 5:50?AM Rui Barradas <ruipbarradas at sapo.pt> wrote:> > ?s 16:34 de 22/02/2024, Pedro Gavronski. escreveu: > > Hello, > > > > My name is Pedro and it is nice to meet you all. I am having trouble > > understanding a message that I receive when use function ar.ols from > > package stats, it says that "Warning message: > > In ar.ols(x = dtb[2:6966, ], demean = FALSE, intercept = TRUE, > > prewhite = TRUE) : > > model order: 2 singularities in the computation of the > > projection matrix results are only valid up to model order 1, which > > I do not know what it means, if someone could clarify it, I would > > really appreciate it. > > > > Attached to this email you will find my code and data I used to run > > this formula. > > > > Thanks in advance. > > > > Best regards, Pedro. > > > > > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://st/ > > at.ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=05%7C02%7Ctebert%40ufl > > .edu%7C0afd65836d774adc099408dc349f53c7%7C0d4da0f84a314d76ace60a6233 > > 1e1b84%7C0%7C0%7C638443106144255449%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi > > MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C > > %7C&sdata=12OGc13jk3Lejmcvx5WH8Bko8JSpRxbtW3mzL3OIjyk%3D&reserved=0 > > PLEASE do read the posting guide > > http://www/ > > .r-project.org%2Fposting-guide.html&data=05%7C02%7Ctebert%40ufl.edu% > > 7C0afd65836d774adc099408dc349f53c7%7C0d4da0f84a314d76ace60a62331e1b8 > > 4%7C0%7C0%7C638443106144262387%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL > > jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&s > > data=fAVz0iQ0zS5pmrxrzNeazRrrv%2FyjFdWvwMfgjhibdEA%3D&reserved=0 > > and provide commented, minimal, self-contained, reproducible code. > Hello, > > Thanks for the data but the code is missing from the attachment. > Can you please post your code? In an attachment or directly in the > e-mail body. > > Rui Barradas > > > -- > Este e-mail foi analisado pelo software antiv?rus AVG para verificar a presen?a de v?rus. > http://www.a/ > vg.com%2F&data=05%7C02%7Ctebert%40ufl.edu%7C0afd65836d774adc099408dc34 > 9f53c7%7C0d4da0f84a314d76ace60a62331e1b84%7C0%7C0%7C638443106144266047 > %7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I > k1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=rdqEhXdZ5%2FThzbhuKgspNaBPyhf > aC%2BWh7MFq4iq%2BxVE%3D&reserved=0