Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccdbb01
commit ce5888f
Showing
36 changed files
with
5,592 additions
and
5,561 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
50f183135225c61935c3c7d488479557 *DESCRIPTION | ||
c9e9157b0cb66ec5ebc367b650c81190 *NAMESPACE | ||
55162eadf15d99dc6e48931d6fca3836 *NEWS.md | ||
6a8f960eb5a01db80959beb76a096f38 *R/data.R | ||
a74e31826d5d9065b413f35b63bd1ef9 *R/define_statistic_wrapper.R | ||
9c4e35b8eb90377d2bc552a286791314 *R/define_variance_wrapper.R | ||
802e1bcb5338e937df7ad2e466bef499 *R/qvar.R | ||
28b80238301c28129de7783228cc8b4f *R/standard_statistic_wrapper.R | ||
a024fa61acef37fb9cd8f6a64b14f2f6 *R/utils.R | ||
67bcfe54e98e25d5ceb9943534b9832e *R/variance_function.R | ||
cb1c8997eefdd778a593d19a3612b910 *README.md | ||
84a0eb04cf3611fe415c3cf0c4922e76 *DESCRIPTION | ||
65ffa2afcf4d60d104bb5ed652e9a55d *NAMESPACE | ||
8ffd588e0359d46c058dbfe2c1b03d1d *NEWS.md | ||
2389158c4ee7eb83483f2362fd134cd1 *R/data.R | ||
81ff4379793a5f84c07e5bdfa5c30c11 *R/define_statistic_wrapper.R | ||
cfd3544b3d54ea30976e03263b12af44 *R/define_variance_wrapper.R | ||
8cfd83799f7e0183af8eda815937454c *R/qvar.R | ||
6cad9319983539459a388124a59bda56 *R/standard_statistic_wrapper.R | ||
0c4b3a43142b8447d0c326be3d11a043 *R/utils.R | ||
934cf00cc049413d762b6d3de59f128c *R/variance_function.R | ||
ca5afe44892010af9ff421c439361158 *README.md | ||
8c938e5f0102972669f4ef1ec452bcc5 *data/ict_pop.RData | ||
f40387363e8e3a4a79446ce9ec1e381f *data/ict_sample.RData | ||
b2ff22127820bcf56be7e808af58be8f *data/ict_survey.RData | ||
48b98cc892d1cdf79971ebabeb3cb931 *data/lfs_samp_area.RData | ||
bf1e868ad87514b21cb573a252b6a572 *data/lfs_samp_dwel.RData | ||
c8e1be9f23795cc864502d4b89c5436b *data/lfs_samp_ind.RData | ||
b0ac8fecb046a12de4139026cd1e0b16 *man/add_zero.Rd | ||
98348b26e9198ed9b4729309cb28ada0 *man/define_statistic_wrapper.Rd | ||
5009e7d6ce735924b1d29a702f503fdf *man/define_variance_wrapper.Rd | ||
41af0137a8f8466f15d8b27c5e7d1d15 *man/ict_pop.Rd | ||
12850b3a39985a0e63b97d32ae4791e1 *man/ict_sample.Rd | ||
6fb06964b38829be4c113334a395dcb4 *man/ict_survey.Rd | ||
cd22fc5719867cff76eea4640f67666a *man/lfs_samp_area.Rd | ||
22d4d8dba7eba14b30147da18e478374 *man/lfs_samp_dwel.Rd | ||
e8a0f4182792840756cc6167b0393a79 *man/lfs_samp_ind.Rd | ||
641e9657b8847a0da321f02cee3d9a20 *man/qvar.Rd | ||
f488d05ded6ae6e257a6fcacdc6e1424 *man/res_cal.Rd | ||
539e4dd6b2d06bca77d5050e7ef91550 *man/standard_statistic_wrapper.Rd | ||
c6a83fc3ef716a586a19dd91fa9c10d1 *man/sum_by.Rd | ||
3ef47e8801199cc70be24bb26f1cdb2f *man/varDT.Rd | ||
3a7fad3be9e01082f3f2a0cd530acc11 *man/varSYG.Rd | ||
77cf51f37b02b29982179544a006de94 *man/var_pois.Rd | ||
267fa81060b9e8ccee84f8ef2a68a150 *tests/testthat.R | ||
4ad05200db3f34399016f49a02659bd9 *tests/testthat/test_data.R | ||
c456b64214b63c07af9fb326d75b19de *tests/testthat/test_define_statistic_wrapper.R | ||
18c7c702d6d598b452822eeb144c8b05 *tests/testthat/test_define_variance_wrapper.R | ||
c4f2c0b27affc300dac2abd048e353bd *tests/testthat/test_qvar.R | ||
a013785a23d1f9c8914db3d18e889f24 *tests/testthat/test_standard_statistic_wrapper.R | ||
9d17c33baa22945661e77a1168bc4ccb *tests/testthat/test_utils.R | ||
bd6e46af36af4fcffc4980a2fcd94d33 *tests/testthat/test_variance_function.R | ||
bade13ca2aa8616facdd21aa78d6633e *man/add_zero.Rd | ||
55ece7e1b704509cb7e12bc6cde79809 *man/define_statistic_wrapper.Rd | ||
60439454144ee1af6efab927cef3e767 *man/define_variance_wrapper.Rd | ||
311e67307eec47407ee4f766e0749580 *man/ict_pop.Rd | ||
c79a3b320dd4af16ecf05ee28ddf241d *man/ict_sample.Rd | ||
eec9f014a16dc7c4c1b89fae86d5acc6 *man/ict_survey.Rd | ||
f5b920c167695510a57b51fada81d7b3 *man/lfs_samp_area.Rd | ||
868ea953de6437f8a843cc47cd65f5d9 *man/lfs_samp_dwel.Rd | ||
119c2c6c55d3086207966b3a49ff2ded *man/lfs_samp_ind.Rd | ||
0268570abe6a47580da21d81ff301887 *man/qvar.Rd | ||
37a4d872c7be90db16f65ed9909dad90 *man/res_cal.Rd | ||
0147d1980a7b86f5cff954bab4bd6e56 *man/standard_statistic_wrapper.Rd | ||
82d8cbd8691c8488827b6671ee8fd843 *man/sum_by.Rd | ||
c97a6dcdf240c86eae7752a2e92f81c9 *man/varDT.Rd | ||
07ba9c7717c43c0dc8bc3531b65b28b9 *man/varSYG.Rd | ||
8018388edf0e1f707dc478ce0f3b8946 *man/var_pois.Rd | ||
b64a36634ff32b6814849e4d3f104669 *tests/testthat.R | ||
103bb4a542f9b75331ec62a2e9d6544e *tests/testthat/test_data.R | ||
e8e5798d033249c10a5d70127d1b9a53 *tests/testthat/test_define_statistic_wrapper.R | ||
f5f75ec10442166a1196d246ca5f74ed *tests/testthat/test_define_variance_wrapper.R | ||
82f932c646b8909eebe2d8f83ddd7510 *tests/testthat/test_qvar.R | ||
2fe88c6ba8784fa2d7749d7ef0f96492 *tests/testthat/test_standard_statistic_wrapper.R | ||
9c663a4e55715462ca972d4cad116ab8 *tests/testthat/test_utils.R | ||
dd315a245025464baa5cadab6d97aa8c *tests/testthat/test_variance_function.R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export(add_zero) | ||
export(define_statistic_wrapper) | ||
export(define_variance_wrapper) | ||
export(qvar) | ||
export(res_cal) | ||
export(sum_by) | ||
export(varDT) | ||
export(varSYG) | ||
export(var_pois) | ||
export(var_srs) | ||
import(Matrix) | ||
# Generated by roxygen2: do not edit by hand | ||
export(add_zero) | ||
export(define_statistic_wrapper) | ||
export(define_variance_wrapper) | ||
export(qvar) | ||
export(res_cal) | ||
export(sum_by) | ||
export(varDT) | ||
export(varSYG) | ||
export(var_pois) | ||
export(var_srs) | ||
import(Matrix) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,81 @@ | ||
# 0.4.2 | ||
|
||
Change maintainer e-mail address. | ||
|
||
# 0.4.1 | ||
|
||
Debug against R-devel: as of R 4.0.0, class(.) on a matrix object has length > 1. | ||
|
||
# 0.4.0 | ||
|
||
- Breaking: Heavy remanufacturing of `define_variance_wrapper` | ||
|
||
* New: `technical_data` argument offers a more consistent way to include technical data within the enclosing environment of the wrapper. `objects_to_include` is kept for non-data objects (such as additional statistic wrappers) or advanced customization. | ||
* New: `technical_param` argument offers a more convenient way to specify default values for parameters used by the variance function. | ||
* New: `reference_weight` replaces `default$weight`. This means that the reference weight used for point estimation and linearization is set while defining the variance wrapper and not at run-time. | ||
* Deprecated: `stat`, which was a remain of an early implementation of linearization functions, is not a parameter of the variance wrappers anymore. Its purpose (to apply a given variance wrapper to several variables without having to type the name of the linearization wrapper) is now covered by the standard evaluation capabilities of statistic wrappers (see below). | ||
* Deprecated: `default` is replaced by `default_id`, as `default$weight` and `default$stat` are no longer needed. As for `default$alpha`, its value is set to 0.05 and cannot be changed anymore while defining the variance wrapper (as this can easily be done afterwards using `formals<-`). | ||
* Deprecated: `objects_to_include_from` | ||
|
||
- Breaking: Rebranding and heavy remanufacturing of `define_statistic_wrapper` (previously known as `define_linearization_wrapper`), added support for standard evaluation (see `define_variance_wrapper` examples). | ||
|
||
- New: the `qvar` function allows for a straigthforward variance estimation in common cases (stratified simple random sampling with non-response through reweighting and calibration) and performs both technical and methodological checks. | ||
|
||
- Some normalization in function names: `add0` becomes `add_zero`, `sumby` becomes `sum_by`, `rescal` becomes `res_cal` | ||
|
||
- Example data: calibration variables in ict_sample instead of ict_survey, new LFS example data | ||
|
||
- Significant increase of unit tests | ||
|
||
|
||
|
||
# 0.3.1 | ||
|
||
- Hotfix: Add calibrated weights to `define_variance_wrapper` example. | ||
|
||
# 0.3.0 | ||
|
||
- Simulated data added | ||
- Significant increase of unit tests | ||
- Documentation completed | ||
- Simplification of the structure of the main object processed by the variance wrapper | ||
- Removal of unnecessary arguments in linearization wrappers | ||
- Removal of the linerization wrappers for the Laeken indicators based on the vardpoor package (better integration in a future release) | ||
- Preparation for a first CRAN release | ||
|
||
# 0.2.7 | ||
|
||
- Now linearization with all data parameters set to NULL are discarded from the estimation. | ||
|
||
# 0.2.6 | ||
|
||
- Bug fix: evaluation of variables can occur either in the data argument or in the evaluation environment (envir argument) | ||
|
||
# 0.2.3-0.2.5 | ||
|
||
- Several attempts to output more metadata from linearization functions. | ||
- At the end : ratio() gains two metadata slots, est_num and est_denom | ||
|
||
# 0.2.2 | ||
|
||
- Minor bug fixes | ||
|
||
# 0.2.1 | ||
|
||
- Beginning of the documentation | ||
- Renaming of numerous functions and arguments | ||
- Change the precalc structure in varDT | ||
- Normalize the treatment of weights | ||
- New linearization wrappers: gini() and arpr() | ||
|
||
# 0.1.3-0.1.7 | ||
|
||
- No more dependency to package pryr | ||
- Add the generalized inverse in `varDT` | ||
- Other bug fixes | ||
|
||
# 0.4.3 | ||
|
||
- Remove the giveCsparse warning (appeared with Matrix 1.3 shipped with R 4.0) (issue #7) | ||
- Fix the discretization problem with qualitative variables with one modality (issue #8), thanks to @ThomasDeroyon | ||
|
||
# 0.4.2 | ||
|
||
Change maintainer e-mail address. | ||
|
||
# 0.4.1 | ||
|
||
Debug against R-devel: as of R 4.0.0, class(.) on a matrix object has length > 1. | ||
|
||
# 0.4.0 | ||
|
||
- Breaking: Heavy remanufacturing of `define_variance_wrapper` | ||
|
||
* New: `technical_data` argument offers a more consistent way to include technical data within the enclosing environment of the wrapper. `objects_to_include` is kept for non-data objects (such as additional statistic wrappers) or advanced customization. | ||
* New: `technical_param` argument offers a more convenient way to specify default values for parameters used by the variance function. | ||
* New: `reference_weight` replaces `default$weight`. This means that the reference weight used for point estimation and linearization is set while defining the variance wrapper and not at run-time. | ||
* Deprecated: `stat`, which was a remain of an early implementation of linearization functions, is not a parameter of the variance wrappers anymore. Its purpose (to apply a given variance wrapper to several variables without having to type the name of the linearization wrapper) is now covered by the standard evaluation capabilities of statistic wrappers (see below). | ||
* Deprecated: `default` is replaced by `default_id`, as `default$weight` and `default$stat` are no longer needed. As for `default$alpha`, its value is set to 0.05 and cannot be changed anymore while defining the variance wrapper (as this can easily be done afterwards using `formals<-`). | ||
* Deprecated: `objects_to_include_from` | ||
|
||
- Breaking: Rebranding and heavy remanufacturing of `define_statistic_wrapper` (previously known as `define_linearization_wrapper`), added support for standard evaluation (see `define_variance_wrapper` examples). | ||
|
||
- New: the `qvar` function allows for a straigthforward variance estimation in common cases (stratified simple random sampling with non-response through reweighting and calibration) and performs both technical and methodological checks. | ||
|
||
- Some normalization in function names: `add0` becomes `add_zero`, `sumby` becomes `sum_by`, `rescal` becomes `res_cal` | ||
|
||
- Example data: calibration variables in ict_sample instead of ict_survey, new LFS example data | ||
|
||
- Significant increase of unit tests | ||
|
||
|
||
|
||
# 0.3.1 | ||
|
||
- Hotfix: Add calibrated weights to `define_variance_wrapper` example. | ||
|
||
# 0.3.0 | ||
|
||
- Simulated data added | ||
- Significant increase of unit tests | ||
- Documentation completed | ||
- Simplification of the structure of the main object processed by the variance wrapper | ||
- Removal of unnecessary arguments in linearization wrappers | ||
- Removal of the linerization wrappers for the Laeken indicators based on the vardpoor package (better integration in a future release) | ||
- Preparation for a first CRAN release | ||
|
||
# 0.2.7 | ||
|
||
- Now linearization with all data parameters set to NULL are discarded from the estimation. | ||
|
||
# 0.2.6 | ||
|
||
- Bug fix: evaluation of variables can occur either in the data argument or in the evaluation environment (envir argument) | ||
|
||
# 0.2.3-0.2.5 | ||
|
||
- Several attempts to output more metadata from linearization functions. | ||
- At the end : ratio() gains two metadata slots, est_num and est_denom | ||
|
||
# 0.2.2 | ||
|
||
- Minor bug fixes | ||
|
||
# 0.2.1 | ||
|
||
- Beginning of the documentation | ||
- Renaming of numerous functions and arguments | ||
- Change the precalc structure in varDT | ||
- Normalize the treatment of weights | ||
- New linearization wrappers: gini() and arpr() | ||
|
||
# 0.1.3-0.1.7 | ||
|
||
- No more dependency to package pryr | ||
- Add the generalized inverse in `varDT` | ||
- Other bug fixes | ||
|
Oops, something went wrong.