psi2propII: Convert to Proposal 2 weight function

psi2propIIR Documentation

Convert to Proposal 2 weight function

Description

Converts the psi_func object into a function that corresponds to Proposal 2, i.e., a function of the squared weights. The other elements of the psi_func object are adapted accordingly.

Usage

psi2propII(object, ..., adjust = FALSE)

## S4 method for signature 'psi_func_rcpp'
psi2propII(object, ..., adjust = FALSE)

Arguments

object

instance of Rcpp_PsiFunction class to convert

...

optional, new default arguments passed to chgDefaults.

adjust

logical, whether tuning parameters should be adjusted automatically, such that the scale estimate has the same asymptotic efficiency as the location estimate.

Examples

par(mfrow=c(2,1))
plot(smoothPsi)
plot(psi2propII(smoothPsi))

kollerma/robustlmm documentation built on Jan. 14, 2024, 2:18 a.m.