jalsoft/zstats

A PHP library for statistical calculations including normal, t, and chi-square distributions.

dev-main 2025-07-11 12:49 UTC

This package is auto-updated.

Last update: 2025-07-11 12:49:14 UTC


README

Features

  • Z-score calculator
  • Confidence interval builder
  • T-distribution & Chi-square approximations
  • HTML/CSV/JSON exports
  • Unit tested

Install via Composer

composer require jalsoft/zstats

Usage

use ZStats\ZStats;

$ci = ZStats::confidenceInterval(3.3, 0.2, 64, 0.98);
print_r($ci);