Code: Select all
compute varlabels=|| $
"Australia",$
"Canada",$
"France",$
"Germany",$
"Italy",$
"Japan",$
"NZ",$
"UK",$
"USA"||
declare vect[strings] varlabels(9)
...........
compute counter = 0
While counter < 10
{ dofor p = LAUS LCAN LFRA LGER LITA LJAP LNZ LUK LUS
compute counter = counter + 1
graph(header = "RGDP per capita: "+varlabels(counter),vlabel="Natural log") 1
# p
end dofor}
end while
## SX1. Identifier VARLABELS is Already in use as a(n) RECTANGULAR[STRING]
I can't see how this set-up is different from the IRF example. I've used the dofor instruction instead of the while function in various attempts.