Description Usage Arguments Value
The user can declare that the unobservable enters into the MTRs in
the form of splines. This function generates the gamma moments for
the splines. The specifications for the spline must be passed as an
element generated by removeSplines
. This function
accounts for the interaction between covariates and splines.
1 2 3 4 5 6 7 8 9 10 11 |
splinesobj |
a list generated by |
data |
a |
lb |
vector of lower bounds for the interval of integration. Each element corresponds to an observation. |
ub |
vector of upper bounds for the interval of integration. Each element corresponds to an observation. |
multiplier |
a vector of the weights that enter into the integral. Each element corresponds to an observation. |
subset |
Subset condition used to select observations with which to estimate gamma. |
d |
either 0 or 1, indicating the treatment status. |
means |
boolean, default set to |
late.rows |
Boolean vector indicating which observations to include when conditioning on covariates X. |
a matrix, corresponding to the splines being integrated
over the region specified by lb
and ub
,
accounting for the interaction terms. The number of rows is
equal to the number of rows in data
. The number of
columns depends on the specifications of the spline. The name
of each column takes the following form: "u[d]S[j].[b]", where
"u" and "S" are fixed and stand for "unobservable" and
"Splines" respectively. "[d]" will be either 0 or 1, depending
on the treatment status. "[j]" will be an integer indicating
which element of the list splines
the column pertains
to. "[b]" will be an integer reflect which component of the
basis the column pertains to.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.