View source: R/theory_functs.R
get_tresholding_estimator_bias | R Documentation |
Assumes without loss of generality that m_intercept and g_intercept are 0. Also, assumes the Bayes-optimal threshold has been chosen.
get_tresholding_estimator_bias(
m_perturbation,
g_perturbation,
g_intercept,
pi,
c,
return_bias = TRUE
)
m_perturbation |
perturbation coefficient for mRNA model |
g_perturbation |
perturbation coefficient for gRNA model |
g_intercept |
intercept term in gRNA model |
pi |
probability of perturbation |
c |
the threshold |
return_bias |
if TRUE, returns (absolute) bias, defined as ; if FALSE, returns attenuation fraction |
Assumes errors are N(0,1).
the bias of the thresholding estimator
m_perturbation <- 1
g_perturbation <- 1
g_intercept <- 0.5
pi <- 0.5
c <- 1
get_tresholding_estimator_bias(m_perturbation, g_perturbation, g_intercept, pi, c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.