This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
howtos:feedback:tracking_method_-_deviation_ratio_multiplier [2011/05/02 19:01] shona.weldon created |
howtos:feedback:tracking_method_-_deviation_ratio_multiplier [2011/10/20 14:15] shona.weldon |
||
---|---|---|---|
Line 37: | Line 37: | ||
local varLI[tsTrack] = extract (sum (USGDPConDollar[esect,ts][2]; dim=econSector); time:$trackStartYr..$trackEndYr) | local varLI[tsTrack] = extract (sum (USGDPConDollar[esect,ts][2]; dim=econSector); time:$trackStartYr..$trackEndYr) | ||
- | local devRatio[tsTrack] = varTarget[tsTrack] - varLI[tsTrack] / varTarget[tsTrack] | + | local devRatio[tsTrack] = varTarget[tsTrack] - varLI[tsTrack] / varTarget[tsTrack] |
!table (devRatio[tsTrack], varTarget[tsTrack], varLI[tsTrack]; overlay=on) | !table (devRatio[tsTrack], varTarget[tsTrack], varLI[tsTrack]; overlay=on) | ||
+ | !display (devRatio[tsTrack]) | ||
local creVarLI[com,ts] | local creVarLI[com,ts] | ||
if ($fbViewIteration == 1) | if ($fbViewIteration == 1) | ||
Line 46: | Line 47: | ||
endif | endif | ||
- | local numNotConv[] = sum (boolgt (devRatio[tsTrack], $fbViewTolerance); dim=all) | + | local numNotConv[] = sum (boolgt (abs (devRatio[tsTrack]), $fbViewTolerance); dim=all) |
integer $numNotConv | integer $numNotConv | ||
getobjinfo(numNotConv[], $numNotConv; info=dataElement) | getobjinfo(numNotConv[], $numNotConv; info=dataElement) | ||
Line 69: | Line 70: | ||
quit(1) | quit(1) | ||
- | </file? | + | </file> |