beta_pal: Beta parameters from interpretable conditions

Description Usage Arguments Details Value

View source: R/beta_pal.R

Description

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 much they expect observations to fall within a certain distance of that value.

Usage

1
beta_pal(expected_value, within, this_much)

Arguments

expected_value

Expected value of beta distrbution from [0,1].

within

Specify distance this_much falls within.

this_much

What proportion falls within the specified interval.

Details

This solution coded by by this most helpful gist.

Visualise the distribution with beta_plot. See vignette("beta_pal") for derivations and more information.

Value

List of parameters appropriate for rbeta family of functions.


softloud/parameterpal documentation built on Sept. 7, 2020, 3:49 a.m.