-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from ONSdigital/spp-8508
Spp 8508
- Loading branch information
Showing
9 changed files
with
129 additions
and
274 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Statistical Methods Library 9.1.0 | ||
|
||
Release date: 2023-02-06 | ||
|
||
## Synopsis | ||
|
||
This release addresses an issue applying the link filter when using back | ||
data in the Ratio of Means imputation method. | ||
|
||
## Changes | ||
|
||
In the Ratio of Means imputation method, link filtering now happens after | ||
back data is validated and if there is back data it will be added to the | ||
input data before applying the filter. This fixes an issue where all the | ||
back data was filtered out in link calculations when using a link filter. | ||
|
||
## Notes | ||
|
||
Any data produced using a prior version of the Ratio of Means method relying | ||
on the link filter and back data should be considered suspect and it is | ||
recommended to repeat such runs with this new version. |
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "statistical_methods_library" | ||
version = "9.0.1" | ||
version = "9.1.0" | ||
description = "" | ||
authors = ["Your Name <[email protected]>"] | ||
license = "MIT" | ||
|
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
23 changes: 0 additions & 23 deletions
23
tests/fixture_data/imputation/ratio_of_means/back_data_scenarios/back_data_input.csv
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...ure_data/imputation/ratio_of_means/back_data_scenarios/back_data_missing_strata_input.csv
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...re_data/imputation/ratio_of_means/back_data_scenarios/back_data_missing_strata_output.csv
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
tests/fixture_data/imputation/ratio_of_means/back_data_scenarios/back_data_output.csv
This file was deleted.
Oops, something went wrong.
56 changes: 28 additions & 28 deletions
56
...mputation/ratio_of_means/methodology_scenarios/30_class_change_C_C_FI_filtered_output.csv
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,28 +1,28 @@ | ||
identifier,date,group,other,output,forward,backward,construction,output,marker,count_forward,count_backward,count_construction | ||
10001,202001,1,10,547,1.0,0.992513369,15.46666667,547,R,,2,2 | ||
10001,202002,1,10,362,1.007543103,0.843101893,15.58333333,362,R,2,2,2 | ||
10001,202003,1,10,895,1.186096257,1.0,18.48333333,895,R,2,,2 | ||
10002,202001,1,50,381,1.0,0.992513369,15.46666667,381,R,,2,2 | ||
10002,202002,1,50,573,1.007543103,0.843101893,15.58333333,573,R,2,2,2 | ||
10002,202003,1,50,214,1.186096257,1.0,18.48333333,214,R,2,,2 | ||
10003,202001,2,12,961,1.0,1.693854749,72.19047619,961,R,,2,2 | ||
10003,202002,2,12,267,0.590369393,0.852380952,42.61904762,267,R,2,2,2 | ||
10003,202003,2,12,314,1.173184358,1.0,50,314,R,2,,2 | ||
10004,202001,2,9,555,1.0,1.693854749,72.19047619,555,R,,2,2 | ||
10004,202002,2,9,628,0.590369393,0.852380952,42.61904762,628,R,2,2,2 | ||
10004,202003,2,9,736,1.173184358,1.0,50,736,R,2,,2 | ||
10005,202001,1,18,278.4,1.0,0.992513369,15.46666667,278.4000001,C,,2,2 | ||
10005,202002,2,18,767.1429,0.590369393,0.852380952,42.61904762,767.1428572,C,2,2,2 | ||
10005,202003,2,18,899.9997,1.173184358,1.0,50,900.00000,FIC,2,,2 | ||
10006,202001,1,85,150000,1.0,0.992513369,15.46666667,547,R,,2,2 | ||
10006,202002,1,85,180000,1.007543103,0.843101893,15.58333333,362,R,2,2,2 | ||
10006,202003,1,85,120000,1.186096257,1.0,18.48333333,895,R,2,,2 | ||
10007,202001,1,71,1098.133334,1.0,0.992513369,15.46666667,547,C,,2,2 | ||
10007,202002,1,71,1106.416666,1.007543103,0.843101893,15.58333333,362,FIC,2,2,2 | ||
10007,202003,1,71,1312.316666,1.186096257,1.0,18.48333333,895,FIC,2,,2 | ||
10008,202001,2,85,150000,1.0,1.693854749,72.19047619,961,R,,2,2 | ||
10008,202002,2,85,180000,0.590369393,0.852380952,42.61904762,267,R,2,2,2 | ||
10008,202003,2,85,120000,1.173184358,1.0,50,314,R,2,,2 | ||
10009,202001,2,71,5125.523809,1.0,1.693854749,72.19047619,961,C,,2,2 | ||
10009,202002,2,71,3025.952380,0.590369393,0.852380952,42.61904762,267,FIC,2,2,2 | ||
10009,202003,2,71,3550.000001,1.173184358,1.0,50,314,FIC,2,,2 | ||
identifier,date,group,other,output,forward,backward,construction,marker,count_forward,count_backward,count_construction | ||
10001,202001,1,10,547,1,0.992513369,15.46666667,R,,2,2 | ||
10001,202002,1,10,362,1.007543103,0.843101893,15.58333333,R,2,2,2 | ||
10001,202003,1,10,895,1.186096257,1,18.48333333,R,2,,2 | ||
10002,202001,1,50,381,1,0.992513369,15.46666667,R,,2,2 | ||
10002,202002,1,50,573,1.007543103,0.843101893,15.58333333,R,2,2,2 | ||
10002,202003,1,50,214,1.186096257,1,18.48333333,R,2,,2 | ||
10003,202001,2,12,961,1,1.693854749,72.19047619,R,,2,2 | ||
10003,202002,2,12,267,0.590369393,0.852380952,42.61904762,R,2,2,2 | ||
10003,202003,2,12,314,1.173184358,1,50,R,2,,2 | ||
10004,202001,2,9,555,1,1.693854749,72.19047619,R,,2,2 | ||
10004,202002,2,9,628,0.590369393,0.852380952,42.61904762,R,2,2,2 | ||
10004,202003,2,9,736,1.173184358,1,50,R,2,,2 | ||
10005,202001,1,18,278.4,1,0.992513369,15.46666667,C,,2,2 | ||
10005,202002,2,18,767.142857,0.590369393,0.852380952,42.61904762,C,2,2,2 | ||
10005,202003,2,18,900.000,1.173184358,1,50,FIC,2,,2 | ||
10006,202001,1,85,150000,1,0.992513369,15.46666667,R,,2,2 | ||
10006,202002,1,85,180000,1.007543103,0.843101893,15.58333333,R,2,2,2 | ||
10006,202003,1,85,120000,1.186096257,1,18.48333333,R,2,,2 | ||
10007,202001,1,71,1098.133333,1,0.992513369,15.46666667,C,,2,2 | ||
10007,202002,1,71,1106.416666,1.007543103,0.843101893,15.58333333,FIC,2,2,2 | ||
10007,202003,1,71,1312.316666,1.186096257,1,18.48333333,FIC,2,,2 | ||
10008,202001,2,85,150000,1,1.693854749,72.19047619,R,,2,2 | ||
10008,202002,2,85,180000,0.590369393,0.852380952,42.61904762,R,2,2,2 | ||
10008,202003,2,85,120000,1.173184358,1,50,R,2,,2 | ||
10009,202001,2,71,5125.523810,1,1.693854749,72.19047619,C,,2,2 | ||
10009,202002,2,71,3025.952381,0.590369393,0.852380952,42.61904762,FIC,2,2,2 | ||
10009,202003,2,71,3550.000000,1.173184358,1,50,FIC,2,,2 |
Oops, something went wrong.