LuaSF
LuaSF stands for Lua Statistics Functions.
LuaSF is a lightweight, pure-Lua statistics library for descriptive statistics, shape statistics, bivariate statistics, probability helpers, sampling utilities, pseudo-random variable generation, and formula-based regression summaries.
It is designed for small scripts, teaching, simulations, game/mod scripting, and lightweight statistical utilities.
Why LuaSF?
- Pure Lua implementation
- No native dependencies
- Lua 5.1+ friendly
- Single-file friendly public API
- Modular internal source layout
- Legacy API compatibility
- LuaRocks packaging
- Practical examples and tests
Current documentation sections
Getting StartedInstall LuaSF, verify your Lua environment, and run the first statistical examples.API OverviewBrowse the main modules, functions, and statistical helpers exposed by the library.ArchitectureUnderstand how LuaSF is organized as a lightweight pure Lua statistical toolkit.ExamplesReview practical snippets for descriptive statistics, probability, sampling, and regression.ContributingFollow the contribution guidelines, coding expectations, and documentation conventions.ReleasesTrack version notes, documentation changes, and library evolution across releases.
Repository
- GitHub: HubertRonald/LuaSF
- LuaRocks package:
luasf
Scope
LuaSF focuses on lightweight statistics, probability, random variables, regression summaries, and simulation helpers.
It intentionally avoids becoming a machine learning framework.