Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add Wilcoxon Distribution

Abierto
#293 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
fsharp
Área
data

Línea de trabajo

Comienza comparando src/FSharp.Stats/Distributions/Continuous/Normal.fs con otras implementaciones de distribuciones; después, lee la publicación original y la referencia de Rwilcox. Añade Wilcoxon.fs en Distributions/Continuous y pruebas unitarias siguiendo el modelo de las pruebas de la distribución exponencial en tests/FSharp.Stats.Tests/DistributionsContinuous.fs; ejecuta ./build runtests para verificar los cálculos.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Difficulty: Advanced FsLab Hackathon 2023 Status: Available
Description

The signed rank test currently is only an approximation for large values (see https://github.com/fslaborg/FSharp.Stats/pull/182#discussion_r908169551)
There is a valid wilcoxon distribution that is quite expensive to calculate. Nevertheless it is required to calculate exact u test results, and should be implemented:

Citation from #213

To perform a valid u test it is required to implement the Wilcoxon distribution. Is should be added as individual source file within Distributions/Continuous. You can copy the Distributions/Continuous/Normal.fs and replace all fields with its corresponding entries for the Wilcoxon distribution.

References
Pointers
  • suggested workflow:
    • check out other distribution implementations and the original publication
    • copy a existing source file (e.g. Normal.fs), rename it to Wilcoxon.fs and replace all members.
      • this may be harder as you would imagine, but even if not all members are implemented, it would help us bringing FSharp.Stats a step further
    • optional: add unit tests
Hints (click to expand if you need additional pointers)

A final PR should contain the source file as well as unit tests to verify the correct results of the calculations. But even if some functions are missing, you can file a PR and mention what has to be added and where the problems are. For appropriate unit tests you can check out exponential distribution unit tests.

Lenguaje dominante
F#
Estrellas
228
Forks
58
Merge medio
2 d 7 h
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fslaborg/FSharp.Stats

Todos los issues de fslaborg/FSharp.Stats

Issues similares

Más issues de Data Engineering

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.