A system for performing regression testing on CSV format data files in LaTeX, written purely in Lua for use with LuaLaTeX.
Includes the ability to fit polynomials of multiple orders to data, and plot the results using PGFPlots.
Offers some additional features such as the ability to generate confidence intervals and perform
- Fit polynomials of multiple orders to data
- Generate confidence intervals
- Perform
$R^2$ tests on the data - Plot the results using PGFPlots
- Support for CSV format data files
- Written purely in Lua for use with LuaLaTeX
- Control significant figures in the output
- Add and remove equation and
$R^2$ from the legend. - Outputs equations and
$R^2$ values to LaTeX commands so they can be called in the document.
This package can be installed with a local LaTeX distribution (e.g. TeX Live, MikTeX), from CTAN.
Otherwise, you can clone the repository or download from
releases
and place the tex
folder in your texmf
local LaTeX directory.
Relevant documentation is included with each release.
This package is authored and maintained by George Allison
If you find a bug, please report it to the issue tracker on https://github.com/HaivuUK/lua-regression. Include a description of the bug, the version of LuaLaTeX you are using, and any relevant code or data files.
This project is licensed under the LPPL (LaTeX Project Public License), version 1.3c or later.