Add Wilcoxon Distribution
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
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
- [1] Rwilcox
- [2] R vigenette
- [3] analytica wilcox
- [4] original publication
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.
- To be able to contribute to this library you'll need
- an GitHub account
- an IDE like Visual Studio Community or Visual Studio Code
- dotnet 6 sdk
- to build the binaries yourself follow the instructions
- while working on the FSharp.Stats documentation (any file within https://github.com/fslaborg/FSharp.Stats/tree/developer/docs) you can navigate to the project folder with a prompt of your choice and use the command
./build watchdocs - unit tests can be executed via
./build runtests
- Lenguaje dominante
- F#
- Estrellas
- 228
- Forks
- 58
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de fslaborg/FSharp.Stats
-
Documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
fslaborg/FSharp.Stats#385 · 1 comentario ·
-
[aw] Repo Assist failedAbiertoagentic-workflows
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
fslaborg/FSharp.Stats#394 ·
-
[aw] Repo Assist failedAbiertoagentic-workflows
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
fslaborg/FSharp.Stats#393 ·
-
[aw] Repo Assist failedAbiertoagentic-workflows
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
fslaborg/FSharp.Stats#391 ·
-
automation Documentation repo-assist
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
fslaborg/FSharp.Stats#390 ·
Todos los issues de fslaborg/FSharp.Stats
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
py-econometrics/pyfixest#1883 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
agrc/palletjack#208 ·
-
Opt-out requestAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
bigcode-project/opt-out-v2#13787 ·
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 66/100
sourcey/startup-credits#1684 · 1 comentario ·
Los mantenedores suelen responder en 9 días