search_bmop: Greedy penalized log-likelihood search

Description Usage Arguments Value Examples

View source: R/2-estimation-functions.R

Description

Aproximation of a density f(x_1,…,x_n) or conditional density

Usage

1
2
search_bmop(data, conditional = F, k = Rbmop::bmopPar()$k,
  corrected = FALSE, knotsMethod = Rbmop::bmopPar()$knotsMethod, ...)

Arguments

data

data.frame, matrix or vector, the variables must be in the right order (the columns of data)

conditional

logical

k

positive number or "BIC"

corrected

logical

knotsMethod

the method to use in knots generation

...

additional parameters

Value

A bmop object, the aproximations of f.

Examples

1
2
3
data<-rnorm(100)
bmopS<-search_bmop(data=data)
plot(bmopS)

gherardovarando/Rbmop documentation built on May 17, 2019, 4:17 a.m.