Verzeichnis macros/luatex/latex/lua-regression
LuaLaTeX Regression
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 $R^2$ tests on the data.
Features
- 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.
Installation
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.
Documentation
Relevant documentation is included with each release.
Authors
This package is authored and maintained by George Allison
Bug Reporting
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.
License
This project is licensed under the LPPL (LaTeX Project Public License), version 1.3c or later.
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (236.1k).
lua-regression – Add polynomial regressions to graphs
This LuaLaTeX package provides a simple interface for performing polynomial regression on data sets. It allows users to specify the order of the polynomial regression, the columns of the data set to use, and whether to plot the results. The package also includes options for confidence intervals and error bands.
Paket | lua-regression |
Fehlermeldungen | https://github.com/HaivuUK/lua-regression/issues |
Repository | https://github.com/HaivuUK/lua-regression |
Version | 1.0.2 2025-04-17 |
Lizenzen | The LaTeX Project Public License 1.3 |
Copyright | 2025 George Allison |
Betreuer | George Allison |
Enthalten in | TeX Live als lua-regression MiKTeX als lua-regression |
Themen | Datenvorbereitung LuaTeX Datenmanipulation CSV-Unterstützung Grafik-Plots |
