- Write vignette on effect of increasing
Bin (n-out-of-n) empirical / multiplier / subsampling bootstrap samples on coverage when compared to sandwich
- Change
Significanceheading in our summary output to be abbreviated toSignif:to be consistent withlm()output - Change column ordering for bootstrap standard errors and t-statistics rigorously
- Change p-value format to be
2/3digits - Clean
R/scripts_and_filters/experiments/dir, remove old experiments - Clean up script that gets metadata of
maarsfunction metadata frompkgdown - Remove all
base::prefix use e.g.base::return() - Change
dplyr::summarisetodplyr::summarizefor spelling consistency - Ensure all
statsfunctions use thestats::prefix - Fix
.datarelatedrlangissues - We shouldn't name a variable
dfsince this conflicts withstats::df. We should change this after the demo - Clean vignette. Leave the plot in the vignette (to be moved elsewhere)
- Updated the corrected
Boston HousingDataset with citations. Add unit tests for the corrections - Clean up spelling notes
- Change multiplier weights code to use
switchbased approach - Switch to
model.matrixin sandwich variance and use residuals in the computation - Update
maarsto have a package level doc. Add@importFromstatements - Fix
NOTEby adding.gitkeepin vignettes to.RBuildignore - Fix
NOTEby DESCRIPTION meta-information by making it a couple of sentences. This is a placeholder and we should refine it before officialCRANrelease. - Consolidate
boston-housing.Randla-county.Rfiles into a singledata-maars.Rfiles. Consolidatetestfiles accordingly - Make some minor changes to the vignette
- Add
stylingto our code using theMakefileandstyler::style_dir(here::here('R'))and fortests - Have a
make stylewhich does bothRandtests - Make sure styling does not include vignettes
- Ensure that
url_check()are all resolved forCRAN - Remove DOI entries from
inst/REFERENCES.bibsince they can causeCRANurl issues - Add search functionality to
pkgdownour site. - Use MIT License
- Fix the no visible binding for global variable errors in our code
- Remove mixture of
%>%and base code, and just break pipes into variables - Change all
attr(obj, "class") <- c("obj_class_name")to be of the formclass(obj) <- "obj_class_name"for consistency - Change
dplyr::_allscoped words using the supersededacrossfunction
- Set the default
digits = 3formatting insummary.maars_lmprinted output - Move
summary.maars_lm,print.maars_lm,plot.maars_lmmethods intomaars-lm.Rfile - Merge
lm-var.Rcode into intosandwich-var.Rsince they are both default estimators - Use the
la_countytibble directly frommaarsin our vignette - Re-write vignette to produce Table 1 from Buja et. al. 1 to include new
get_summary()function - Write
get_plot(),get_summary(),summary.maars_lm(), andget_confint(),confint.maars_lm()functionality formaars_lm()objects - Change the statistic based on the F-distribution to one based on the Chi-square
- Write
plotsfunction with default options and wrap aroundget_plot() - Add more Cook's distance plots similar to
lm()output - Add confidence interval plots to the
maars_lmplot output - Print assumptions i.e. for all run
maarsstandard errors. Sosand,well_specifiedassumptions are printed by default, and other standard errors - Add assumption string for
comp_lm_varusingglue::glue()and improve formatting - Amend
get_confint()to return tidy tibble output - Just show
term,conf.low,conf.highforconfint(maars_lm). Fix it to be the same asconfint(lm) - Add
la_countytibbleto our package - Change
README.Rmdto usedevtoolsrather thanremotesas the preferred package installation - Add
devtoolstoSuggestsinDESCRIPTIONso that vignettes use our latest code - Ensure that the
la_countytibbleis documented method - Write residual bootstrap assumptions to be the same as the well specified
lm()model - Include
weightstype in assumptions for multiplier bootstrap - Include
nin assumptions for empirical bootstrap
- Write function to create
maars_lmobject fromcomp_var - write a
as.maars_lmfunction to be run on anlmobject - write
confint.maars_lmmethod - write
print.maars_lmmethod - Write
summary.maars_lmmethod - Write
plot.maars_lm, currently forlmobjects - Correct typo in
maarsrelease0.6.0inNEWS.md - Use
GPL-2andGPL-3LICENCE - Remove the
MIT LICENCEfiles - We would like to thank Alex Reinhart for his kind assistance in various aspects of this release
- update the documentation of
comp_varand of the estimators of the variance - Adapt tests to handle the new function
comp_var - create a function to nicely return a string containing the assumptions behind each computation of the variance (e.g., call it
get_assumptions) - compute covariance matrix
Vof coefficients estimates for the bootstrap - Make
weights_typeforcomp_boot_multo be defaultrademacher - Handle assertions for multiplier bootstrap
- rewrite
comp_varto handle the list outputs generated by the estimators of the variance - adapt tests to handle the list outputs generated by the variance estimators
- change the bootstrap functions such that they return a list and compute
get_summarywithin the function - make the names of the lists generated by the estimators of the variance consistent
- rewrite the sandwich function to return a list
- write documentation for
get_summary - Check that we define/design inputs consistently for
comp_var - Ensure that default values for all inputs is set to
NULLfor empirical bootstrap, multiplier bootstrap, residual bootstrap - Perform input assertion checking for all inputs consistently for
comp_var - Create an
if-then-elseskeleton forcomp_var - Add
residualbootstrap tocomp_var - Update tests for
comp_varfor empirical bootstrap, multiplier bootstrap, residual bootstrap
- Rename function names to be more consistent e.g. remove
qrfromempiricalbootstrap names - Ensure renamed function names are also correctly changed in the corresponding test files
- Split our
pkgdownreferences into suitable categories like usethis, here is an example - Change specific functions to be private by removing
#' @exportinroxygen2and replacing it with#' @keywords internal
- Include
.gitattributesfile - We need to
set.seedin all our vignette chunks. This is for reproducibility, but to also avoid merge conflicts every time we rebuild the package usingmake build_package - roxygen2: Rewrite documentation of the functions making the style more consistent across functions. For example, we could adopt the style used for the quantile function
- roxygen2: insert dots at end of sentences in roxygen2. See below
- roxygen2: use
@detailsresponsibly. See below - roxygen2: replace
var_namewith\code{var_name}. See below - ggplot2: Replace hardcoded values
1.96with appropriate outputs from statistics functions, invignettes - Check the order in which we have our functions written in each file
- ggplot2: We should break up our
ggplot2code into separate plots and then combine them using+. This will make it much easier to manage the code and make it readable - ggplot2: Need to be consistent with our
ggplot2themes used in our plots. See ggplot2 theme wrapper below - ggplot2: Need to be consistent with the
ggplot2font and other settings used in our plots. As a preference we should only uselabsfor example. See ggplot2 theme wrapper below - ggplot2: Add
names_prefix = "q"topivot_widerfor theggplot2code i.e. to avoid .data$0.275issue. Note the"q"here stands forquantile. - Create a
utils-common.Rsimilar to the selectiveInference package, ensure that common functions are put in this file - clean up the
testsdirectory i.e. delete unusedRtest files - clean up the
Rdirectory i.e. delete unusedRfiles - We should add
#' @importFrom rlang .datain all our functions under#' @export - Fix
R CMD CHECKerror caused invignette, namely this one - Add
stringrtoDESCRIPTION - Change
multiplierbootstrap weights to be applied insidepurrre.g usingpurrr::map2rather than generating theematrix up front. Conduct benchmarks of this to test speed, so that current version still has it's place in benchmarking - For
vignetteshouldknitr::kablepackage instead ofDTpackage and just need to ensure Table 1 is correctly populated - For
vignettewe just need to ensure Table 1 is correctly formatted i.e. useLaTeXfor headings, consistent width, and captions. See here for the use of LaTeX inknitr::kableheading rows - Add
Rmdline wrap hooks similar to Yihui Xie's approach and the oxforddown approach - Add doc for
weight_typeinmultiplierbootstrap - Remove default value of
Binmultipliervariance - Allow for 5 types of weights for multiplier bootstrap i.e.
std_gaussian,rademacher, andmammen,webb,gamma - Update credits in
Licenceand License.md
- Implement an efficient
multiplierbootstrap forlmstandard errors - Implement the
empiricalbootstrap forlmstandard errors - Implement the
empiricalbootstrap forglmstandard errors - Change the input
lm_fitto bemod_objectin all of our functions - Check that we have referenced functions using
stats::,dplyr::, etc - Add the
t-testvalues in Table 1 of theModels As Approximations - Part 1paper - Add input validation for our bootstrap and variance estimation functions
e.g.
Bmust be a positive integer - Set a seed for the unit tests
- Update
Readme.Rmdto add installation instructions and link to official package
- Create the
comp_sandwich_qr_varfunction with documentation, tests, benchmarking
- Added a
NEWS.mdfile to track changes to the package.