find_best_fp1_for_acd: Function to fit univariable FP1 models for acd transformation

View source: R/acd.R

find_best_fp1_for_acdR 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.


mfp2 documentation built on Nov. 15, 2023, 1:06 a.m.