nlsJKnife: NLS Jackknife

Description Usage Arguments Details Value

Description

Perform the Jackknife for a fitted nls model.

Usage

1
nlsJKnife(object, statistic = coef)

Arguments

object

A fitted nls object.

statistic

A function that takes a fitted nls object as its first argument and returns a vector of test statistics.

Details

The user must provide a function to compute the test statistic from a fitted nls object. The test statistic is computed for each jacknife sample.

If nls fails to converge for any of the jackknife samples, the routine will fail and the results are undefined.

Value

Returns an object of class nlsJKnife containing

call

the matched call

statistic

the test statistic

nls

the fitted nls object

jknife

an array of jackknife samples


SWotherspoon/nlsaux documentation built on May 31, 2019, 8:41 a.m.