Skip to content

Commit

Permalink
Update spacing in Rd file for CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
asheshrambachan committed Feb 23, 2024
1 parent aabe196 commit 031c760
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
9 changes: 7 additions & 2 deletions man/computeConditionalCS_DeltaSDRMM.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@
Computes conditional and hybridized confidence set for Delta = Delta^{SDRMM}(Mbar).
}
\description{
Computes the conditional confidence set and hybridized confidence set for Delta = Delta^{SDRMM}(Mbar). The set Delta^{SDRMM}(Mbar) adds an additional shape restriction to Delta^{SDRM}(Mbar) that restricts the underlying trend to be monotone. It may either be increasing (delta_t >= delta_{t-1}) or decreasing (delta_t <= delta_{t-1}).
Computes the conditional confidence set and hybridized confidence set
for Delta = Delta^{SDRMM}(Mbar). The set Delta^{SDRMM}(Mbar) adds an
additional shape restriction to Delta^{SDRM}(Mbar) that restricts the
underlying trend to be monotone. It may either be increasing
(delta_t >= delta_{t-1}) or decreasing (delta_t <= delta_{t-1}).
}
\usage{
computeConditionalCS_DeltaSDRMM(betahat, sigma, numPrePeriods, numPostPeriods,
l_vec = .basisVector(index = 1,
size = numPostPeriods),
Mbar = 0, alpha = 0.05, hybrid_flag = "LF",
hybrid_kappa = alpha/10, returnLength = FALSE,
postPeriodMomentsOnly = TRUE, monotonicityDirection = "increasing",
postPeriodMomentsOnly = TRUE,
monotonicityDirection = "increasing",
gridPoints=10^3, grid.ub = NA, grid.lb = NA)
}
%- maybe also 'usage' for other objects documented here.
Expand Down
3 changes: 2 additions & 1 deletion man/constructOriginalCS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ Returns a dataframe with columns
}
}
\examples{
# Simple use case; for more detailed examples, see <https://github.com/asheshrambachan/HonestDiD#honestdid>
# Simple use case; for more detailed examples,
# see <https://github.com/asheshrambachan/HonestDiD#honestdid>
constructOriginalCS(betahat = BCdata_EventStudy$betahat,
sigma = BCdata_EventStudy$sigma,
numPrePeriods = length(BCdata_EventStudy$prePeriodIndices),
Expand Down
3 changes: 2 additions & 1 deletion man/createEventStudyPlot.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ Rambachan, Ashesh and Jonathan Roth. "An Honest Approach to Parallel Trends." 20
Ashesh Rambachan
}
\examples{
# Simple use case; for more detailed examples, see <https://github.com/asheshrambachan/HonestDiD#honestdid>
# Simple use case; for more detailed examples,
# see <https://github.com/asheshrambachan/HonestDiD#honestdid>

createEventStudyPlot(betahat = BCdata_EventStudy$betahat,
sigma = BCdata_EventStudy$sigma,
Expand Down
7 changes: 4 additions & 3 deletions man/createSensitivityPlot.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ Returns ggplot object of the sensitivity plot.
Ashesh Rambachan
}
\examples{
# Simple use case; for more detailed examples, see <https://github.com/asheshrambachan/HonestDiD#honestdid>
robustResults <-
# Simple use case; for more detailed examples,
# see <https://github.com/asheshrambachan/HonestDiD#honestdid>
robustResults <-
createSensitivityResults(betahat = BCdata_EventStudy$betahat,
sigma = BCdata_EventStudy$sigma,
numPrePeriods = length(BCdata_EventStudy$prePeriodIndices),
numPostPeriods = length(BCdata_EventStudy$postPeriodIndices),
alpha = 0.05)
originalResults <-
originalResults <-
constructOriginalCS(betahat = BCdata_EventStudy$betahat,
sigma = BCdata_EventStudy$sigma,
numPrePeriods = length(BCdata_EventStudy$prePeriodIndices),
Expand Down
17 changes: 9 additions & 8 deletions man/createSensitivityPlot_relativeMagnitudes.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ Returns ggplot object of the sensitivity plot.
Ashesh Rambachan
}
\examples{
# Simple use case; for more detailed examples, see <https://github.com/asheshrambachan/HonestDiD#honestdid>
robustResults <-
createSensitivityResults_relativeMagnitudes(betahat = BCdata_EventStudy$betahat,
sigma = BCdata_EventStudy$sigma,
numPrePeriods = length(BCdata_EventStudy$prePeriodIndices),
numPostPeriods = length(BCdata_EventStudy$postPeriodIndices),
alpha = 0.05)
originalResults <-
# Simple use case; for more detailed examples,
# see <https://github.com/asheshrambachan/HonestDiD#honestdid>
robustResults <- createSensitivityResults_relativeMagnitudes(
betahat = BCdata_EventStudy$betahat,
sigma = BCdata_EventStudy$sigma,
numPrePeriods = length(BCdata_EventStudy$prePeriodIndices),
numPostPeriods = length(BCdata_EventStudy$postPeriodIndices),
alpha = 0.05)
originalResults <-
constructOriginalCS(betahat = BCdata_EventStudy$betahat,
sigma = BCdata_EventStudy$sigma,
numPrePeriods = length(BCdata_EventStudy$prePeriodIndices),
Expand Down

0 comments on commit 031c760

Please sign in to comment.