| cdf | A function representing the CDF of the p1 estimates from... |
| cdf_inv | A function representing the inverse-CDF of the p1 estimates... |
| comparison_test | Performs between- or within-individual experiments comparing... |
| comparison_test_single | Performs a single between- or within-individual experiments... |
| comparison_test_treatment | Performs between- or within-individual experiments comparing... |
| comparison_test_treatment_single | Performs between- or within-individual experiments comparing... |
| ed | Calculates ed for a given quantile |
| estimates | Estimates of parameter values from Phillips et al. (2017). |
| f_cdf | Calculates cumulative density for a given pdf |
| f_sample_n | Generates n draws from underlying density using inverse... |
| f_sample_one | Uses inverse transform sampling to generate an independent... |
| generate_two_samples | Generates samples of measured melatonin values at two lux... |
| generate_two_samples_at_one_lux | Create two samples of melatonin suppression observations from... |
| is_comparison_successful | Determines if a t-test has found a significant difference of... |
| is_comparison_successful_one_lux | Determines if a t-test has found a significant difference of... |
| logistic | Logistic function |
| logistic_2 | Two-parameter dose-response logistic curve |
| logistic_noise | Generates noisy dose response data at a range of (log-)luxes |
| logit | Logit function |
| noise_logit | Adds noise to a data point on the logit scale |
| p1_p2_regression_draws | Posterior parameter draws for regression model of (log-p2) on... |
| plot_doseresponse | Plots simulated data and dose-response curves for a... |
| sample_p1_p2 | Samples values of pairs of logistic_2 dose-response... |
| sample_sigma | Samples a value of sigma for the logit noise process |
| sigma_fit_draws | Posterior parameter draws for model of sigma |
| treated_p1 | Converts p1 assuming treatment that changes ed50 by a... |
| t_test | Performs t test between two sets of values |
| valid_individual | Generates an individual with reasonable ed25 and ed75 values. |
| virtual_experiment | Generates data from a virtual experiment measuring individual... |
| virtual_population | Generates a population of individual dose-response curves |
| virtual_treatment_experiment | Generates data from a virtual experiment where individuals... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.