Releases: NSAPH-Software/CausalGPS
Releases · NSAPH-Software/CausalGPS
v0.5.1
v0.5.0
v0.4.2
v0.4.1
v0.4.0
Changed
- Docker image supports R 4.2.3
generate_syn_datasupportsvectorized_yto accelerate data generation.matching_fun-->dist_measurematching_l1-->matching_fnestimate_semipmetric_erfnow takes thegammodels optional arguments.estimate_pmetric_erfnow takes thegnmmodels optional arguments.trim_quantiles-->exposure_trim_qtlsgenerate_pseudo_popfunction acceptsgps_objas an optional input.internal_useis not part of parameters forestimate_gpsfunction.estimate_gpsfunction only returnsid,w, and computedgpsas part of dataset.- Now the design and analysis phases are explicitly separated.
gps_model-->gps_density. Now it takes,normalandkerneloptions instead ofparametricandnon-parametricoptions.
Added
estimate_npmetric_erfsupports bothlocpolandKernSmoothapproaches.- There is
gps_trim_qtlsinput parameter to trim data samples based on gps values. - Now users can also collect the original data in the pseudo population object.
Fixed
- A bug with swapping transformed covairates with original one.
v0.3.1
Fixed the failing unit tests due to the following bug report:
https://bugs.r-project.org/show_bug.cgi?id=18337
v0.3.0
v0.2.9
In this version upgrade we:
- Dropped importing
KernSmoothandtidyrpackages. - Dropped
pred_modelargument. The package only uses SuperLearner for prediction models. - Added features to use a more optimized algorithm for a commonly used simplified case (scale = 1).
- Added effective sample size.
- Added Kolmogorov-Smirnov (KS) statistics for the generated pseudo-population (uses
Ecumepackage). - Made
sl_liba required argument. - Removed
earthandrangerpackages from mandatory imports. - Standardized the trimming approach to be less confusing for the users.
- Modified internal kernel smoothing approach.
- Renamed a couple of internal parameters for clarity and uniformity in the package.
- Fixed a bug on the covariate balance threshold.
v0.2.8
Fixed
- Message for not implemented methods changed to reduce misunderstanding.
- Empty counter will raise error in estimating non-parameteric response function.
Changed
- matching_l1 returns frequency table instead of entire vector.
- Vectorized population compilation and used data.table for multi-thread assignment.
- Removed nested parallelism in compiling pseudo population, which results in close control on memory.
- estimate_npmetric_erf also returns optimal h and risk values.
Added
estimate_gpsreturns the optimal hyperparameters.estimate_gpsreturns S3 object.- Internal xgboost approach support
verboseparameter. - Pseudo-population object now report the parameters that are used for the best covariate balance.
v0.2.7
Fixed
- Naming covariate balance scores.
Changed
- Restarting adaptive approach to keep trying up to maximum attempt.
Added
- Synthetic data (synthetic_us_2010)
- Check on not defined covariate balance (absolute_corr_fun, absolute_weighted_corr_fun)
- Covariate balance threshold type: mean, median, maximal.
- Improved test coverage.
- Singularity definition file.