If the argument bothVals is FALSE, the robust final prediction error (numeric). Otherwise,
the two terms of the RFPE expression in equation (5.39), Section 5.6.2 of Maronna
et al. (2019), http://www.wiley.com/go/maronna/robust, are returned separately
in a list with components named minRhoMM.C and penaltyRFPE
Arguments
object
the MM element (of class lmrob) in an object of class lmrobdetMM.
scale
a numeric value specifying the scale estimate used to compute the RFPE. Usually this
should be the scale estimate from an encompassing model. If NULL, the scale estimate in
object is used.
bothVals
a logical value: if TRUE the function returns the two terms of the RFPE expression separately (equation
(5.39) in the reference book); otherwise, the value of RFPE is returned.