The following example is the beginning of a script for computing Fisher stat
repeatedly:
loop for i= 0..10
ols Y const X(0 to -$i)
genr SR$i = $ess
genr DL$i = ($nobs- $i -$ncoeff)
endloop
Then I want to create a loop in order to compute FISHER = (SR(i) - SR(i+1))/
(DL(i)-DL(i+1))/(SR(i+1)/D(i+1))
I tried different tricks, but couldn't find out any solution yet