Here is a GW model that I wrote. it keeps coming up with results that dont correlate with what I can see out of the window
do I get a grant
gAveTemp = select ave(annualTemp) from TblResults
do while not tblResults.eof
plotpoint = plotpoint +1
if annualtemp >= gAvetemp then plotpoint(1,2) = annualtemp
elseif annualtemp < gAvetemp then plotpoint(1,2) = AnnualTemp + rnd(1-6,6) 'add a +ve trend
endif
plotpoint(1,2) = plotpoint(1,2) + (currentyear -1998) * 0.1 'wow a hockey stick
TblResults.movenext
loop
do I get a grant
gAveTemp = select ave(annualTemp) from TblResults
do while not tblResults.eof
plotpoint = plotpoint +1
if annualtemp >= gAvetemp then plotpoint(1,2) = annualtemp
elseif annualtemp < gAvetemp then plotpoint(1,2) = AnnualTemp + rnd(1-6,6) 'add a +ve trend
endif
plotpoint(1,2) = plotpoint(1,2) + (currentyear -1998) * 0.1 'wow a hockey stick
TblResults.movenext
loop
Comment