You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ldiversity() underestimates distinct l-diversity when quasi-identifiers contain missing values #363
When computing distinct l-diversity using ldiversity() in sdcMicro, groups where one or more quasi-identifiers contain missing values seem to yield incorrect l-diversity values.
Individuals with sex = "female", occupation = NA, ethnicity = "other" have sensitive value 1 or 0 (i.e., two distinct values). However, according to the ldiversity() output, the l-diversity for this group is $l = 1$.
Suspected location of the problem: Measure_Risk.h, row 577 and following.
Activity
Simplified/Updated/Fixed code to compute ldiversity measures (`measur…
bernhard-da commentedon Mar 18, 2026
@MuellerRoman thx for the report; i was able to reproduce and tried to fix it in the PR #364