Debian Codegraph @

TODO

raw
1 TODO / Ideas see ---> ./Done for things finished
2 ------------ ~~~~~~
3
4 1. Now have class, but not yet residuals() & fitted(); predict()
5 1a. In any case, we want $residuals (as "arima"): ``the fitted innovations''
6
7 1c. fracdiff.sim(): think about making it an *generalization* of arima.sim,
8 maybe call the new function arfima.sim() and keep the old one as is.
9
10
11
12 2. call R's gammafn() and minimizers (Brent is there!), instead of "our own"
13
14 4. Consider the diverse filters, e.g. (0,d,0) --> (p,d,q)
15 Now started implementing and testing in *R* :
16 --> ./filters.R
17 ~~~~~~~~~~~
18 5. fracdiff() and fracdiff.var() share much code, including warning
19 message generation. Clean up! See 'FIXME' in R/fracdiff.R !
20
21 6. fracdiff.sim(): This really is a *filter* of the innovations.
22 in C: 1) eps_t --> fARIMA(0, d, 0) =: Y_t
23 2) Y_t --> fARIMA(p, d, q) =: Z_t i.e. a simple ARMA() filter
24 --> we should provide the "filter 1)" as a *separate* R function
25
26
27 8. Long-standing "Bug" / Problem:
28
29 set.seed(1); (fdc <- fracdiff(X <- fracdiff.sim(n=100,d=0.25)$series))$covariance.dpq
30 # d
31 # d 1.901027e-12
32
33 This is *clearly* too small: At least now added warning
34
35
36
37
38 Hessian --> covariance
39 ======================
40
41 3. For the hessian / covariance { src/fdhess.c } :
42 Think about trying several step-sizes and use stable ("optimal"?) one.
43
44 6. Currently C/Fortran uses old Linpack SVD and its own inverse, and
45 just returns warnings if things "fail" there.
46 Possibly rather do these in R, and possibly use
47 using chol() and chol2inv() rather than svd.
48
49 7. We should return \hat{\sigma_\epsilon} or
50 \hat{\sigma^2_\epsilon}
51 ---> is the new "wnv" (= white noise variance) ???