Input Data
The data set consists of 10261 observations
Information on selected important (key) variables
- Categorical key variable(s): DISTRICT | URB_RUR | S4_CROP_ID | S4Q6A_V1 | S4Q6A_V2 | S4Q6A_V3
- Continuous key variable(s): not defined
- Weight variable: HH_Final_weight
- householdID: HOUSEHOLD_ID
- strataVariable(s): not defined
Modifications
- Modifications on categorical key variables: FALSE
- Modifications on continuous key variables: NA
- Modifications using PRAM: FALSE
- Local suppressions: TRUE
Disclosure risk:
Frequency Analysis for Categorical Key Variables
Number of observations violating
- 2-Anonymity: 0 (original dataset: 94)
- 3-Anonymity: 0 (original dataset: 217)
Percentage of observations violating
- 2-Anonymity: 0.000% (original dataset: 0.916%)
- 3-Anonymity: 0.000% (original dataset: 2.115%)
Disclosure Risk for Categorical Variables
Expected Percentage of Reidentifications:
- modified data: 0.019% (~ 1.912 observations)
- original data: 0.060% (~ 6.153 observations)
10 combinations of categories with highest risks
| DISTRICT | URB_RUR | S4_CROP_ID | S4Q6A_V1 | S4Q6A_V2 | S4Q6A_V3 | risk | fk | Fk | hier_risk |
|---|---|---|---|---|---|---|---|---|---|
| KAILAHUN | Rural | Yams | NA | NA | Received for free (gift or donation) | 0.008 | 3 | 191.9763 | 0.0086013 |
| MOYAMBA | Urban | Okra | NA | NA | NA | 0.006 | 3 | 254.9019 | 0.0091539 |
| KONO | Rural | Kola | NA | NA | Obtained at exchange | 0.005 | 3 | 288.8970 | 0.0054035 |
| KONO | Rural | Yams | NA | NA | Purchased | 0.005 | 3 | 300.0073 | 0.0051712 |
| KAILAHUN | Rural | Other Fruits and Nuts Crops | NA | NA | Purchased | 0.005 | 4 | 282.3232 | 0.0134410 |
| KARENE | Rural | Oil Palm | NA | NA | Purchased | 0.004 | 3 | 347.4714 | 0.0061161 |
| KAILAHUN | Rural | Cucumber | NA | NA | Received for free (gift or donation) | 0.004 | 4 | 310.3145 | 0.0045616 |
| FALABA | Rural | Other Vegetable Crops | NA | NA | From own harvest/produced on the farm | 0.004 | 3 | 359.6624 | 0.0054987 |
| MOYAMBA | Urban | Other Fruits and Nuts Crops | NA | NA | Received for free (gift or donation) | 0.004 | 3 | 369.8853 | 0.0142921 |
| MOYAMBA | Urban | Millets | NA | NA | NA | 0.004 | 3 | 396.9992 | 0.0092543 |
Hierarchical risk
- modified data: 7.393 (0.072%)
- original data: 25.079 (0.244%)
Data Utility
Frequencies Categorical Key Variables:
Variable: DISTRICT
| Categories | Original data | Modified data |
|---|---|---|
| KAILAHUN | 1711 | 1704 |
| KENEMA | 1014 | 1008 |
| KONO | 1419 | 1417 |
| BOMBALI | 324 | 319 |
| FALABA | 340 | 335 |
| KOINADUGU | 148 | 145 |
| TONKOLILI | 1097 | 1088 |
| KAMBIA | 465 | 459 |
| KARENE | 295 | 288 |
| PORTLOKO | 710 | 705 |
| BO | 920 | 920 |
| BONTHE | 156 | 156 |
| MOYAMBA | 884 | 881 |
| PUJEHUN | 621 | 619 |
| WESTERN RURAL | 99 | 97 |
| WESTERN URBAN | 0 | NA |
| NA | 58 | 120 |
Variable: URB_RUR
| Categories | Original data | Modified data |
|---|---|---|
| Rural | 8574 | 8574 |
| Urban | 1469 | 1469 |
| NA | 218 | 218 |
Variable: S4_CROP_ID
| Categories | Original data | Modified data |
|---|---|---|
| Rice | 3352 | 3352 |
| Maize | 630 | 630 |
| Millets | 82 | 82 |
| Chilli Peper | 208 | 208 |
| Cucumber | 197 | 197 |
| Okra | 169 | 169 |
| Sweet Peper | 119 | 119 |
| Krain Krain | 62 | 62 |
| Potato leaves | 87 | 87 |
| Cocoa | 919 | 919 |
| Coffee | 186 | 186 |
| Kola | 66 | 66 |
| Banana | 103 | 103 |
| Groundnut | 1017 | 1017 |
| Soya Beans | 78 | 78 |
| Sesame(benie) | 116 | 116 |
| Oil Palm | 738 | 738 |
| Cassava | 1189 | 1189 |
| Yams | 82 | 82 |
| Broad beans | 156 | 156 |
| Other Cereal Crops | 25 | 25 |
| Other Vegetable Crops | 224 | 224 |
| Other Fruits and Nuts Crops | 185 | 185 |
| Other Oil Seeds Crops | 30 | 30 |
| Other Tuber/Root Crops | 176 | 176 |
| Other Leguminous Crops | 57 | 57 |
| Other Industrial Crops | 8 | 7 |
| NA | NA | 1 |
Variable: S4Q6A_V1
| Categories | Original data | Modified data |
|---|---|---|
| Agro dealer | 13 | 13 |
| From own harvest/produced on the farm | 37 | 37 |
| Loan | 2 | 2 |
| MAFS/Project | 32 | 31 |
| NGO | 13 | 13 |
| Obtained at exchange | 24 | 24 |
| Other (specify) | 2 | 2 |
| Purchased | 172 | 172 |
| Received for free (gift or donation) | 21 | 21 |
| NA | 9945 | 9946 |
Variable: S4Q6A_V2
| Categories | Original data | Modified data |
|---|---|---|
| Agro dealer | 69 | 69 |
| From own harvest/produced on the farm | 1077 | 1073 |
| Loan | 37 | 37 |
| MAFS/Project | 30 | 30 |
| NGO | 7 | 7 |
| Obtained at exchange | 103 | 101 |
| Other (specify) | 12 | 12 |
| Purchased | 1371 | 1369 |
| Received for free (gift or donation) | 174 | 173 |
| NA | 7381 | 7390 |
Variable: S4Q6A_V3
| Categories | Original data | Modified data |
|---|---|---|
| Agro dealer | 13 | 13 |
| From own harvest/produced on the farm | 3395 | 3337 |
| Loan | 88 | 86 |
| MAFS/Project | 6 | 6 |
| NGO | 3 | 3 |
| Obtained at exchange | 234 | 217 |
| Other (specify) | 29 | 24 |
| Purchased | 3157 | 3121 |
| Received for free (gift or donation) | 394 | 365 |
| NA | 2942 | 3089 |
Local Suppressions
The table below shows for each categorical key variable the number (1st row) and the percentages (2nd row) of suppressed cells.
| DISTRICT | URB_RUR | S4_CROP_ID | S4Q6A_V1 | S4Q6A_V2 | S4Q6A_V3 | |
|---|---|---|---|---|---|---|
| Number of Suppression | 62 | 0 | 1 | 1 | 9 | 147 |
| Percentage | 0.604 | 0.000 | 0.010 | 0.010 | 0.088 | 1.433 |
R-Code
Session-Info
About the R-Version
- Version: R version 4.5.2 (2025-10-31 ucrt)
- Platform: x86_64-w64-mingw32
Locales
LC_COLLATE=English_United States.utf8 | LC_CTYPE=English_United States.utf8 | LC_MONETARY=English_United States.utf8 | LC_NUMERIC=C | LC_TIME=English_United States.utf8
Attached base packages
stats | graphics | grDevices | utils | datasets | methods | base
Other attached packages
labelled (2.16.0) | questionr (0.8.1) | haven (2.5.5) | readxl (1.4.5) | tidyr (1.3.1) | dplyr (1.1.4) | agrisvyr (0.2.0) | sdcMicro (5.7.9)
Packages loaded via Namespace (but not attached)
tidyselect (1.2.1) | viridisLite (0.4.2) | farver (2.1.2) | R.utils (2.13.0) | S7 (0.2.1) | fastmap (1.2.0) | promises (1.5.0) | digest (0.6.38) | mime (0.13) | lifecycle (1.0.4) | cluster (2.1.8.1) | magrittr (2.0.4) | compiler (4.5.2) | rlang (1.1.6) | sass (0.4.10) | tools (4.5.2) | utf8 (1.2.6) | yaml (2.3.10) | data.table (1.17.8) | knitr (1.50) | askpass (1.2.1) | htmlwidgets (1.6.4) | plyr (1.8.9) | xml2 (1.4.1) | RColorBrewer (1.1-3) | miniUI (0.1.2) | withr (3.0.2) | purrr (1.2.0) | R.oo (1.27.1) | grid (4.5.2) | xtable (1.8-4) | data.tree (1.2.0) | ggplot2 (4.0.1) | scales (1.4.0) | MASS (7.3-65) | cli (3.6.5) | rmarkdown (2.30) | crayon (1.5.3) | generics (0.1.4) | otel (0.2.0) | rstudioapi (0.17.1) | robustbase (0.99-6) | tzdb (0.5.0) | cachem (1.1.0) | stringr (1.6.0) | rhandsontable (0.3.8) | cellranger (1.1.0) | vctrs (0.6.5) | jsonlite (2.0.0) | carData (3.0-5) | hms (1.1.4) | systemfonts (1.3.1) | jquerylib (0.1.4) | shinyBS (0.61.1) | glue (1.8.0) | DEoptimR (1.1-4) | DT (0.34.0) | stringi (1.8.7) | gtable (0.3.6) | later (1.4.4) | tibble (3.3.0) | pillar (1.11.1) | htmltools (0.5.8.1) | openssl (2.3.4) | R6 (2.6.1) | textshaping (1.0.4) | evaluate (1.0.5) | shiny (1.11.1) | kableExtra (1.4.0) | readr (2.1.6) | highr (0.11) | R.methodsS3 (1.8.2) | openxlsx (4.2.8.1) | renv (1.1.5) | httpuv (1.6.16) | bslib (0.9.0) | Rcpp (1.1.0) | zip (2.3.3) | svglite (2.2.2) | xfun (0.54) | fs (1.6.6) | forcats (1.0.1) | usethis (3.2.1) | getPass (0.2-4) | prettydoc (0.4.1) | pkgconfig (2.0.3)
Disclaimer
R-Package sdcMicro is developed and maintained by Statistics Austria (www.statistik.at).
Please use the issue-tracker on github to report any issues:
This report was generated on Thu, 09/04/2026 at 13:57:34.