#113 periodic dummies pass into the gretl functions

closed-fixed
5
2009-07-28
2009-07-28
No

(gretl from yesterdays cvs on kubuntu linux).
I found that if I create periodic dummies before calling a function that
also creates these dummies, the dummies appear twice. So the external dummies are
passing inside the function in some way. I think this should not occur.

Example script:
<script>
function seasonal_function(series Y)
set echo on
genr time
genr dummy
list seasonal = dq*
list seasonal print
ols Y time seasonal
series dseas=$uhat
return series dseas
end function

open data9-3.gdt
genr dummy
series dreskwh = seasonal_function(reskwh)
</script>

Discussion

  • Allin Cottrell
    Allin Cottrell
    2009-07-28

    Thanks for the report. A fix is in the works but I still need to
    check it for unwanted side effects.

     
  • Allin Cottrell
    Allin Cottrell
    2009-07-28

    • labels: --> Script commands
     
  • Allin Cottrell
    Allin Cottrell
    2009-07-28

    • assigned_to: nobody --> allin
     
  • Allin Cottrell
    Allin Cottrell
    2009-07-28

    • status: open --> closed-fixed