FSharp.Stats 1.0.0-preview.1

This is a prerelease version of FSharp.Stats.
dotnet add package FSharp.Stats --version 1.0.0-preview.1
                    
NuGet\Install-Package FSharp.Stats -Version 1.0.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.Stats" Version="1.0.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FSharp.Stats" Version="1.0.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="FSharp.Stats" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FSharp.Stats --version 1.0.0-preview.1
                    
#r "nuget: FSharp.Stats, 1.0.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FSharp.Stats@1.0.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FSharp.Stats&version=1.0.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FSharp.Stats&version=1.0.0-preview.1&prerelease
                    
Install as a Cake Tool

F#-first linear algebra, machine learning, fitting, signal processing, and statistical testing.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (17)

Showing the top 5 NuGet packages that depend on FSharp.Stats:

Package Downloads
BioFSharp.Stats

Statistical functions with a clear biological focus written in F#.

BioFSharp.ImgP

Image recognition and analysis using wavelet transformations

ProteomIQon

ProteomIQon - computational proteomics

BIO-BTE-06-L-7_Aux

Auxiliary functions for the course BIO-BTE-06-L-7

BioFSharp.Mz

BioFSharp.Mz - modular computational proteomics

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-preview.1 178 10/21/2025
0.6.0 42,813 1/7/2025
0.5.1-preview.2 1,238 2/19/2024
0.5.1-preview.1 289 9/22/2023
0.5.0 56,711 8/4/2023
0.4.12-preview.3 667 6/29/2023
0.4.12-preview.2 645 4/6/2023
0.4.12-preview.1 965 2/21/2023
0.4.11 16,532 2/6/2023
0.4.10 631 1/25/2023
0.4.9 813 11/18/2022
0.4.8 7,464 8/29/2022
0.4.7 2,821 5/30/2022
0.4.6 705 5/30/2022
0.4.5 1,317 4/8/2022
0.4.4 1,686 3/8/2022
0.4.3 3,761 1/19/2022
0.4.2 23,356 7/27/2021
0.4.1 3,414 4/9/2021
0.4.0 7,244 12/15/2020
Loading failed

This version marks the journey to our first stable release and introduces significant architectural changes, which obviously are backward incompatible.
Decoupled vector and matrix representations from *FSharp.Stats*.
Integrated `FsMath` as the new lightweight, array-centric math backend.
Updated internal references in *FSharp.Stats* to use `FsMath` primitives for zero-friction integration.
Improved performance in core operations by leveraging `FsMath`’s optimized routines.
Description**
This PR introduces a separation of concerns between statistical algorithms and low-level numerical primitives.
Vector and matrix types have been moved to the new `FsMath` library under FsLab.org, which is optimized for performance and designed for seamless interoperability.
This change keeps *FSharp.Stats* focused on statistical functionality while making it easier to maintain and integrate into other F# workflows that rely on common libraries.
Migration note**
If your project uses `Vector` or `Matrix` types from *FSharp.Stats*, you will now need to reference `FsMath` and update your `open` statements accordingly:
```fsharp
open FsMath
```
All existing APIs are preserved with minimal changes, so most code will require slight modifications from `vector` to `Vector<float>` explicitly, along with namespace adjustments.
Previously, arrays needed to be explicitly converted to vectors - now, `Array` and `Vector` can be used synonymously, removing the need for manual conversions in most cases.
Other Changes:
- [Fix incorrect F-test denominator assignments in TwoWayAnovaModel](https://github.com/fslaborg/FSharp.Stats/pull/350)
- [Update test statistics to support generic type 'T data](https://github.com/fslaborg/FSharp.Stats/pull/348)