Hello,
I've observed two issues within the placebo_test function, both also present in the CRAN release:
-
Incorrect Condition in QOI Extraction:
- Location: Line extracting matched sets from the PanelMatch object.
- Code:
if (identical(qoi.in, "ate")) {
matchedsets <- pm.obj[["att"]]
}
- Expected Behavior: The condition should probably be
identical(qoi.in, "att"). With the current condition, objects with ATT as their QOI are unable to assign matchedsets, leading to errors later in the function.
-
Mismatched Function Call:
- Location: Call to the
panel_estimate function.
- Code:
placebo.results.raw <- panel_estimate(sets = pm.obj, data = data,
number.iterations = number.iterations, df.adjustment = df.adjustment,
placebo.test = TRUE, placebo.lead = lag.in)
- Issue: The function
panel_estimate doesn't appear to exist in the library. Furthermore, the actual PanelEstimate function doesn't have the arguments placebo.test and placebo.lead, eliminating it as a possible substitute.
Would appreciate your review on this. Thanks!
Hello,
I've observed two issues within the
placebo_testfunction, both also present in the CRAN release:Incorrect Condition in QOI Extraction:
identical(qoi.in, "att"). With the current condition, objects with ATT as their QOI are unable to assignmatchedsets, leading to errors later in the function.Mismatched Function Call:
panel_estimatefunction.panel_estimatedoesn't appear to exist in the library. Furthermore, the actualPanelEstimatefunction doesn't have the argumentsplacebo.testandplacebo.lead, eliminating it as a possible substitute.Would appreciate your review on this. Thanks!