Displaying 1 result from an estimated 1 matches for "1a1i_a_phi_psi_pot_r_k".
2012 Mar 31
1
Is this is correct way to calculate AIC value for time series ?
i have attached time series file
http://r.789695.n4.nabble.com/file/n4521545/1A1I_A_phi_psi_pot_r_k.txt
1A1I_A_phi_psi_pot_r_k.txt
i am not understanding formula() function,but what i read,from that
1 st method:-
> t<-read.table(file.choose()) #choosing attached file
> lm<-lm(t$V1~ 1) # i used Tilde sign
> loglik<-logLik(lm)
> AIC(loglik)
--------------------------------...