sampler.mle_boot: Method for sampling from an 'mle_boot' object.

View source: R/mle_boot.R

sampler.mle_bootR Documentation

Method for sampling from an 'mle_boot' object.

Description

It creates a sampler for the 'mle_boot' object. It returns a function that accepts a single parameter 'n' denoting the number of samples to draw from the 'mle_boot' object.

Usage

## S3 method for class 'mle_boot'
sampler(x, ...)

Arguments

x

the 'mle_boot' object to create sampler for

...

additional arguments to pass (not used)

Details

Unlike the 'sampler' method for the more general 'mle' objects, for 'mle_boot' objects, we sample from the bootstrap replicates, which are more representative of the sampling distribution, particularly for small samples.


queelius/algebraic.mle documentation built on Jan. 29, 2025, 3:23 p.m.