balance icon indicating copy to clipboard operation
balance copied to clipboard

[BUG] marginal distribution with rake

Open EmanueleCeglia opened this issue 9 months ago • 11 comments

While attempting to calibrate the margins of a sample derived from a survey (df dataframe), I encounter the error displayed at the end of the code flow.

The margins used for calibration are real totals of country x size and country x sector, in the same order as obtained through the command sorted(set(df['ctrysize/sect'])).

image image image image image image image image

EmanueleCeglia avatar May 10 '24 22:05 EmanueleCeglia