update.imprecise: Updating Imprecise Prior

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/update_imprecise.R

Description

The function update applies to the Bayes rule to the imprecise prior which is specified by "iprior" by taking data in the "model".

Usage

1
2
  ## S3 method for class 'imprecise'
 update(object, silent = FALSE, ...)

Arguments

object

an object of class imprecise produced from "iprior". See ‘Details’ for more information.

silent

a logical value; Would like to see the report of progress messages (including warnings and error messages) generated from numerical methods that are used for a numerical approximation? Defaults to FALSE.

...

Other named arguments to be passed to cpef and cpef2reg; needs to be matched exactly. See ‘Details’ for more information.

Details

The function update calls the functions of cpef and cpef2reg based on the formula specified in the model. Named arguements of ztrunc, method, and apriori are passed to those functions.

This update is the last stage on the imprecise inferential framework. stage has the environment name called.

method should be specified; Five options are available on the use of cpef; Three options are available on the use of cpef2reg. See the ‘Details’ of cpef and cpef2reg.

In general, MH is safe from numerical failure on parameter estimation with a small size of a sample. LA is the most effieint for a large size of a sample (say, n>5e2 for zero-truncated case).

Value

A list with the components:

m1

The list containing all information of parameter estimation.

method

The type of numerical method used for numerical approximation

xi

The numeric vector for prediction if provided.

Author(s)

Chel Hee Lee <gnustats@gmail.com>

References

Lee (2013) “Imprecise inferential framework”, PhD thesis.

See Also

iprior, model, cpef, cpef2reg

Examples

1
2
3
4
## Not run: 
##

## End(Not run)

ipeglim documentation built on May 2, 2019, 4:31 p.m.