Changes in version 1.0.10 (2024-04-21) - Swapped margins for marginaleffects. - Changes to tests and examples to not depend on suggested packages. Changes in version 1.0.8 (2024-03-07) - Bug fix of parallel processing that caused in rare cases simulations to be identical across multiple calls to simulate_design or diagnose_design. Changes in version 1.0.6 (2024-01-17) - Documentation update to stay current on CRAN. Changes in version 1.0.4 (2023-08-08) - Documentation improvements. - Citation updates. Changes in version 1.0.2 (2023-01-10) - Bug fixes. Changes in version 1.0.0 (2022-06-20) - Allow diagnoses to group by outcomes. - Simplify print(design). - Launch version 1. Changes in version 0.30.0 (2022-01-28) - New tidy(diagnosis) function to construct a tidy data frame of diagnosand estimates and summary statistics including bootstrapped standard error and confidence intervals. - Remove draw_assignment and draw_sample function. - Added diagnosis duration to summary function. - Bug fixes. Changes in version 0.28.0 (2021-08-21) - To simplify output of diagnoses, we changed the names of the variables from design_label to design, inquiry_label to inquiry, and estimator_label to estimator. - declare_assignment() and declare_sampling() have the default values for legacy set to FALSE. You can still use the legacy versions of these functions by manually setting legacy = TRUE for some time, but this functionality will later be removed. Changes in version 0.26.0 (2021-02-14) - Rapid development phase is beginning to prepare for DeclareDesign 1.0. - Add new step declare_model for defining the model of the world including sample size, levels of the data, and variables. - Add new step declare_inquiry to replace declare_estimand. declare_estimand is still available but deprecated. - Soft-introduce new syntax for declare_assignment and declare_sampling. Old syntax is still available with legacy = TRUE, the current default. To use the new syntax, set legacy = FALSE. In future versions of DeclareDesign, the default will be set to FALSE. - reveal_outcomes, created in 0.24.0, has been removed as a step. - Change labels produced in diagnoses and run_design output to be inquiry_label rather than estimand_label. - Allow estimands to be functions of other estimands. Changes in version 0.24.0 (2020-11-14) - Add new step declare_measurement for measuring outcome variables. - Add declare_test to enable hypothesis testing where no estimand is targeted. For example, declare_test could be used for a K-S test of distributional equality and declare_estimator for a difference-in-means estimate of an average treatment effect. - Add model_summary option to declare_estimator, to enable specifying a model and then a separate post-estimation function to extract coefficient estimates (e.g., estimate of a treatment effect) or model summary statistics (e.g., R^2 or the result of an F-test from a regression). - Simplify declare_diagnosands functionality. diagnose_design() by default runs an internal function with a set of default diagnosands, including power, RMSE, bias, type S rate, coverage, mean estimate, and mean estimand. - Improve compatibility with dplyr verbs as handlers. filter now works. - Rename declare_reveal to reveal_outcomes. Both continue to work. Changes in version 0.22.0 (2020-03-24) - Fix ability to set sampling_variable in declare_sampling. - Add ability to retain nonsampled data after sampling via drop_nonsampled flag in declare_sampling. Changes in version 0.20.0 (2019-09-10) - Add compare_diagnoses function to compare two designs on the basis of their design diagnoses. - Compatibility with rlang 0.4.0 - Bug fixes Changes in version 0.18.0 (2019-04-30) - Add compare_designs functions to compare the code and output of designs side-by-side. - Bug fixes Changes in version 0.16.0 (2019-01-26) - Add draw_assignment function to draw an assignment vector(s) given data - Add draw_sample function to draw a sample or multiple sequential samples from data - Rewrite draw_data to optionally take a data argument. draw_data now can be used to draw data for the full design, or for subsets of it. start and end flags are added to select which portions of the design to run - Bug fixes Changes in version 0.14.0 (2019-01-07) - Improved generics interoperability - Bug fixes Changes in version 0.12.0 (2018-11-09) - Add ability to use get_estimates with data, useful for example for getting estimates after data is collected for a study. To draw estimates or estimands from simulated data, now use renamed draw_estimates and draw_estimands functions. - Documentation improvements - Bug fixes Changes in version 0.10.0 (2018-07-29) - First CRAN version