emBspl: Direct B-spline estimation.

Description Usage Arguments Details Value See Also

View source: R/npbin.R

Description

Direct B-spline estimation.

Usage

1
2
3
emBspl(x, m, p, breaks = seq(0, 1, length.out = 101), k = 4,
  pi.init = rep(1, length(breaks) + k - 4)/(length(breaks) + k - 4),
  ncores = 1, err.max = 1e-05, iter.max = 200)

Arguments

x

x

m

m

p

p

breaks

breaks

k

Spline order

pi.init

Initial weights

ncores

Number of cores to use

err.max

err.max

iter.max

Max iterations

Details

Estimate the overall model directly via B-spline. Remove the basis that only covers bin at the boundary.

Value

List describing optimized model

See Also

Other comparison functions: betaTrim_mle, ebBeta


anthony-aylward/npbin documentation built on Aug. 22, 2019, 8:08 a.m.