I have the following simple routine that rotates through all the members of the group 'all' and returns the statistics for the Jarque-Bera and Lilliefors tests. I would like the row headings to be the series names. How do I go about doing this? Here is the code so far:
Code: Select all
matrix(all.@count, 4) lilliefors
freeze(jarquetable) all.stats
!rowcounter=1
for !i=1 to all.@count
%n = all.@seriesname(!i)
freeze(normtable) {%n}.edftest
lilliefors(!rowcounter,1) = @val(normtable(9,2))
lilliefors(!rowcounter,2) = @val(normtable(9,4))
d normtable
lilliefors(!rowcounter,3) = @val(jarquetable(14,1 + !i))
lilliefors(!rowcounter,4) = @val(jarquetable(15,1 + !i))
!rowcounter=!rowcounter+1
next
d jarquetable