Changes
- Adding
tTestTwoSample()method for two-sample independent t-test (Welch's t-test) — compares the means of two independent groups without assuming equal variances - Adding
tTestPaired()method for paired t-test — tests whether the mean difference between paired observations (e.g. before/after) is significantly different from zero - Adding
StudentTclass for the Student's t-distribution (pdf, cdf, invCdf) — building block for t-tests and confidence intervals with small samples - Adding
tTest()method for one-sample t-test — like z-test but appropriate for small samples where the population standard deviation is unknown - Adding
zTest()method for one-sample Z-test — tests whether the sample mean differs significantly from a hypothesized population mean (includes p-value calculation) - Adding
Alternativeenum (TwoSided,Greater,Less) for hypothesis testing - Adding
confidenceInterval()method for computing confidence intervals for the mean using the normal (z) distribution - Adding
rSquared()method for R² (coefficient of determination) — proportion of variance explained by linear regression
Full Changelog: v1.3.0...v1.3.1