View source: R/prevalence_calc.R
a_priori_est_scc | R Documentation |
A priori estimations for SCC
a_priori_est_scc( baserate_hp = 211/1194, devices = "HP", switch_to_target = 3/4, min_number, min_prob = 0.8, tolerance = as.integer(0) )
baserate_hp |
Sets the (estimated) prevalence of headphones in the target population as a number between 0 and 1. Defaults to the unbiased prevalence B of 0.1767 from \insertCiteHALT_2;textualHALT. |
devices |
Sets the desired playback device. Possible settings are
|
switch_to_target |
Sets the (estimated) switching prevalence. The switching prevalence describes the probability that a participant who indicates the use of a device other than the target device actually switches to the target device after being prompted to do so. |
min_number |
minimum number of participants passing the test procedure and using the target devices |
min_prob |
minimum probability (equal to or greater than 0.6, less than
1) for the event that at least |
tolerance |
(non-negative integer) defaults to |
The function uses the Normal approximation of the Binomial distribution with continuity correction. For details, see \insertCiteHALT_2;textualHALT.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.