bpfaff / vars

Multivariate Time Series Models: VAR, SVAR and SVEC
39 stars 22 forks source link

AIC in varselect #14

Open libedeutch opened 1 year ago

libedeutch commented 1 year ago

I noticed that when calculate AIC, the covariance matrix is calculated as crossword(resid), shouldn't it be tcrossprod(resid) or crossword(t(resid))? Thank you!

bpfaff commented 1 year ago

Did you mean crossprod()? Please, have a look at ?crossprod

Best wishes, Bernhard

Von: jyang @.> An: bpfaff/vars @.> Kopie: Subscribed @.**> Datum: 07.09.2022 02:17:52 Betreff: *[bpfaff/vars] AIC in varselect (Issue #14)

I noticed that when calculate AIC, the covariance matrix is calculated as crossword(resid), shouldn't it be tcrossprod(resid) or crossword(t(resid))? Thank you!

— Reply to this email directly, view it on GitHub[https://github.com/bpfaff/vars/issues/14], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ACM4F4FZWIHTZINMRMCT3XDV47NK5ANCNFSM6AAAAAAQGJHMGU]. You are receiving this because you are subscribed to this thread.[Verfolgungsbild][https://github.com/notifications/beacon/ACM4F4CDUF4AF42YDXGCVLTV47NK5A5CNFSM6AAAAAAQGJHMGWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFCTAEJA.gif]