Skip to content
Back to formatted view

Raw Message

Message-ID: <1320937256960-4023903.post@n4.nabble.com>
Date: 2011-11-10T15:00:56Z
From: bonda
Subject: efpFunctional construction (strucchange package)

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.