cont_did_acrt {contdid} | R Documentation |
Compute ACRT's for a Timing Group and Time Period
Description
This is the main function for computing dose-specific effects of a continuous treatment, given a particular timing group and time period.
Usage
cont_did_acrt(gt_data, dvals = NULL, degree = 1, knots = numeric(0), ...)
Arguments
gt_data |
data that is "local" to a particular group-time average treatment effect |
dvals |
The values of the treatment at which to compute dose-specific effects. If it is not specified, the default choice will be use the percentiles of the dose among all ever-treated units. |
degree |
The degree of the B-Spline used in estimation. The default is 3, which in
combination with the default choice for the |
knots |
A vector of placements of knots for b-splines. Since this function is typically called internally, this would typically be set by the calling function. |
... |
additional arguments |
Value
ptetools::attgt_if object