|
Put of data to a regression code |
Top Previous Next |
|
Here we put data for use in a program like SPSS. We use puts to print out fixed formatted files.
file tosass; put tosass; loop(run, put run.tl; put @12; put /; loop(decwant,s= fawelsum( "Agconswelf",decwant,run)/1000;put s:13:0;); put /; loop(decwant,s= fawelsum( "AGGOVTCOST",decwant,run)/1000;put s:13:2;); put /; loop(decwant,s= agtable(decwant,"agtradbal",run)/1000;put s:13:2;); put / ; ) put / ;
Sample of Data saved
r1 30 40 50 60.00 70.00 80.00 7.56 15.11 22.67 r2 40 50 60 70.00 80.00 90.00 7.56 15.11 22.67 r3 50 60 70 80.00 90.00 100.00 7.56 15.11 22.67
Each set of lines gives the case name for one model run followed by the data points. |