Allins "criteria" function package offers the option 'close this dialog
on "OK"'. II would like to use that in a function GUI, but I have been
unable to find it in criteria.gfn.
Any advice how to implement that in any function GUI would be very
welcome. (I hope that this is doable.)
looking at the reference for the movavg() function, it says (for the
simple p>1 case):
'...from period t to t−p+1. If a non-zero value is supplied for the
optional control parameter the MA is centered, otherwise it is “trailing”.'
Do I understand correctly that the part "period t to t-p+1" only refers
to the trailing case, strictly speaking -- because that is the concrete
trailing specification already? Or to put it differently, for non-zero
'control' and thus for a centered MA the given time indices are not
meant to apply, right?
Please, I have been trying to use a loop in finding an average point that
gives a threshold effect on the dependent variable giving a criterion (such
as lowest AIC or BIC).
Y = a + bX + c(X-X*) + e
Where Y is the dependent variable, and X is the independent variable.
Please, if anyone has ever done something like appreciate it if the code
can be shared.
I am eager to learn.