getWV: Test Equality of Curves with Homoscedastic or Heteroscedastic...

Description Usage Arguments Details Value

View source: R/getWV.R

Description

This is a utility function.

Usage

1
getWV(x, myx, kernel = kernel, alpha = NULL, bw = NULL, bc = "simple", getit =TRUE)

Arguments

x

The x values in the data set that defines the curve.

myx

The x-values in the x-domain that will be used to calculate the curve values.

kernel

Kernel functions.

alpha

Smoothing parameter.

bw

Bandwidth. If both alpha and bw are specified, hh will be used instead.

bc

Boundary correction method.

getit

Logical, tell the algorithm whether to calculate or to laod the file to speed up calculation.

Details

This function will accomplish the bulk load of calculations in the algorithm. If getit=TRUE, the algorithm will run the calculation and save the result in somewhere for future load. Otherwise, it will just load the saved output. This will save a lot of time when do a simulation for a large number of iterations.

Value

The function will return the calculated k0, delta,delta2, degree of freedon vv, etc that will be used in the curve fit and test step.


curvetest documentation built on May 29, 2017, 8:46 p.m.

Related to getWV in curvetest...