gengrid | R Documentation |
This function takes in a matrix summarizing the support of the covariates, as well as set of points summarizing the support of the unobservable variable. A Cartesian product of the subset of the support of the covariates and the points in the support of the unobservable generates the grid that is used for the audit procedure.
gengrid(index, xsupport, usupport, uname)
index |
a vector whose elements indicate the rows in the
matrix |
xsupport |
a matrix containing all the unique combinations of the covariates included in the MTRs. |
usupport |
a vector of points in the interval [0, 1], including 0 and 1. The number of points is decided by the user. The function generates these points using a Halton sequence. |
uname |
name declared by user to represent the unobservable term. |
a list containing the grid used in the audit; a vector
mapping the elements in the support of the covariates to
index
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.