Description Usage Arguments Value
Determines if a t-test has found a significant difference of the correct sign for a single lux treated vs untreated experiment
1 2 3 4 5 6 | is_comparison_successful_one_lux(
vals_untreated,
vals_treated,
is_treated_higher,
fit
)
|
vals_untreated |
responses for the untreated individuals |
vals_treated |
responses for the treated individuals |
is_treated_higher |
Boolean indicating whether treated group has a higher response |
fit |
a result of running t.test |
a named list comprising 'result': a binary value indicating test success (if=1) or failure (if=0) to detect difference of correct sign; and 'p_value': the p-value from the t test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.