View source: R/selection_bound.R
selection_bound | R Documentation |
Given a set of sensitivity parameters and constraints, computes an upper and lower bound for an inverse probability weighted regression estimate
selection_bound( y, x, w, z = NULL, L0l, L0u, L1, cons = NULL, theta = NULL, alpha = 0.05, opts = NULL )
y |
Outcome (vector) |
x |
Explanatory variables (matrix) |
w |
Selection variables (matrix) |
z |
Optional instrumental variables (matrix) |
L0l |
Lower bound for the probability of sample selection for the average observation |
L0u |
Upper bound for the probability of sample selection for the average observation |
L1 |
Odds ratio of sample selection for a one unit (binary) or one standard deviation (continuous) increase in a variable. |
cons |
List of constraints to be applied: |
theta |
Optional starting parameter for the global optimiser. |
alpha |
Significance level for confidence interval. |
opts |
Optional list of options for the global optimiser. |
Named list of objects: theta_min
(theta_max
) is the parameters
for the lower (upper) bound; interval
is a vector containing the lower and upper
bounds; ci
is a vector containing the alpha
-level confidence interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.