Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Goodness of fit functions for OrdinaryLeastSquares.Linear.Multivariable?

Open
#125 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
fsharp
Domain
data

Research direction

Start with the GoodnessOfFit and Fitting tutorials, then inspect GoodnessOfFit.calculateSumOfSquares and the OrdinaryLeastSquares.Multivariable fit function. Determine how the vector-valued predictor could support coefficient t-statistics and standard errors, and confirm that the resulting API covers multivariable regressions.

Written by the indexing model from the issue text.

Description

enhancement

Is your feature request related to a problem? Please describe.
I am following the goodness of fit quality tutorial. I want t-statistics and standard errors for coefficients from regressions with multiple independent variables. Are there functions to do this already?

The multivariate fit function (see https://fslab.org/FSharp.Stats/Fitting.html#Multivariable) has type of x:Vector<float> -> float but GoodnessOfFit.calculateSumOfSquares expects float -> float. It appears that there is not a "multivariable" version.

Dominant language
F#
Stars
228
Forks
58
Avg merge
2d 7h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fslaborg/FSharp.Stats

All issues in fslaborg/FSharp.Stats

Similar issues

More Data Engineering issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.