https://github.com/softloud/parameterpal
Parameters for beta distribution from interpretable conditions
https://github.com/softloud/parameterpal
Last synced: 25 days ago
JSON representation
Parameters for beta distribution from interpretable conditions
- Host: GitHub
- URL: https://github.com/softloud/parameterpal
- Owner: softloud
- License: other
- Created: 2020-08-13T23:52:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-29T09:48:52.000Z (over 4 years ago)
- Last Synced: 2025-03-18T01:11:25.695Z (29 days ago)
- Language: R
- Homepage: https://softloud.github.io/parameterpal/
- Size: 421 KB
- Stars: 28
- Watchers: 1
- Forks: 4
- Open Issues: 13
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - softloud/parameterpal - Parameters for beta distribution from interpretable conditions (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%",
fig.height = 3
)
```# parameterpal
Rather than knowing intrinsically what parameters are required for a distribution, scientists tend to have a sense of what value they *expect* a measure to take, *how many* observations should fall *within* a certain distance of that value.
For the normal distribution, this is straightforward, as the parameters reflect the expected value and variance. However, for the beta distribution, the parameters are not so readily interpretable.
`parameterpal::` provides a means of obtaining the parameters required for the beta distribution from interpretable conditions.
## installation
```{r eval=FALSE}
devtools::install_github("softloud/parameterpal", build_vignettes = TRUE)
```## launch tutorial
After installation, the `parameterpal::` tutorial will be available in the Tutorial pane of Rstudio.
```{r eval=FALSE}
# executing this code will launch the tutorial in your browser
learnr::run_tutorial("ppalhelp", package = "parameterpal")
```## documentation
See this package's [`pkgdown::`](https://pkgdown.r-lib.org/articles/pkgdown.html)-generated [site for more information](https://softloud.github.io/parameterpal/).
## intended user
This package was developed for a friend and collaborator, computational ecologist [Dr Matthew Grainger](https://github.com/DrMattG), who previously used browser-based tools to obtain beta parameters to inform his rstats workflow. I hope he finds this package a useful augment to his codeflow.
# vignette
See `vignette("betapal")` for ~~more information~~ the same information, but from the handy ease of your Rstudio Viewer pane.
Full disclosure, I need to update it after I
fully understand this [gist](https://gist.github.com/daob/1422e978ff98bdf466fbcb4d9bf3e53e) I was provided with after posting the first version of this software to twitter. Open science at its best. Blogpost incoming on open science and why it's good to share bad math and beta research code. So cool I've ended up with a better, more mathematically correct solution after posting it.# other distributions
No reason the same math can't be applied to other distributions. Open an issue if you'd like me to provide parameters from interpretable conditions for another distribution.
# development on hold
Currently softloud is finishing her dissertation, and with it so close, she's focussed on wrapping that up before extending any software beyond what's required for the thesis.