Math::LOESS::Prediction - Math::LOESS prediction and confidence intervals
version 0.0000_02
You normally don't need to construct object of this class yourself. Instead you get the object from an Math::LOESS object after its fit() method is called.
fit()
loess values evaluated at newdata.
Estimates of the standard error on the estimated values.
Estimate of the scale of the residuals.
Degrees of freedom of the loess fit.
It is used with the t-distribution to compute pointwise confidence intervals for the evaluated surface. It is obtained using the formula (one_delta ** 2) / two_delta
(one_delta ** 2) / two_delta
confidence($alpha=0.01)
Returns the confidence intervals for predicted values, as a hashref of { fit => $fit, upper => $upper, lower => $lower }, where $fit, $upper, $lower are piddles of same length as the values attr.
{ fit => $fit, upper => $upper, lower => $lower }
$fit
$upper
$lower
values
Math::LOESS
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2019 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Math::LOESS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::LOESS
CPAN shell
perl -MCPAN -e shell install Math::LOESS
For more information on module installation, please visit the detailed CPAN module installation guide.