Re: [R] jarquebera_test_results

2011-10-30 Thread David Winsemius
Szűcs Ákos wrote: > > Hi! > I got a loop where i print out the results of Jarque Bera tests, but I > have to put, the p-values in a vector. Can you help me how to do it in > an effective way and not just typing in the results to a vector? Thanks > a lot, here is the code: > for(i in 1:60){ > p

Re: [R] jarquebera_test_results

2011-10-30 Thread Dennis Murphy
Hi: I'd double check the form of the upper bound of the sequence. In the first case (i = 1), it uses the subvector loghozamok[1:220]; when i = 2, it uses the subvector loghozamok[21:260], etc. In the last case, it uses loghozamok[1181:1420]. If instead you want to split the vector into 60 groups o

[R] jarquebera_test_results

2011-10-30 Thread Szűcs Ákos
Hi! I got a loop where i print out the results of Jarque Bera tests, but I have to put, the p-values in a vector. Can you help me how to do it in an effective way and not just typing in the results to a vector? Thanks a lot, here is the code: for(i in 1:60){ print(jarque.bera.test(loghozamok[(