Usage
curvetest(formula, data1 = NULL, data2 = NULL, equal.var = TRUE, alpha = 0.5, bw = NULL, plotit = TRUE, conf.level = 0.05, kernel = c("Triangle", "Gaussian", "Trio", "Uniform", "Triweight", "Epanechnikov", "Quartic"), nn = 100, myx = NULL, bcorrect = "simple",...)
curvetest.raw(fits1, fits2, equal.var, conf.level, plotit)
"print"(x,...)
Arguments
formula
A formula to the data set such as y~x.
data1
A data frame of 2 columns representing the underlying curve 1. The column names must agree with the names in formula.
data2
A data frame for curve 2. If it is NULL, the test is whether curve 1 is statistically equal to 0 over the defining domain.
equal.var
Whether the variances are equal. Default to TRUE.
alpha
Smoothing parameter.
bw
Window bandwidth for both curves.
plotit
WHether plot the fitted curves or not. Default: FALSE.
conf.level
The confidence level to claim the curves are different. Default: 0.05.
kernel
One of the kernel functions to use to fit the curves. Must be one of "Triangle", "Gaussian", "Trio","Uniform", "Triweight", "Epanechnikov",
"Quartic". partial match is allowed.
nn
Number of data points in the test domain to calculate the curve values.
myx
x-values in the test domain to calculate the curve values. If it is specified, nn will be suppressed.
bcorrect
Boundary correction method. Right now, except for 'none', meaning no corrections, the only other opton is 'simple'.
...
When plotit is true, plot parameters can be specified such as pch, lty, col etc.
fits1,fits2
The fitted results from fitting the first or second curve by curvefit procedure.
x
Test results from curvetest.