Open edvinf opened 3 months ago
This can also be used to allow RatioEstimates with TotalDomainWeight to ignore some stratification columns. Consider if that is desirable, or if LiftStrata need to be exposed to StoX.
Could also consider adding explicit imputation-function post estimate.
Summary of dicussion with user:
Consider:
Note that lottery data from 2019 and 2020 only have sampling weights, not exact probabilities. AnalyticalRatioEstimate with MeanDomainWeight needs to work for these data. That is complicated by:
In current pre-release (-9006) of analytical Ratio estimate, correspondance between stratum and PSU-domains is done automatically, and an error is raised if no correspondances are found in terms of column names, or if no code correspondences are found between estimates and landings. This makes it difficult for users to spot potential misconfigurations. They should rather be excplicitly declared, similar to how fixed effects in Reca are declared.