decompose_A | R Documentation |
Print what each row of the A matrix represents
decompose_A( Y, X, D, Z, O_neg = NULL, O_pos = NULL, Phi = linear_projection(D, X, Z) )
Y |
Dependent variable (vector of length n) |
X |
Exogenous variable (including constant vector) (n by p_X matrix) |
D |
Endogenous variable (n by p_D matrix) |
Z |
Instrumental variable (n by p_Z matrix) |
O_neg, O_pos |
Indices for residuals whose sign is fixed to be negative and positive, respectively (vectors) |
Phi |
Transformation of X and Z to be used in the program; defaults to the linear projection of D on X and Z (matrix with n rows) |
Using the dimensions of the inputs, this function prints the constraints associated with each row.
A vector whose length is the same as the number of constraints;
pf: primal feasibility
df_X: dual feasibility, X
df_Phi: dual feasibility, Phi
cs_uk: complementary slackness, u and k
cs_vl: complementary slackness, v and l
cs_ak: complementary slackness, a and k
cs_al: complementary slackness, a and l
pp_a: preprocessing, a
pp_k: preprocessing, k
pp_l: preprocessing, l
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.