alKDEjack: Arc length matching for kernel density estimators.

Description Usage Arguments Details Value Methods (by class)

Description

Bias corrected jackknife estimates, along with standard errors and confidence intervals, of a linear model, resulting from arc length matching of kernel density estimates.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
alKDEjack(formula, data = list(), xin, q1, q2, type, jackName, ...)

## Default S3 method:
alKDEjack(formula, data = list(), xin, q1, q2, type,
  jackName, ...)

## S3 method for class 'alKDEjack'
print(x, ...)

## S3 method for class 'alKDEjack'
summary(object, ...)

## S3 method for class 'summary.alKDEjack'
print(x, ...)

## S3 method for class 'formula'
alKDEjack(formula, data = list(), xin, q1, q2, type,
  jackName, ...)

## S3 method for class 'alKDEjack'
predict(object, newdata = NULL, ...)

Arguments

formula

An LHS ~ RHS formula, specifying the linear model to be estimated.

data

A data.frame which contains the variables in formula.

xin

Numeric vector of length equal to the number of independent variables, of initial values, for the parameters to be estimated.

q1, q2

Numeric vectors, for the lower and upper bounds of the intervals over which arc lengths are to be computed.

type

An integer specifying the bandwidth selection method used, see bw.

jackName

The name of the .rds file to store the alKDEjack object. May include a path.

...

Arguments to be passed on to the control argument of the optim function.

x

An alKDEjack object.

object

An alKDEjack object.

newdata

The data on which the estimated model is to be fitted.

Details

On systems where the pbdMPI package is available, this code will run in parallel.

Value

A generic S3 object with class alKDEjack.

alKDEjack.default: A list object (saved using saveRDS in the specified location) with the following components:

summary.alKDEjack: A list of class summary.alKDEjack with the following components:

print.summary.alKDEjack: The object passed to the function is returned invisibly.

predict.alKDEjack: A vector of predicted values resulting from the estimated model.

Methods (by class)


mtloots/alR documentation built on May 23, 2019, 8:18 a.m.