Description Usage Arguments Examples
This function takes some analyst specifications and returns the "best" parameter tuple that satisfies your criteria. The analyst specifies an ideal average for the value, and an interval (along with a given confidence percentage). If there are tuples that possess, both, coverage probabilities below and above the given percentage, this function will return the tuple that a.) yields the given mean, and b.) that is closest to the desired percentage. If there is no "crossing" then NULL is returned. Optionally, this function will plot the coverage probabilities.
1 2 | elicitBeta(ideal_mean, percent_ci, lower_ci, upper_ci, beta_grid_left,
beta_grid_right, beta_increment, plot = T)
|
ideal_mean |
desired mean for your random variable |
percent_ci |
what percent confidence do you want (e.g. .95) |
lower_ci |
what is the lower bound on your interval? |
upper_ci |
what is the upper bound on your interval? |
beta_grid_left |
what is the lowest beta value for your grid? |
beta_grid_right |
what is the highest beta value for your grid? |
beta_increment |
how spaced apart do you want each beta grid element? |
plot |
whether a plot should be given as a side effect |
1 | smart_pairs(fake_df, 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.