Chart::GGPlot::Util::Stats - Utility statistics functions
version 0.0007
Functions in this module are used by Chart::GGPlot::Stat::Smooth.
Each function returns a Data::Frame object which has a column named "fit" for smooth fit values for given argument $xseq. And if argument $se is a true value, the result data frame would have additonal two columns "ymin" and "ymax" for confidence interval.
"fit"
$xseq
$se
"ymin"
"ymax"
loess(:$x, :$y, :$weights, :$xseq, :$span=0.75, :$se=false, :$level=0.95, :$degree=2, :$parametric=undef, :$drop_square=undef, :$normalize=true, :$family='gaussian')
This function requires Math::LOESS.
See Math::LOESS::Model for details of the arguments.
glm(:$x, :$y, :$xseq, :$se=false, :$level=0.95, $family='gaussian')
This function requires PDL::Stats::GLM and PDL::GSL::CDF.
Chart::GGPlot::Stat::Smooth
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 Chart::GGPlot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::GGPlot
CPAN shell
perl -MCPAN -e shell install Chart::GGPlot
For more information on module installation, please visit the detailed CPAN module installation guide.