radial_basis_fun: Radial basis

Description Usage Arguments Details Value References Examples

Description

Radial basis

Usage

1
radial_basis_fun(x, int_knots, p, r = 1, theta = 2)

Arguments

x

A vector of a predictor variable.

int_knots

A vector containing the interior knots.

p

A value specifying the degree of the polynomial.

theta

OPTIONAL: A value specifying the range parameter.

Details

Let the i, j value of Z_p be exp( - abs(x_i - k_j)^p / theta) and the i, j value of Omega be exp( - abs(k_i - k_j)^p / theta), then Z = Z_p is required to be able to use this matrix in the mixed model framework.

Value

Z A radial basis matrix dimensions = n x k where n equals the length of x and k equals the length of int_knots.

References

\insertRef

wand2003unequalgroupoutlier

Examples

1
radial_basis_fun(x = c(1:9), k = c(2:4), p = 3)

cshannum/unequalgroupoutlier documentation built on May 13, 2019, 11:10 a.m.