[R] efpFunctional construction (strucchange package)

bonda bonda at hsu-hh.de
Thu Nov 10 16:00:56 CET 2011


Hello,

to understand better how efpFunctional works, I'm trying to construct my own
functionals. But concerning already existing functionals I have some
questions. With maxBB it is clear:

functional = list(comp = function(x) max(abs(x)), time = max),

with rangeBB:

functional = list(time = function(x) max(x)-min(x), comp = max),

with meanL2BB, if I understood correctly:

functional = list(comp = function(x) sum(x^2), time = mean).

How can I write a functional supLM(from=..., to=...)?

Thank you in advance.

Julia

--
View this message in context: http://r.789695.n4.nabble.com/efpFunctional-construction-strucchange-package-tp4023903p4023903.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list