View source: R/BoundingCovariateEffects.R
G.cd.mc | R Documentation |
This function defines the family of discrete/continuous instrumental functions in the case of many covariates. It does so by considering a instrumental functions for each pair of entries in the given covariate vector.
G.cd.mc(
x,
g.idx,
data,
n.if.per.cov,
idxs.c,
G.c,
norm.func,
info.manycov = NULL,
cov.ranges = NULL,
norm.cov.out = NULL,
degree = 3,
...
)
x |
The vector of covariates at which to evaluate the B-splines |
g.idx |
The index of the instrumental function. |
data |
Data frame containing the data. |
n.if.per.cov |
Number of instrumental functions per continuous covariate. |
idxs.c |
Vector of indices of the continuous elements in the vector of covariates. |
G.c |
Family of instrumental functions to use for the subvector of continuous covariates. |
norm.func |
Function to be used to normalize the covariates. |
info.manycov |
Data frame containing some information about the global
structure of the instrumental functions of this class. If
|
cov.ranges |
Matrix containing as its rows the lower and upper bounds
for each continuous covariate. Default is |
norm.cov.out |
Output of function that normalizes the covariates. |
degree |
Degree of the spline functions to be used as instrumental
functions for the continuous covariates (if applicable). Default is
|
... |
Arguments specified here will be ignored. Used for compatibility with other instrumental function classes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.