makeobject: Making object for computation

Description Usage Arguments Details

View source: R/npfixedcompR.R

Description

These functions are used to make the object for computing the non-paramtric mixing distribution or estimating the proportion of zero using non-parametric methods.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
makeobject(v, method = "npnormll", ...)

makeobject.npnormad(v, mu0, pi0, beta, order)

makeobject.npnormadw(v, mu0, pi0, beta, order = -3)

makeobject.npnormcll(v, mu0, pi0, beta, order)

makeobject.npnormcvm(v, mu0, pi0, beta, order)

makeobject.npnormcvmw(v, mu0, pi0, beta, order = -3)

makeobject.npnormll(v, mu0, pi0, beta, order)

makeobject.npnormllw(v, mu0, pi0, beta, order = -3)

makeobject.nptll(v, mu0, pi0, beta, order)

Arguments

v

the object either numeric or the implmented family

method

An implemented family; see details

...

other parameter passed to the constructor.

mu0

A vector of support points

pi0

A vector of weights corresponding to the support points

beta

structual parameter.

order

the parameter for the binned version.

Details

This is a generic function for making the object for computing the non-parametric mixing distribution or estimating the proportion of zero.

current implemented families are:

The default method used is npnormll.

The detailed description of the npfixedcompRobject class is in npfixedcompRobject.


xiangjiexue/npfixedcompR documentation built on Jan. 1, 2021, 11:39 p.m.