Skip to content

Commit c3ff283

Browse files
authoredJul 6, 2022
Merge pull request #90 from ONSdigital/spp_5901_rename_methods
Spp 5901 rename methods
2 parents baa9c99 + b7bb636 commit c3ff283

File tree

167 files changed

+527
-363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+527
-363
lines changed
 

‎pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "statistical_methods_library"
3-
version = "4.5.0"
3+
version = "5.0.0"
44
description = ""
55
authors = ["Your Name <you@example.com>"]
66
license = "MIT"

‎statistical_methods_library/estimation.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ValidationError(Exception):
1616
pass
1717

1818

19-
def estimate(
19+
def ht_ratio(
2020
input_df: DataFrame,
2121
unique_identifier_col: str,
2222
period_col: str,
@@ -33,8 +33,8 @@ def estimate(
3333
calibration_weight_col: typing.Optional[str] = "calibration_weight",
3434
) -> DataFrame:
3535
"""
36-
Perform estimation of design and calibration weights using Expansion and
37-
Ratio estimation.
36+
Perform Horvitz-Thompson estimation of design and calibration weights
37+
using Expansion and Ratio estimation.
3838
3939
###Arguments
4040
* `input_df`: The input data frame.

0 commit comments

Comments
 (0)
Please sign in to comment.