find_best_fp1_for_acd {mfp2}R Documentation

Function to fit univariable FP1 models for acd transformation

Description

To be used in fit_acd().

Usage

find_best_fp1_for_acd(x, y, powers)

Arguments

x

a numeric vector.

y

normal cdf of rank transform of x.

powers

a vector of allowed FP powers. The default value is NULL, meaning that the set S = (-2, -1, -0.5, 0, 0.5, 1, 2, 3) is used.

Value

The best FP power with smallest deviance and the fitted model.


[Package mfp2 version 1.0.0 Index]