squareError.bmop: Square Error between bmop and true density

Description Usage Arguments Value Examples

View source: R/4-comparison-functions.R

Description

Square Error between bmop and true density

Usage

1
squareError.bmop(object, dtrue, lowerLimit = NULL, upperLimit = NULL, ...)

Arguments

object

bmop object

dtrue

function

...

optional arguments to be passed to dtrue

Value

Numeric, the square error between bmop denisty and true density

Examples

1
2
3
4
5
data<-rnorm(200)
bmop1<-bmop_fit(data)
bmopPar(mle=TRUE)
bmop2<-bmop_fit(data)
squareError.bmop(bmop1,dtrue=dnorm)

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