group | group.description | variable.name | question.num. | question |
1 | Cereals | HDDS_01 | Q17.1 | Cereals |
2 | White roots and tubers | HDDS_02 | Q17.2 | White roots and tubers |
3 | Vegetables | HDDS_03 | Q17.3 | Orange fleshed roots/tubers or vegetables |
HDDS_04 | Q17.4 | Dark green leafy vegetables | ||
HDDS_05 | Q17.5 | Other vegetables | ||
4 | Fruits | HDDS_06 | Q17.6 | Orange fleshed fruits |
HDDS_07 | Q17.7 | Other fruits | ||
5 | Meat | HDDS_08 | Q17.8 | Organ meat |
HDDS_09 | Q17.9 | Flesh meat | ||
6 | Eggs | HDDS_10 | Q17.10 | Eggs |
7 | Fish | HDDS_11 | Q17.11 | Fish |
8 | Legumes, nuts and seeds | HDDS_12 | Q17.12 | Pulses |
HDDS_13 | Q17.13 | Nuts and seeds | ||
9 | Milk and milk-products | HDDS_14 | Q17.14 | Milk and milk-products |
10 | Oils/Fats | HDDS_15 | Q17.15 | Oils/Fats |
11 | Sugar and sweets | HDDS_16 | Q17.16 | Sugar and sweets |
12 | Spices, condiments and beverages | HDDS_17 | Q17.17 | Spices and Condiments |
HDDS_18 | Q17.18 | Beverages |
# HDDS_01:HDDS_18 in columns 116:133
dfS <- dfS %>% mutate_at(.vars = 116:133,~ifelse(.=="Yes",1,0)) %>%
rowwise() %>%
mutate(H01.Cereals=HDDS_01,
H02.White.tubers.roots=HDDS_02,
H03.Vegetables=ifelse((HDDS_03+HDDS_04+HDDS_05)>0,1,0),
H04.Fruits=ifelse((HDDS_06+HDDS_07)>0,1,0),
H05.Meat=ifelse((HDDS_08+HDDS_09)>0,1,0),
H06.Eggs=HDDS_10,
H07.Fish=HDDS_11,
H08.Legumes.nuts.seeds=ifelse((HDDS_12+HDDS_13)>0,1,0),
H09.Milk=HDDS_14,
H10.Oils.fats=HDDS_15,
H11.Sweets=HDDS_16,
H12.Spices.condiments.beverages=ifelse((HDDS_17+HDDS_18)>0,1,0)) %>%
mutate(HDDS12.Tot = H01.Cereals + H02.White.tubers.roots + H03.Vegetables + H04.Fruits +
H05.Meat + H06.Eggs + H07.Fish + H08.Legumes.nuts.seeds + H09.Milk +
H10.Oils.fats + H11.Sweets + H12.Spices.condiments.beverages)
HDDS by country (% of Yes)
variable | KE | MO | TN | TZ | UG | Total |
H01.Cereals | 91.1 | 95.0 | 85.3 | 94.9 | 88.3 | 90.6 |
H02.White.tubers.roots | 40.0 | 66.6 | 59.7 | 45.5 | 76.5 | 57.6 |
H03.Vegetables | 95.1 | 83.4 | 84.7 | 93.5 | 95.4 | 91.4 |
H04.Fruits | 76.4 | 78.3 | 72.4 | 77.1 | 71.9 | 74.9 |
H05.Meat | 38.3 | 70.6 | 75.1 | 47.0 | 40.4 | 51.4 |
H06.Eggs | 38.4 | 62.4 | 57.2 | 20.4 | 37.6 | 42.0 |
H07.Fish | 22.7 | 28.4 | 30.3 | 51.3 | 33.4 | 32.4 |
H08.Legumes.nuts.seeds | 58.5 | 53.9 | 66.9 | 71.5 | 74.6 | 65.5 |
H09.Milk | 79.8 | 65.7 | 83.1 | 36.9 | 46.2 | 62.4 |
H10.Oils.fats | 68.4 | 89.6 | 80.4 | 77.9 | 74.2 | 76.7 |
H11.Sweets | 63.9 | 81.4 | 68.8 | 64.2 | 78.8 | 71.3 |
H12.Spices.condiments.beverages | 90.7 | 96.6 | 89.2 | 94.7 | 98.2 | 93.9 |
dfS.FS <- dfS %>% mutate(city=factor(city),country=factor(country)) %>%
mutate(city=paste(country,city,sep=".")) %>%
select(country, HDDS12.Tot, meet_food_needs, lacking_cereal:lacking_oil, city, age, gender, educ3, HH_size,
income_avg, hh_salary, income_food, hh_head_employ, imp_availability:imp_product,
local_food_interest, local_envfriend:obst_loc_trust, healty_diet,
nutri_food_interest,nutri_healthy:nustri_doctor,obst_nutri_safe:obst_nutri_friend) %>%
filter(gender %in% levels(dfS$gender)[1:2])
dfS.FS <- droplevels(dfS.FS)
dfS.FS.1 <- dfS.FS %>% select(HDDS12.Tot,city,age:obst_nutri_friend)
dfS.FS.1 <- na.omit(dfS.FS.1)
mod.FS.1 <- lm(HDDS12.Tot~.,data=dfS.FS.1)
my.flextb(lm2df(mod.FS.1),title = "HDDS12 - coefficients") %>% autofit()
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 3.9003 | 0.3415 | 11.4227 | 7.2e-30 | *** |
cityKE.Kitui | 0.1961 | 0.1665 | 1.1774 | 0.2391 | |
cityKE.Nyeri | 0.0653 | 0.1746 | 0.3738 | 0.7085 | |
cityMO.Beni Mellal | 1.1921 | 0.1633 | 7.3019 | 3.3e-13 | *** |
cityMO.Meknes | 1.9486 | 0.1587 | 12.2815 | 3.3e-34 | *** |
cityTN.Sousse | 0.9353 | 0.1704 | 5.4903 | 4.2e-08 | *** |
cityTN.Tunis | 1.6002 | 0.1864 | 8.5852 | 1.2e-17 | *** |
cityTZ.Daressalaam | 0.2900 | 0.1678 | 1.7276 | 0.0841 | . |
cityTZ.Morogoro | 0.5016 | 0.1747 | 2.8705 | 0.0041 | ** |
cityUG.Kalerwe | 0.9459 | 0.1574 | 6.0081 | 2.0e-09 | *** |
cityUG.Kampala | 1.1453 | 0.1604 | 7.1387 | 1.1e-12 | *** |
cityUG.Kapeeka | 0.8874 | 0.1601 | 5.5441 | 3.1e-08 | *** |
age | 0.0026 | 0.0024 | 1.0720 | 0.2838 | |
genderFemale | 0.1745 | 0.0595 | 2.9318 | 0.0034 | ** |
educ3Primary | 0.5211 | 0.1124 | 4.6365 | 3.6e-06 | *** |
educ3Secondary or more | 0.5770 | 0.1121 | 5.1454 | 2.8e-07 | *** |
HH_size | 0.0339 | 0.0122 | 2.7715 | 0.0056 | ** |
income_avgsomewhat lower than average | 0.3779 | 0.0829 | 4.5598 | 5.2e-06 | *** |
income_avgabout average | 0.5262 | 0.1031 | 5.1062 | 3.4e-07 | *** |
income_avgsomewhat higher than average | 0.6694 | 0.1143 | 5.8577 | 5.0e-09 | *** |
income_avghigher than average | 0.8823 | 0.1292 | 6.8265 | 9.7e-12 | *** |
hh_salary | 0.0772 | 0.0342 | 2.2580 | 0.0240 | * |
income_foodLess than half (from 25% to 50%) | 0.0245 | 0.1078 | 0.2268 | 0.8206 | |
income_foodAbout half (50%) | 0.1190 | 0.1021 | 1.1656 | 0.2438 | |
income_foodMore than half (from 50% to 75%) | 0.1103 | 0.1085 | 1.0166 | 0.3094 | |
income_foodAlmost all (from 75% to 100%). | -0.3936 | 0.1350 | -2.9164 | 0.0036 | ** |
hh_head_employRegular worker | 0.2102 | 0.1360 | 1.5458 | 0.1222 | |
hh_head_employCasual worker (paid by the day) | 0.0567 | 0.1307 | 0.4337 | 0.6645 | |
hh_head_employClerk (formal employment) | 0.3117 | 0.1441 | 2.1628 | 0.0306 | * |
hh_head_employManager | 0.3136 | 0.2366 | 1.3252 | 0.1852 | |
hh_head_employBusinessman / self-employed | 0.4618 | 0.1355 | 3.4085 | 6.6e-04 | *** |
hh_head_employSole trader | 0.2077 | 0.1457 | 1.4255 | 0.1541 | |
hh_head_employOther | 0.0424 | 0.1719 | 0.2467 | 0.8051 | |
imp_availability | -0.0206 | 0.0265 | -0.7777 | 0.4368 | |
imp_nutrition | 0.0089 | 0.0291 | 0.3052 | 0.7602 | |
imp_provider | 0.1133 | 0.0257 | 4.4075 | 1.1e-05 | *** |
imp_price | -0.0973 | 0.0298 | -3.2620 | 0.0011 | ** |
imp_envfriend | -0.0137 | 0.0266 | -0.5142 | 0.6071 | |
imp_divers | 0.0082 | 0.0300 | 0.2730 | 0.7849 | |
imp_tradition | -0.0385 | 0.0243 | -1.5845 | 0.1131 | |
imp_local | -0.0049 | 0.0231 | -0.2124 | 0.8318 | |
imp_product | -0.0452 | 0.0271 | -1.6654 | 0.0959 | . |
local_food_interest | -0.0373 | 0.0312 | -1.1952 | 0.2321 | |
local_envfriend | 0.0395 | 0.0282 | 1.4015 | 0.1611 | |
local_afford | -0.0091 | 0.0317 | -0.2874 | 0.7738 | |
local_find | 0.0628 | 0.0307 | 2.0437 | 0.0410 | * |
local_tradition | 0.0061 | 0.0252 | 0.2439 | 0.8073 | |
local_helpfarmer | 0.0861 | 0.0269 | 3.2057 | 0.0014 | ** |
local_friends | -0.0128 | 0.0237 | -0.5411 | 0.5884 | |
obst_loc_familar | 0.0297 | 0.0238 | 1.2461 | 0.2128 | |
obst_loc_change | 0.0294 | 0.0242 | 1.2135 | 0.2250 | |
obst_loc_comparab | -0.0559 | 0.0252 | -2.2188 | 0.0265 | * |
obst_loc_healthy | 0.0519 | 0.0244 | 2.1234 | 0.0338 | * |
obst_loc_friend | 0.0055 | 0.0241 | 0.2283 | 0.8194 | |
obst_loc_trust | -0.0429 | 0.0221 | -1.9432 | 0.0520 | . |
healty_diet | 0.2584 | 0.0289 | 8.9522 | 4.7e-19 | *** |
nutri_food_interest | 0.1081 | 0.0328 | 3.2971 | 9.8e-04 | *** |
nutri_healthy | 0.0714 | 0.0306 | 2.3342 | 0.0196 | * |
nutri_sstatus | 0.0160 | 0.0229 | 0.6959 | 0.4865 | |
nustri_afford | 0.0181 | 0.0294 | 0.6159 | 0.5380 | |
nutri_lifestyle | 0.0174 | 0.0240 | 0.7264 | 0.4676 | |
nutri_trust | -0.0067 | 0.0252 | -0.2660 | 0.7902 | |
nustri_doctor | -0.0759 | 0.0266 | -2.8516 | 0.0044 | ** |
obst_nutri_safe | -0.0257 | 0.0222 | -1.1575 | 0.2471 | |
obst_nutri_fam | 0.0516 | 0.0249 | 2.0673 | 0.0388 | * |
obst_nutri_fpractice | 0.0079 | 0.0251 | 0.3135 | 0.7539 | |
obst_nutri_price | -0.0212 | 0.0254 | -0.8369 | 0.4027 | |
obst_nutri_time | -0.0048 | 0.0233 | -0.2066 | 0.8363 | |
obst_nutri_friend | 0.0085 | 0.0252 | 0.3365 | 0.7365 | |
r.squared | 0.1494 | ||||
adj.r.squared | 0.1385 | ||||
fstatistic | 13.7367 | 68.0000 | 5,320.0000 | 0.0e+00 |
my.flextb(Anova2df(mod.FS.1),title = "HDDS12 - anova") %>% autofit()
variable | Sum Sq | Df | F value | p.value | signif |
city | 1,094.6288 | 11 | 23.6201 | 4.3e-48 | *** |
age | 4.8415 | 1 | 1.1492 | 0.2838 | |
gender | 36.2139 | 1 | 8.5957 | 0.0034 | ** |
educ3 | 114.7134 | 2 | 13.6142 | 1.3e-06 | *** |
HH_size | 32.3621 | 1 | 7.6814 | 0.0056 | ** |
income_avg | 231.7638 | 4 | 13.7528 | 3.7e-11 | *** |
hh_salary | 21.4805 | 1 | 5.0986 | 0.0240 | * |
income_food | 97.0036 | 4 | 5.7562 | 1.3e-04 | *** |
hh_head_employ | 106.6041 | 7 | 3.6148 | 6.8e-04 | *** |
imp_availability | 2.5484 | 1 | 0.6049 | 0.4368 | |
imp_nutrition | 0.3924 | 1 | 0.0932 | 0.7602 | |
imp_provider | 81.8435 | 1 | 19.4263 | 1.1e-05 | *** |
imp_price | 44.8283 | 1 | 10.6404 | 0.0011 | ** |
imp_envfriend | 1.1139 | 1 | 0.2644 | 0.6071 | |
imp_divers | 0.3140 | 1 | 0.0745 | 0.7849 | |
imp_tradition | 10.5774 | 1 | 2.5106 | 0.1131 | |
imp_local | 0.1901 | 1 | 0.0451 | 0.8318 | |
imp_product | 11.6845 | 1 | 2.7734 | 0.0959 | . |
local_food_interest | 6.0182 | 1 | 1.4285 | 0.2321 | |
local_envfriend | 8.2758 | 1 | 1.9643 | 0.1611 | |
local_afford | 0.3479 | 1 | 0.0826 | 0.7738 | |
local_find | 17.5967 | 1 | 4.1767 | 0.0410 | * |
local_tradition | 0.2507 | 1 | 0.0595 | 0.8073 | |
local_helpfarmer | 43.2960 | 1 | 10.2767 | 0.0014 | ** |
local_friends | 1.2337 | 1 | 0.2928 | 0.5884 | |
obst_loc_familar | 6.5417 | 1 | 1.5527 | 0.2128 | |
obst_loc_change | 6.2041 | 1 | 1.4726 | 0.2250 | |
obst_loc_comparab | 20.7419 | 1 | 4.9233 | 0.0265 | * |
obst_loc_healthy | 18.9959 | 1 | 4.5089 | 0.0338 | * |
obst_loc_friend | 0.2196 | 1 | 0.0521 | 0.8194 | |
obst_loc_trust | 15.9080 | 1 | 3.7759 | 0.0520 | . |
healty_diet | 337.6376 | 1 | 80.1415 | 4.7e-19 | *** |
nutri_food_interest | 45.8004 | 1 | 10.8712 | 9.8e-04 | *** |
nutri_healthy | 22.9546 | 1 | 5.4485 | 0.0196 | * |
nutri_sstatus | 2.0403 | 1 | 0.4843 | 0.4865 | |
nustri_afford | 1.5984 | 1 | 0.3794 | 0.5380 | |
nutri_lifestyle | 2.2232 | 1 | 0.5277 | 0.4676 | |
nutri_trust | 0.2981 | 1 | 0.0708 | 0.7902 | |
nustri_doctor | 34.2575 | 1 | 8.1314 | 0.0044 | ** |
obst_nutri_safe | 5.6450 | 1 | 1.3399 | 0.2471 | |
obst_nutri_fam | 18.0048 | 1 | 4.2736 | 0.0388 | * |
obst_nutri_fpractice | 0.4141 | 1 | 0.0983 | 0.7539 | |
obst_nutri_price | 2.9507 | 1 | 0.7004 | 0.4027 | |
obst_nutri_time | 0.1799 | 1 | 0.0427 | 0.8363 | |
obst_nutri_friend | 0.4771 | 1 | 0.1132 | 0.7365 | |
Residuals | 22,413.2558 | 5,320 |
# summary(mod.FS.1)
# Anova(mod.FS.1)
mod.FS.1.s <- step(mod.FS.1,trace = 0)
my.flextb(lm2df(mod.FS.1.s),title = "HDDS12 stepwise - coefficients") %>% autofit()
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 4.1435 | 0.3049 | 13.5914 | 2.2e-41 | *** |
cityKE.Kitui | 0.0455 | 0.1539 | 0.2953 | 0.7678 | |
cityKE.Nyeri | -0.1334 | 0.1586 | -0.8411 | 0.4003 | |
cityMO.Beni Mellal | 1.0291 | 0.1509 | 6.8215 | 1.0e-11 | *** |
cityMO.Meknes | 1.8011 | 0.1450 | 12.4254 | 5.8e-35 | *** |
cityTN.Sousse | 0.7877 | 0.1585 | 4.9689 | 6.9e-07 | *** |
cityTN.Tunis | 1.3916 | 0.1627 | 8.5519 | 1.6e-17 | *** |
cityTZ.Daressalaam | 0.1298 | 0.1560 | 0.8320 | 0.4055 | |
cityTZ.Morogoro | 0.3180 | 0.1610 | 1.9749 | 0.0483 | * |
cityUG.Kalerwe | 0.7947 | 0.1426 | 5.5710 | 2.7e-08 | *** |
cityUG.Kampala | 0.9673 | 0.1467 | 6.5929 | 4.7e-11 | *** |
cityUG.Kapeeka | 0.7357 | 0.1481 | 4.9693 | 6.9e-07 | *** |
genderFemale | 0.1678 | 0.0589 | 2.8494 | 0.0044 | ** |
educ3Primary | 0.5162 | 0.1116 | 4.6248 | 3.8e-06 | *** |
educ3Secondary or more | 0.5641 | 0.1086 | 5.1934 | 2.1e-07 | *** |
HH_size | 0.0355 | 0.0120 | 2.9590 | 0.0031 | ** |
income_avgsomewhat lower than average | 0.3768 | 0.0824 | 4.5708 | 5.0e-06 | *** |
income_avgabout average | 0.5236 | 0.1026 | 5.1043 | 3.4e-07 | *** |
income_avgsomewhat higher than average | 0.6694 | 0.1134 | 5.9008 | 3.8e-09 | *** |
income_avghigher than average | 0.8901 | 0.1285 | 6.9278 | 4.8e-12 | *** |
hh_salary | 0.0749 | 0.0341 | 2.1986 | 0.0280 | * |
income_foodLess than half (from 25% to 50%) | 0.0228 | 0.1072 | 0.2128 | 0.8315 | |
income_foodAbout half (50%) | 0.1163 | 0.1015 | 1.1462 | 0.2518 | |
income_foodMore than half (from 50% to 75%) | 0.1078 | 0.1078 | 0.9993 | 0.3177 | |
income_foodAlmost all (from 75% to 100%). | -0.3917 | 0.1337 | -2.9293 | 0.0034 | ** |
hh_head_employRegular worker | 0.1938 | 0.1351 | 1.4338 | 0.1517 | |
hh_head_employCasual worker (paid by the day) | 0.0284 | 0.1298 | 0.2185 | 0.8270 | |
hh_head_employClerk (formal employment) | 0.2960 | 0.1435 | 2.0624 | 0.0392 | * |
hh_head_employManager | 0.2943 | 0.2361 | 1.2466 | 0.2126 | |
hh_head_employBusinessman / self-employed | 0.4402 | 0.1347 | 3.2667 | 0.0011 | ** |
hh_head_employSole trader | 0.1816 | 0.1448 | 1.2542 | 0.2098 | |
hh_head_employOther | 0.0303 | 0.1714 | 0.1765 | 0.8599 | |
imp_provider | 0.1085 | 0.0243 | 4.4568 | 8.5e-06 | *** |
imp_price | -0.1076 | 0.0290 | -3.7087 | 2.1e-04 | *** |
imp_product | -0.0519 | 0.0266 | -1.9550 | 0.0506 | . |
local_find | 0.0596 | 0.0282 | 2.1133 | 0.0346 | * |
local_helpfarmer | 0.0833 | 0.0243 | 3.4319 | 6.0e-04 | *** |
obst_loc_change | 0.0351 | 0.0218 | 1.6058 | 0.1084 | |
obst_loc_comparab | -0.0603 | 0.0234 | -2.5795 | 0.0099 | ** |
obst_loc_healthy | 0.0542 | 0.0235 | 2.3082 | 0.0210 | * |
obst_loc_trust | -0.0430 | 0.0213 | -2.0161 | 0.0438 | * |
healty_diet | 0.2564 | 0.0282 | 9.0870 | 1.4e-19 | *** |
nutri_food_interest | 0.1011 | 0.0310 | 3.2602 | 0.0011 | ** |
nutri_healthy | 0.0783 | 0.0281 | 2.7845 | 0.0054 | ** |
nustri_doctor | -0.0685 | 0.0253 | -2.7126 | 0.0067 | ** |
obst_nutri_fam | 0.0486 | 0.0217 | 2.2370 | 0.0253 | * |
r.squared | 0.1472 | ||||
adj.r.squared | 0.1400 | ||||
fstatistic | 20.4913 | 45.0000 | 5,343.0000 | 0.0e+00 |
my.flextb(Anova2df(mod.FS.1.s),title = "HDDS12 stepwise - anova") %>% autofit()
variable | Sum Sq | Df | F value | p.value | signif |
city | 1,206.6796 | 11 | 26.0837 | 1.6e-53 | *** |
gender | 34.1458 | 1 | 8.1191 | 0.0044 | ** |
educ3 | 115.7685 | 2 | 13.7636 | 1.1e-06 | *** |
HH_size | 36.8230 | 1 | 8.7557 | 0.0031 | ** |
income_avg | 236.6190 | 4 | 14.0657 | 2.0e-11 | *** |
hh_salary | 20.3290 | 1 | 4.8338 | 0.0280 | * |
income_food | 96.0267 | 4 | 5.7082 | 1.4e-04 | *** |
hh_head_employ | 106.9384 | 7 | 3.6325 | 6.5e-04 | *** |
imp_provider | 83.5368 | 1 | 19.8632 | 8.5e-06 | *** |
imp_price | 57.8474 | 1 | 13.7548 | 2.1e-04 | *** |
imp_product | 16.0732 | 1 | 3.8218 | 0.0506 | . |
local_find | 18.7818 | 1 | 4.4659 | 0.0346 | * |
local_helpfarmer | 49.5348 | 1 | 11.7782 | 6.0e-04 | *** |
obst_loc_change | 10.8452 | 1 | 2.5787 | 0.1084 | |
obst_loc_comparab | 27.9830 | 1 | 6.6537 | 0.0099 | ** |
obst_loc_healthy | 22.4069 | 1 | 5.3279 | 0.0210 | * |
obst_loc_trust | 17.0951 | 1 | 4.0648 | 0.0438 | * |
healty_diet | 347.2751 | 1 | 82.5742 | 1.4e-19 | *** |
nutri_food_interest | 44.7010 | 1 | 10.6289 | 0.0011 | ** |
nutri_healthy | 32.6091 | 1 | 7.7537 | 0.0054 | ** |
nustri_doctor | 30.9449 | 1 | 7.3580 | 0.0067 | ** |
obst_nutri_fam | 21.0455 | 1 | 5.0042 | 0.0253 | * |
Residuals | 22,470.6033 | 5,343 |
frm1 <- as.formula(paste(names(dfS.FS.1)[1],"~",paste(names(dfS.FS.1)[-1],collapse = "+"),sep=" "))
mod1 <- lm(frm1,data = dfS.FS.1)
stp2 <- stepCriterion(mod1, direction="forward", criterion="bic",trace = F)
stpBIC <- lm(as.formula(paste("HDDS12.Tot",stp2$final)),data = dfS.FS.1)
my.flextb(lm2df(stpBIC),title = "HDDS12 stepwise BIC - coefficients") %>% autofit()
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 4.2834 | 0.2563 | 16.7130 | 3.6e-61 | *** |
cityKE.Kitui | 0.0127 | 0.1468 | 0.0868 | 0.9308 | |
cityKE.Nyeri | -0.1887 | 0.1527 | -1.2354 | 0.2167 | |
cityMO.Beni Mellal | 0.8737 | 0.1458 | 5.9933 | 2.2e-09 | *** |
cityMO.Meknes | 1.7444 | 0.1393 | 12.5187 | 1.8e-35 | *** |
cityTN.Sousse | 0.8293 | 0.1528 | 5.4291 | 5.9e-08 | *** |
cityTN.Tunis | 1.4266 | 0.1534 | 9.2985 | 2.0e-20 | *** |
cityTZ.Daressalaam | 0.2896 | 0.1361 | 2.1284 | 0.0333 | * |
cityTZ.Morogoro | 0.4277 | 0.1364 | 3.1353 | 0.0017 | ** |
cityUG.Kalerwe | 0.8102 | 0.1378 | 5.8801 | 4.3e-09 | *** |
cityUG.Kampala | 0.9479 | 0.1407 | 6.7374 | 1.8e-11 | *** |
cityUG.Kapeeka | 0.7795 | 0.1405 | 5.5470 | 3.0e-08 | *** |
healty_diet | 0.2822 | 0.0278 | 10.1361 | 6.3e-24 | *** |
income_avgsomewhat lower than average | 0.4609 | 0.0805 | 5.7276 | 1.1e-08 | *** |
income_avgabout average | 0.6435 | 0.0989 | 6.5071 | 8.4e-11 | *** |
income_avgsomewhat higher than average | 0.8200 | 0.1087 | 7.5473 | 5.2e-14 | *** |
income_avghigher than average | 1.1311 | 0.1207 | 9.3680 | 1.1e-20 | *** |
imp_provider | 0.1061 | 0.0238 | 4.4517 | 8.7e-06 | *** |
nutri_food_interest | 0.1270 | 0.0295 | 4.3084 | 1.7e-05 | *** |
educ3Primary | 0.5423 | 0.1120 | 4.8429 | 1.3e-06 | *** |
educ3Secondary or more | 0.6385 | 0.1081 | 5.9065 | 3.7e-09 | *** |
HH_size | 0.0469 | 0.0112 | 4.2030 | 2.7e-05 | *** |
local_helpfarmer | 0.0964 | 0.0233 | 4.1385 | 3.5e-05 | *** |
imp_price | -0.1030 | 0.0285 | -3.6151 | 3.0e-04 | *** |
r.squared | 0.1307 | ||||
adj.r.squared | 0.1269 | ||||
fstatistic | 35.0631 | 23.0000 | 5,365.0000 | 0.0e+00 |
my.flextb(Anova2df(stpBIC),title = "HDDS12 stepwise BIC - anova") %>% autofit()
variable | Sum Sq | Df | F value | p.value | signif |
city | 1,307.8783 | 11 | 27.8486 | 2.1e-57 | *** |
healty_diet | 438.6476 | 1 | 102.7413 | 6.3e-24 | *** |
income_avg | 438.0118 | 4 | 25.6481 | 4.4e-21 | *** |
imp_provider | 84.6120 | 1 | 19.8181 | 8.7e-06 | *** |
nutri_food_interest | 79.2517 | 1 | 18.5626 | 1.7e-05 | *** |
educ3 | 149.0126 | 2 | 17.4511 | 2.8e-08 | *** |
HH_size | 75.4213 | 1 | 17.6654 | 2.7e-05 | *** |
local_helpfarmer | 73.1249 | 1 | 17.1275 | 3.5e-05 | *** |
imp_price | 55.7973 | 1 | 13.0690 | 3.0e-04 | *** |
Residuals | 22,905.5347 | 5,365 |
# plot_multi_way_importance(importance_frame20, x_measure = "mse_increase",
# y_measure = "node_purity_increase", size_measure = "mean_min_depth",
# no_of_labels = 10,main=NULL)+
# xlab("mse_increase")+ylab("node_purity_increase")
I modelli per paese sono il risultato di una procedura stepwise.
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -0.0068 | 0.6502 | -0.0104 | 0.9917 | |
age | -0.0064 | 0.0041 | -1.5426 | 0.1232 | |
income_avgsomewhat lower than average | 1.0415 | 0.2262 | 4.6042 | 4.6e-06 | *** |
income_avgabout average | 0.8993 | 0.1971 | 4.5633 | 5.5e-06 | *** |
income_avgsomewhat higher than average | 1.0027 | 0.1831 | 5.4759 | 5.2e-08 | *** |
income_avghigher than average | 1.3231 | 0.1954 | 6.7701 | 2.0e-11 | *** |
hh_salary | 0.2380 | 0.0678 | 3.5092 | 4.6e-04 | *** |
income_foodLess than half (from 25% to 50%) | 0.9273 | 0.2900 | 3.1977 | 0.0014 | ** |
income_foodAbout half (50%) | 0.8326 | 0.2788 | 2.9861 | 0.0029 | ** |
income_foodMore than half (from 50% to 75%) | 0.7575 | 0.2866 | 2.6430 | 0.0083 | ** |
income_foodAlmost all (from 75% to 100%). | 0.1120 | 0.3143 | 0.3564 | 0.7216 | |
imp_availability | 0.1587 | 0.0651 | 2.4367 | 0.0150 | * |
imp_provider | 0.1568 | 0.0492 | 3.1853 | 0.0015 | ** |
imp_local | 0.0741 | 0.0473 | 1.5681 | 0.1171 | |
imp_product | 0.0927 | 0.0512 | 1.8106 | 0.0704 | . |
local_envfriend | 0.1361 | 0.0527 | 2.5804 | 0.0100 | ** |
local_find | 0.1798 | 0.0625 | 2.8764 | 0.0041 | ** |
obst_loc_familar | 0.0867 | 0.0494 | 1.7543 | 0.0796 | . |
obst_loc_comparab | -0.1234 | 0.0512 | -2.4120 | 0.0160 | * |
healty_diet | 0.3971 | 0.0570 | 6.9627 | 5.3e-12 | *** |
nutri_food_interest | 0.1410 | 0.0740 | 1.9065 | 0.0568 | . |
nutri_healthy | 0.1119 | 0.0686 | 1.6301 | 0.1033 | |
nustri_afford | 0.2160 | 0.0715 | 3.0206 | 0.0026 | ** |
nustri_doctor | -0.1948 | 0.0539 | -3.6171 | 3.1e-04 | *** |
obst_nutri_time | 0.0801 | 0.0471 | 1.7008 | 0.0892 | . |
r.squared | 0.2276 | ||||
adj.r.squared | 0.2132 | ||||
fstatistic | 15.8021 | 24.0000 | 1,287.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
age | 8.9389 | 1 | 2.3796 | 0.1232 | |
income_avg | 180.2301 | 4 | 11.9944 | 1.4e-09 | *** |
hh_salary | 46.2599 | 1 | 12.3145 | 4.6e-04 | *** |
income_food | 89.4854 | 4 | 5.9553 | 9.5e-05 | *** |
imp_availability | 22.3044 | 1 | 5.9375 | 0.0150 | * |
imp_provider | 38.1142 | 1 | 10.1461 | 0.0015 | ** |
imp_local | 9.2371 | 1 | 2.4589 | 0.1171 | |
imp_product | 12.3154 | 1 | 3.2784 | 0.0704 | . |
local_envfriend | 25.0125 | 1 | 6.6584 | 0.0100 | ** |
local_find | 31.0811 | 1 | 8.2739 | 0.0041 | ** |
obst_loc_familar | 11.5608 | 1 | 3.0775 | 0.0796 | . |
obst_loc_comparab | 21.8542 | 1 | 5.8176 | 0.0160 | * |
healty_diet | 182.1148 | 1 | 48.4793 | 5.3e-12 | *** |
nutri_food_interest | 13.6541 | 1 | 3.6347 | 0.0568 | . |
nutri_healthy | 9.9821 | 1 | 2.6573 | 0.1033 | |
nustri_afford | 34.2743 | 1 | 9.1239 | 0.0026 | ** |
nustri_doctor | 49.1475 | 1 | 13.0832 | 3.1e-04 | *** |
obst_nutri_time | 10.8671 | 1 | 2.8928 | 0.0892 | . |
Residuals | 4,834.6731 | 1,287 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 5.5556 | 0.4512 | 12.3127 | 3.1e-32 | *** |
cityMO.Meknes | 0.6007 | 0.1422 | 4.2244 | 2.6e-05 | *** |
educ3Primary | 0.9761 | 0.2134 | 4.5736 | 5.5e-06 | *** |
educ3Secondary or more | 1.0576 | 0.1949 | 5.4268 | 7.4e-08 | *** |
income_avgsomewhat lower than average | 0.3274 | 0.1708 | 1.9165 | 0.0556 | . |
income_avgabout average | 0.6701 | 0.2365 | 2.8334 | 0.0047 | ** |
income_avgsomewhat higher than average | 0.5756 | 0.2795 | 2.0595 | 0.0397 | * |
income_avghigher than average | 0.8027 | 0.3044 | 2.6366 | 0.0085 | ** |
hh_head_employRegular worker | 0.2325 | 0.2517 | 0.9238 | 0.3559 | |
hh_head_employCasual worker (paid by the day) | -0.2790 | 0.2330 | -1.1977 | 0.2314 | |
hh_head_employClerk (formal employment) | -0.0786 | 0.2692 | -0.2920 | 0.7703 | |
hh_head_employManager | 0.2521 | 0.8413 | 0.2996 | 0.7645 | |
hh_head_employBusinessman / self-employed | 1.1900 | 0.4209 | 2.8272 | 0.0048 | ** |
hh_head_employSole trader | 0.1229 | 0.3999 | 0.3072 | 0.7588 | |
hh_head_employOther | 0.0434 | 0.2864 | 0.1517 | 0.8795 | |
imp_divers | 0.1963 | 0.0774 | 2.5369 | 0.0114 | * |
imp_tradition | -0.1547 | 0.0725 | -2.1345 | 0.0331 | * |
imp_product | -0.3054 | 0.0716 | -4.2664 | 2.2e-05 | *** |
local_envfriend | 0.2239 | 0.0622 | 3.6022 | 3.3e-04 | *** |
local_tradition | -0.1229 | 0.0700 | -1.7551 | 0.0796 | . |
local_friends | 0.1057 | 0.0552 | 1.9147 | 0.0559 | . |
obst_loc_familar | -0.1172 | 0.0580 | -2.0207 | 0.0436 | * |
obst_loc_healthy | 0.1408 | 0.0609 | 2.3116 | 0.0210 | * |
healty_diet | 0.1482 | 0.0751 | 1.9725 | 0.0489 | * |
nutri_food_interest | 0.1622 | 0.0752 | 2.1575 | 0.0312 | * |
nustri_afford | -0.1708 | 0.0698 | -2.4472 | 0.0146 | * |
nutri_lifestyle | 0.2475 | 0.0687 | 3.6045 | 3.3e-04 | *** |
obst_nutri_safe | 0.1202 | 0.0559 | 2.1524 | 0.0316 | * |
r.squared | 0.2383 | ||||
adj.r.squared | 0.2147 | ||||
fstatistic | 10.1018 | 27.0000 | 872.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 67.1552 | 1 | 17.8454 | 2.6e-05 | *** |
educ3 | 119.2205 | 2 | 15.8404 | 1.7e-07 | *** |
income_avg | 42.1519 | 4 | 2.8003 | 0.0250 | * |
hh_head_employ | 67.0976 | 7 | 2.5472 | 0.0134 | * |
imp_divers | 24.2197 | 1 | 6.4360 | 0.0114 | * |
imp_tradition | 17.1446 | 1 | 4.5559 | 0.0331 | * |
imp_product | 68.4981 | 1 | 18.2022 | 2.2e-05 | *** |
local_envfriend | 48.8316 | 1 | 12.9762 | 3.3e-04 | *** |
local_tradition | 11.5915 | 1 | 3.0802 | 0.0796 | . |
local_friends | 13.7967 | 1 | 3.6662 | 0.0559 | . |
obst_loc_familar | 15.3659 | 1 | 4.0832 | 0.0436 | * |
obst_loc_healthy | 20.1081 | 1 | 5.3434 | 0.0210 | * |
healty_diet | 14.6415 | 1 | 3.8907 | 0.0489 | * |
nutri_food_interest | 17.5160 | 1 | 4.6546 | 0.0312 | * |
nustri_afford | 22.5374 | 1 | 5.9889 | 0.0146 | * |
nutri_lifestyle | 48.8924 | 1 | 12.9924 | 3.3e-04 | *** |
obst_nutri_safe | 17.4340 | 1 | 4.6328 | 0.0316 | * |
Residuals | 3,281.4843 | 872 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 5.5635 | 1.1308 | 4.9201 | 1.1e-06 | *** |
cityTN.Tunis | 0.7630 | 0.2025 | 3.7680 | 1.8e-04 | *** |
age | 0.0208 | 0.0079 | 2.6308 | 0.0087 | ** |
genderFemale | 0.5054 | 0.2028 | 2.4914 | 0.0130 | * |
educ3Primary | 2.0676 | 0.8018 | 2.5787 | 0.0101 | * |
educ3Secondary or more | 2.0715 | 0.7913 | 2.6179 | 0.0090 | ** |
income_avgsomewhat lower than average | 0.6582 | 0.4056 | 1.6226 | 0.1051 | |
income_avgabout average | 0.7670 | 0.4164 | 1.8423 | 0.0659 | . |
income_avgsomewhat higher than average | 1.4301 | 0.4542 | 3.1484 | 0.0017 | ** |
income_avghigher than average | 1.3878 | 0.5131 | 2.7046 | 0.0070 | ** |
hh_salary | 0.1623 | 0.1016 | 1.5985 | 0.1104 | |
imp_availability | -0.1531 | 0.0794 | -1.9295 | 0.0541 | . |
imp_product | -0.2241 | 0.0954 | -2.3495 | 0.0191 | * |
local_tradition | 0.1775 | 0.0748 | 2.3737 | 0.0179 | * |
obst_loc_familar | 0.1636 | 0.0693 | 2.3589 | 0.0186 | * |
obst_loc_friend | 0.1279 | 0.0703 | 1.8198 | 0.0692 | . |
obst_loc_trust | -0.1658 | 0.0662 | -2.5042 | 0.0125 | * |
obst_nutri_fpractice | -0.1758 | 0.0699 | -2.5156 | 0.0121 | * |
obst_nutri_time | -0.1301 | 0.0679 | -1.9166 | 0.0557 | . |
r.squared | 0.1281 | ||||
adj.r.squared | 0.1045 | ||||
fstatistic | 5.4427 | 18.0000 | 667.0000 | 5.1e-12 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 84.7709 | 1 | 14.1980 | 0.00018 | *** |
age | 41.3219 | 1 | 6.9209 | 0.0087 | ** |
gender | 37.0611 | 1 | 6.2072 | 0.0130 | * |
educ3 | 42.0814 | 2 | 3.5240 | 0.0300 | * |
income_avg | 83.0453 | 4 | 3.4773 | 0.0080 | ** |
hh_salary | 15.2560 | 1 | 2.5552 | 0.1104 | |
imp_availability | 22.2287 | 1 | 3.7230 | 0.0541 | . |
imp_product | 32.9597 | 1 | 5.5203 | 0.0191 | * |
local_tradition | 33.6399 | 1 | 5.6342 | 0.0179 | * |
obst_loc_familar | 33.2237 | 1 | 5.5645 | 0.0186 | * |
obst_loc_friend | 19.7732 | 1 | 3.3117 | 0.0692 | . |
obst_loc_trust | 37.4414 | 1 | 6.2709 | 0.0125 | * |
obst_nutri_fpractice | 37.7850 | 1 | 6.3285 | 0.0121 | * |
obst_nutri_time | 21.9332 | 1 | 3.6735 | 0.0557 | . |
Residuals | 3,982.4014 | 667 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 4.6851 | 0.5274 | 8.8840 | 3.1e-18 | *** |
HH_size | 0.0966 | 0.0302 | 3.1991 | 0.0014 | ** |
imp_nutrition | 0.1197 | 0.0578 | 2.0702 | 0.0387 | * |
imp_provider | 0.1276 | 0.0562 | 2.2725 | 0.0233 | * |
imp_price | -0.2055 | 0.0781 | -2.6319 | 0.0086 | ** |
imp_tradition | -0.1999 | 0.0534 | -3.7440 | 1.9e-04 | *** |
imp_local | 0.1214 | 0.0512 | 2.3700 | 0.0180 | * |
local_afford | 0.1761 | 0.0788 | 2.2343 | 0.0257 | * |
local_tradition | 0.1036 | 0.0545 | 1.9007 | 0.0576 | . |
obst_loc_change | 0.0797 | 0.0492 | 1.6203 | 0.1055 | |
obst_loc_healthy | 0.1625 | 0.0557 | 2.9191 | 0.0036 | ** |
obst_loc_friend | -0.0837 | 0.0488 | -1.7159 | 0.0865 | . |
healty_diet | 0.4113 | 0.0622 | 6.6131 | 6.2e-11 | *** |
obst_nutri_safe | -0.1553 | 0.0411 | -3.7770 | 1.7e-04 | *** |
r.squared | 0.1419 | ||||
adj.r.squared | 0.1303 | ||||
fstatistic | 12.2408 | 13.0000 | 962.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
HH_size | 43.1560 | 1 | 10.2339 | 0.0014 | ** |
imp_nutrition | 18.0735 | 1 | 4.2859 | 0.0387 | * |
imp_provider | 21.7768 | 1 | 5.1641 | 0.0233 | * |
imp_price | 29.2113 | 1 | 6.9271 | 0.0086 | ** |
imp_tradition | 59.1102 | 1 | 14.0173 | 1.9e-04 | *** |
imp_local | 23.6860 | 1 | 5.6169 | 0.0180 | * |
local_afford | 21.0522 | 1 | 4.9923 | 0.0257 | * |
local_tradition | 15.2343 | 1 | 3.6126 | 0.0576 | . |
obst_loc_change | 11.0708 | 1 | 2.6253 | 0.1055 | |
obst_loc_healthy | 35.9322 | 1 | 8.5209 | 0.0036 | ** |
obst_loc_friend | 12.4165 | 1 | 2.9444 | 0.0865 | . |
healty_diet | 184.4187 | 1 | 43.7327 | 6.2e-11 | *** |
obst_nutri_safe | 60.1578 | 1 | 14.2657 | 1.7e-04 | *** |
Residuals | 4,056.7070 | 962 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 5.6862 | 0.3719 | 15.2876 | 4.0e-49 | *** |
educ3Primary | 0.3560 | 0.1468 | 2.4253 | 0.0154 | * |
educ3Secondary or more | 0.4135 | 0.1388 | 2.9796 | 0.0029 | ** |
HH_size | 0.0616 | 0.0151 | 4.0734 | 4.9e-05 | *** |
income_avgsomewhat lower than average | 0.3971 | 0.1275 | 3.1147 | 0.0019 | ** |
income_avgabout average | 0.6029 | 0.1764 | 3.4182 | 6.5e-04 | *** |
income_avgsomewhat higher than average | 0.8565 | 0.2553 | 3.3551 | 8.1e-04 | *** |
income_avghigher than average | 0.7764 | 0.3945 | 1.9678 | 0.0493 | * |
income_foodLess than half (from 25% to 50%) | -0.2805 | 0.1538 | -1.8239 | 0.0684 | . |
income_foodAbout half (50%) | 0.0183 | 0.1527 | 0.1199 | 0.9046 | |
income_foodMore than half (from 50% to 75%) | 0.0731 | 0.1634 | 0.4472 | 0.6548 | |
income_foodAlmost all (from 75% to 100%). | -0.4067 | 0.1956 | -2.0790 | 0.0378 | * |
imp_provider | 0.1298 | 0.0379 | 3.4237 | 6.3e-04 | *** |
imp_price | -0.1062 | 0.0389 | -2.7309 | 0.0064 | ** |
imp_local | -0.0532 | 0.0317 | -1.6816 | 0.0929 | . |
local_food_interest | -0.1222 | 0.0466 | -2.6237 | 0.0088 | ** |
local_find | 0.0603 | 0.0403 | 1.4944 | 0.1353 | |
local_helpfarmer | 0.0734 | 0.0375 | 1.9565 | 0.0506 | . |
local_friends | -0.0596 | 0.0348 | -1.7128 | 0.0870 | . |
healty_diet | 0.2125 | 0.0464 | 4.5782 | 5.1e-06 | *** |
nutri_food_interest | 0.1755 | 0.0475 | 3.6920 | 2.3e-04 | *** |
nustri_afford | 0.0781 | 0.0410 | 1.9048 | 0.0570 | . |
obst_nutri_fam | 0.1047 | 0.0339 | 3.0836 | 0.0021 | ** |
obst_nutri_price | -0.0760 | 0.0355 | -2.1400 | 0.0325 | * |
r.squared | 0.1096 | ||||
adj.r.squared | 0.0958 | ||||
fstatistic | 7.9780 | 23.0000 | 1,491.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
educ3 | 29.3942 | 2 | 4.5218 | 0.0110 | * |
HH_size | 53.9313 | 1 | 16.5927 | 4.9e-05 | *** |
income_avg | 61.0859 | 4 | 4.6985 | 9.0e-04 | *** |
income_food | 44.5440 | 4 | 3.4261 | 0.0085 | ** |
imp_provider | 38.0994 | 1 | 11.7218 | 6.3e-04 | *** |
imp_price | 24.2402 | 1 | 7.4578 | 0.0064 | ** |
imp_local | 9.1906 | 1 | 2.8276 | 0.0929 | . |
local_food_interest | 22.3748 | 1 | 6.8839 | 0.0088 | ** |
local_find | 7.2585 | 1 | 2.2332 | 0.1353 | |
local_helpfarmer | 12.4421 | 1 | 3.8280 | 0.0506 | . |
local_friends | 9.5355 | 1 | 2.9337 | 0.0870 | . |
healty_diet | 68.1267 | 1 | 20.9601 | 5.1e-06 | *** |
nutri_food_interest | 44.3050 | 1 | 13.6311 | 2.3e-04 | *** |
nustri_afford | 11.7929 | 1 | 3.6282 | 0.0570 | . |
obst_nutri_fam | 30.9060 | 1 | 9.5087 | 0.0021 | ** |
obst_nutri_price | 14.8850 | 1 | 4.5796 | 0.0325 | * |
Residuals | 4,846.1970 | 1,491 |
dfSE <- inner_join(dfS,dfE,by="unique_id")
dfSE.FS <- dfSE %>%
mutate(city=factor(city),country=factor(country)) %>%
mutate(city=paste(country,city,sep=".")) %>%
select(country,city, HDDS12.Tot, meet_food_needs, lacking_cereal:lacking_oil, city, age, gender, educ3, HH_size,
income_avg, hh_salary, income_food, hh_head_employ, imp_availability:imp_product,
local_food_interest, local_envfriend:obst_loc_trust, healty_diet,
nutri_food_interest,nutri_healthy:nustri_doctor,obst_nutri_safe:obst_nutri_friend,
risk,time,PGG1,PGG2,Trust.1:Trust.4,type.Risk,type.Time,type.PGG,type.Trust) %>%
mutate(type.Risk=ifelse(type.Risk != "consistent","No","consistent")) %>%
mutate(type.Time=ifelse(type.Time != "consistent","No","consistent")) %>%
mutate(type.PGG=ifelse(type.PGG != "consistent","No","consistent")) %>%
mutate(type.Trust=ifelse(type.Trust != "consistent","No","consistent")) %>%
filter(gender %in% levels(dfS$gender)[1:2])
dfSE.FS <- droplevels(dfSE.FS)
variable | KE | MO | TN | TZ | UG | Total |
Risk | 249 | 492 | 387 | 331 | 111 | 1,570 |
Time | 355 | 490 | 462 | 380 | 331 | 2,018 |
PGG | 247 | 260 | 265 | 0 | 280 | 1,052 |
Trust | 259 | 240 | 233 | 501 | 220 | 1,453 |
Rispondenti | 506 | 500 | 498 | 501 | 500 | 2,505 |
country | No | Yes | Total |
KE | 292 | 214 | 506 |
MO | 17 | 483 | 500 |
TN | 129 | 369 | 498 |
TZ | 223 | 278 | 501 |
UG | 407 | 93 | 500 |
Total | 1,068 | 1,437 | 2,505 |
country | No | Yes | Total |
KE | 402 | 104 | 506 |
MO | 246 | 254 | 500 |
TN | 307 | 191 | 498 |
TZ | 501 | 501 | |
UG | 455 | 45 | 500 |
Total | 1,911 | 594 | 2,505 |
country | No | Yes | Total |
KE | 396 | 110 | 506 |
MO | 271 | 229 | 500 |
TN | 320 | 178 | 498 |
TZ | 223 | 278 | 501 |
UG | 452 | 48 | 500 |
Total | 1,662 | 843 | 2,505 |
dfSE.FS.1 <- dfSE.FS %>% filter(type.Risk=="consistent" & type.Time=="consistent") %>% select(HDDS12.Tot,city,age:obst_nutri_friend,risk,time)
dfSE.FS.1 <- na.omit(dfSE.FS.1)
modSE.FS.1 <- lm(HDDS12.Tot~.,data=dfSE.FS.1)
tbSE.FS.1 <- lm2df(modSE.FS.1)
tmp <- Anova(modSE.FS.1) %>% as.data.frame() %>% rownames_to_column("variable") %>%
select(1,2,3,4,p.value=5) %>% signif.stars() %>% mutate_at(.vars = c(2,4,5),~round(.,digits=5))
my.flextb(tbSE.FS.1,title = "model survey & risk & time - coefficients") %>% autofit()
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 5.0665 | 0.6977 | 7.2616 | 6.8e-13 | *** |
cityMO.Meknes | 1.8057 | 0.2853 | 6.3285 | 3.5e-10 | *** |
cityTN.Sousse | 0.9373 | 0.3042 | 3.0813 | 0.0021 | ** |
cityTZ.Morogoro | 0.3120 | 0.3353 | 0.9306 | 0.3522 | |
cityUG.Kalerwe | 1.2931 | 0.3679 | 3.5144 | 4.6e-04 | *** |
age | 0.0026 | 0.0052 | 0.5045 | 0.6140 | |
genderFemale | 0.1260 | 0.1308 | 0.9631 | 0.3357 | |
educ3Primary | 1.0546 | 0.2568 | 4.1070 | 4.3e-05 | *** |
educ3Secondary or more | 1.1231 | 0.2562 | 4.3837 | 1.3e-05 | *** |
HH_size | 0.0245 | 0.0272 | 0.9027 | 0.3669 | |
income_avgsomewhat lower than average | 0.2030 | 0.1669 | 1.2162 | 0.2242 | |
income_avgabout average | 0.3175 | 0.2160 | 1.4700 | 0.1418 | |
income_avgsomewhat higher than average | 0.6744 | 0.2509 | 2.6883 | 0.0073 | ** |
income_avghigher than average | 0.8241 | 0.2909 | 2.8325 | 0.0047 | ** |
hh_salary | -0.0075 | 0.0672 | -0.1115 | 0.9112 | |
income_foodLess than half (from 25% to 50%) | -0.2421 | 0.2317 | -1.0448 | 0.2963 | |
income_foodAbout half (50%) | -0.1041 | 0.2166 | -0.4806 | 0.6309 | |
income_foodMore than half (from 50% to 75%) | -0.3224 | 0.2334 | -1.3815 | 0.1674 | |
income_foodAlmost all (from 75% to 100%). | 0.0631 | 0.3206 | 0.1967 | 0.8441 | |
hh_head_employRegular worker | -0.0212 | 0.2830 | -0.0749 | 0.9403 | |
hh_head_employCasual worker (paid by the day) | -0.5460 | 0.2740 | -1.9924 | 0.0466 | * |
hh_head_employClerk (formal employment) | -0.0600 | 0.2854 | -0.2101 | 0.8336 | |
hh_head_employManager | -0.4219 | 0.7757 | -0.5439 | 0.5866 | |
hh_head_employBusinessman / self-employed | 0.4277 | 0.2999 | 1.4261 | 0.1541 | |
hh_head_employSole trader | -0.1394 | 0.3193 | -0.4365 | 0.6625 | |
hh_head_employOther | -0.0658 | 0.3168 | -0.2078 | 0.8354 | |
imp_availability | -0.0398 | 0.0613 | -0.6491 | 0.5164 | |
imp_nutrition | -0.0651 | 0.0734 | -0.8868 | 0.3754 | |
imp_provider | -0.0047 | 0.0586 | -0.0796 | 0.9365 | |
imp_price | -0.0596 | 0.0657 | -0.9062 | 0.3650 | |
imp_envfriend | -0.0741 | 0.0686 | -1.0791 | 0.2808 | |
imp_divers | 0.0401 | 0.0728 | 0.5505 | 0.5821 | |
imp_tradition | -0.0272 | 0.0596 | -0.4559 | 0.6485 | |
imp_local | 0.0915 | 0.0569 | 1.6091 | 0.1079 | |
imp_product | -0.1280 | 0.0671 | -1.9073 | 0.0567 | . |
local_food_interest | 0.0517 | 0.0723 | 0.7146 | 0.4750 | |
local_envfriend | 0.0936 | 0.0684 | 1.3673 | 0.1718 | |
local_afford | 0.1231 | 0.0719 | 1.7132 | 0.0869 | . |
local_find | -0.0756 | 0.0690 | -1.0954 | 0.2736 | |
local_tradition | -0.0360 | 0.0622 | -0.5785 | 0.5631 | |
local_helpfarmer | 0.0392 | 0.0659 | 0.5946 | 0.5522 | |
local_friends | 0.0366 | 0.0525 | 0.6971 | 0.4859 | |
obst_loc_familar | 0.0468 | 0.0555 | 0.8436 | 0.3991 | |
obst_loc_change | -0.0433 | 0.0564 | -0.7680 | 0.4426 | |
obst_loc_comparab | -0.0037 | 0.0607 | -0.0618 | 0.9508 | |
obst_loc_healthy | 0.0946 | 0.0552 | 1.7159 | 0.0864 | . |
obst_loc_friend | 0.0453 | 0.0527 | 0.8591 | 0.3905 | |
obst_loc_trust | -0.0186 | 0.0479 | -0.3888 | 0.6975 | |
healty_diet | 0.2202 | 0.0661 | 3.3312 | 8.9e-04 | *** |
nutri_food_interest | -0.0686 | 0.0724 | -0.9474 | 0.3436 | |
nutri_healthy | 0.0134 | 0.0703 | 0.1906 | 0.8489 | |
nutri_sstatus | -0.0045 | 0.0497 | -0.0903 | 0.9281 | |
nustri_afford | -0.1031 | 0.0652 | -1.5815 | 0.1140 | |
nutri_lifestyle | 0.0578 | 0.0580 | 0.9957 | 0.3196 | |
nutri_trust | 0.0751 | 0.0620 | 1.2112 | 0.2260 | |
nustri_doctor | -0.0296 | 0.0596 | -0.4967 | 0.6195 | |
obst_nutri_safe | 0.0102 | 0.0486 | 0.2096 | 0.8341 | |
obst_nutri_fam | -0.0113 | 0.0574 | -0.1967 | 0.8441 | |
obst_nutri_fpractice | 0.0624 | 0.0565 | 1.1034 | 0.2701 | |
obst_nutri_price | 0.0958 | 0.0596 | 1.6087 | 0.1079 | |
obst_nutri_time | -0.0343 | 0.0507 | -0.6764 | 0.4989 | |
obst_nutri_friend | -0.0514 | 0.0552 | -0.9299 | 0.3526 | |
risk | -0.0220 | 0.0289 | -0.7639 | 0.4451 | |
time | 0.0139 | 0.0186 | 0.7505 | 0.4531 | |
r.squared | 0.1432 | ||||
adj.r.squared | 0.0990 | ||||
fstatistic | 3.2438 | 63.0000 | 1,223.0000 | 3.3e-15 |
my.flextb(tmp,title = "model survey & risk & time - Anova") %>% autofit()
variable | Sum Sq | Df | F value | p.value | signif |
city | 276.15303 | 4 | 15.24546 | 0.00000 | *** |
age | 1.15242 | 1 | 0.25449 | 0.61403 | |
gender | 4.20067 | 1 | 0.92762 | 0.33567 | |
educ3 | 91.53924 | 2 | 10.10714 | 0.00004 | *** |
HH_size | 3.69017 | 1 | 0.81489 | 0.36686 | |
income_avg | 46.46301 | 4 | 2.56506 | 0.03679 | * |
hh_salary | 0.05631 | 1 | 0.01243 | 0.91123 | |
income_food | 16.95218 | 4 | 0.93587 | 0.44222 | |
hh_head_employ | 92.09311 | 7 | 2.90523 | 0.00513 | ** |
imp_availability | 1.90787 | 1 | 0.42131 | 0.51641 | |
imp_nutrition | 3.56097 | 1 | 0.78636 | 0.37538 | |
imp_provider | 0.02872 | 1 | 0.00634 | 0.93653 | |
imp_price | 3.71888 | 1 | 0.82123 | 0.36500 | |
imp_envfriend | 5.27306 | 1 | 1.16443 | 0.28076 | |
imp_divers | 1.37251 | 1 | 0.30309 | 0.58206 | |
imp_tradition | 0.94140 | 1 | 0.20789 | 0.64851 | |
imp_local | 11.72503 | 1 | 2.58919 | 0.10785 | |
imp_product | 16.47295 | 1 | 3.63766 | 0.05672 | . |
local_food_interest | 2.31279 | 1 | 0.51072 | 0.47496 | |
local_envfriend | 8.46564 | 1 | 1.86944 | 0.17179 | |
local_afford | 13.29049 | 1 | 2.93489 | 0.08694 | . |
local_find | 5.43358 | 1 | 1.19988 | 0.27356 | |
local_tradition | 1.51528 | 1 | 0.33461 | 0.56306 | |
local_helpfarmer | 1.60110 | 1 | 0.35356 | 0.55221 | |
local_friends | 2.20060 | 1 | 0.48595 | 0.48587 | |
obst_loc_familar | 3.22241 | 1 | 0.71159 | 0.39908 | |
obst_loc_change | 2.67121 | 1 | 0.58987 | 0.44262 | |
obst_loc_comparab | 0.01728 | 1 | 0.00381 | 0.95076 | |
obst_loc_healthy | 13.33339 | 1 | 2.94436 | 0.08643 | . |
obst_loc_friend | 3.34204 | 1 | 0.73801 | 0.39047 | |
obst_loc_trust | 0.68440 | 1 | 0.15113 | 0.69752 | |
healty_diet | 50.25188 | 1 | 11.09694 | 0.00089 | *** |
nutri_food_interest | 4.06489 | 1 | 0.89763 | 0.34360 | |
nutri_healthy | 0.16452 | 1 | 0.03633 | 0.84887 | |
nutri_sstatus | 0.03692 | 1 | 0.00815 | 0.92807 | |
nustri_afford | 11.32585 | 1 | 2.50105 | 0.11403 | |
nutri_lifestyle | 4.48998 | 1 | 0.99151 | 0.31957 | |
nutri_trust | 6.64343 | 1 | 1.46704 | 0.22605 | |
nustri_doctor | 1.11736 | 1 | 0.24674 | 0.61947 | |
obst_nutri_safe | 0.19885 | 1 | 0.04391 | 0.83405 | |
obst_nutri_fam | 0.17522 | 1 | 0.03869 | 0.84409 | |
obst_nutri_fpractice | 5.51296 | 1 | 1.21741 | 0.27009 | |
obst_nutri_price | 11.71942 | 1 | 2.58796 | 0.10794 | |
obst_nutri_time | 2.07194 | 1 | 0.45754 | 0.49890 | |
obst_nutri_friend | 3.91609 | 1 | 0.86478 | 0.35259 | |
risk | 2.64254 | 1 | 0.58354 | 0.44507 | |
time | 2.55080 | 1 | 0.56328 | 0.45308 | |
Residuals | 5,538.28960 | 1,223 |
Lacking variables summarised in a single variable with confirmatory factor analysis
dfS.FSr <- na.omit(dfS.FS)
library(lavaan)
model1 <- 'lack =~ lacking_cereal+lacking_veg+lacking_fruit+lacking_leg+lacking_fish+lacking_oil'
cfa.lack <- cfa(model1,data = dfS.FSr)
dfS.FSr$lacking <- predict(cfa.lack)
hist(dfS.FSr$lacking)
# correlation
round(cor(dfS.FSr[,c("lacking","lacking_cereal","lacking_veg","lacking_fruit","lacking_leg","lacking_fish", "lacking_oil")]),4)
## lacking lacking_cereal lacking_veg lacking_fruit lacking_leg lacking_fish lacking_oil
## lacking 1.0000 0.6141 0.6832 0.7844 0.5999 0.5645 0.5277
## lacking_cereal 0.6141 1.0000 0.3117 0.2745 0.3603 0.1695 0.3451
## lacking_veg 0.6832 0.3117 1.0000 0.4429 0.2528 0.2443 0.2148
## lacking_fruit 0.7844 0.2745 0.4429 1.0000 0.2949 0.3995 0.2661
## lacking_leg 0.5999 0.3603 0.2528 0.2949 1.0000 0.2558 0.2534
## lacking_fish 0.5645 0.1695 0.2443 0.3995 0.2558 1.0000 0.1823
## lacking_oil 0.5277 0.3451 0.2148 0.2661 0.2534 0.1823 1.0000
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.6264 | 0.0737 | -22.0756 | 2.2e-103 | *** |
cityKE.Kitui | 0.0708 | 0.0358 | 1.9759 | 0.0482 | * |
cityKE.Nyeri | -0.0801 | 0.0378 | -2.1223 | 0.0339 | * |
cityMO.Beni Mellal | 0.4724 | 0.0350 | 13.4777 | 9.9e-41 | *** |
cityMO.Meknes | 0.4436 | 0.0341 | 13.0220 | 3.5e-38 | *** |
cityTN.Sousse | 0.3208 | 0.0368 | 8.7184 | 3.7e-18 | *** |
cityTN.Tunis | 0.2525 | 0.0401 | 6.3016 | 3.2e-10 | *** |
cityTZ.Daressalaam | 0.4913 | 0.0360 | 13.6337 | 1.3e-41 | *** |
cityTZ.Morogoro | 0.4793 | 0.0375 | 12.7751 | 7.9e-37 | *** |
cityUG.Kalerwe | 0.3311 | 0.0338 | 9.7940 | 1.9e-22 | *** |
cityUG.Kampala | 0.3712 | 0.0345 | 10.7745 | 8.6e-27 | *** |
cityUG.Kapeeka | 0.3322 | 0.0344 | 9.6637 | 6.5e-22 | *** |
age | 0.0014 | 0.0005 | 2.6315 | 0.0085 | ** |
genderFemale | 0.0161 | 0.0128 | 1.2543 | 0.2098 | |
educ3Primary | 0.0065 | 0.0242 | 0.2686 | 0.7883 | |
educ3Secondary or more | 0.0588 | 0.0241 | 2.4360 | 0.0149 | * |
HH_size | -0.0006 | 0.0026 | -0.2357 | 0.8136 | |
income_avgsomewhat lower than average | 0.0399 | 0.0178 | 2.2387 | 0.0252 | * |
income_avgabout average | 0.0701 | 0.0222 | 3.1566 | 0.0016 | ** |
income_avgsomewhat higher than average | 0.1237 | 0.0246 | 5.0343 | 5.0e-07 | *** |
income_avghigher than average | 0.1050 | 0.0279 | 3.7694 | 1.7e-04 | *** |
hh_salary | 0.0166 | 0.0074 | 2.2528 | 0.0243 | * |
income_foodLess than half (from 25% to 50%) | 0.0590 | 0.0232 | 2.5437 | 0.0110 | * |
income_foodAbout half (50%) | 0.0440 | 0.0220 | 2.0043 | 0.0451 | * |
income_foodMore than half (from 50% to 75%) | -0.0026 | 0.0233 | -0.1098 | 0.9126 | |
income_foodAlmost all (from 75% to 100%). | -0.0186 | 0.0291 | -0.6408 | 0.5217 | |
hh_head_employRegular worker | 0.0391 | 0.0293 | 1.3341 | 0.1822 | |
hh_head_employCasual worker (paid by the day) | 0.0413 | 0.0282 | 1.4637 | 0.1433 | |
hh_head_employClerk (formal employment) | 0.1077 | 0.0311 | 3.4683 | 5.3e-04 | *** |
hh_head_employManager | 0.0936 | 0.0510 | 1.8345 | 0.0666 | . |
hh_head_employBusinessman / self-employed | 0.1038 | 0.0292 | 3.5500 | 3.9e-04 | *** |
hh_head_employSole trader | 0.0938 | 0.0314 | 2.9914 | 0.0028 | ** |
hh_head_employOther | 0.0999 | 0.0371 | 2.6954 | 0.0071 | ** |
imp_availability | 0.0100 | 0.0057 | 1.7596 | 0.0785 | . |
imp_nutrition | 0.0093 | 0.0063 | 1.4935 | 0.1354 | |
imp_provider | 0.0190 | 0.0055 | 3.4390 | 5.9e-04 | *** |
imp_price | 0.0229 | 0.0064 | 3.5565 | 3.8e-04 | *** |
imp_envfriend | 0.0073 | 0.0057 | 1.2803 | 0.2005 | |
imp_divers | 0.0336 | 0.0065 | 5.1988 | 2.1e-07 | *** |
imp_tradition | 0.0069 | 0.0052 | 1.3093 | 0.1905 | |
imp_local | 0.0114 | 0.0050 | 2.2982 | 0.0216 | * |
imp_product | 0.0413 | 0.0058 | 7.0718 | 1.7e-12 | *** |
local_food_interest | -0.0093 | 0.0067 | -1.3829 | 0.1667 | |
local_envfriend | -0.0013 | 0.0061 | -0.2097 | 0.8339 | |
local_afford | 0.0058 | 0.0068 | 0.8423 | 0.3997 | |
local_find | 0.0280 | 0.0066 | 4.2256 | 2.4e-05 | *** |
local_tradition | -0.0022 | 0.0054 | -0.4020 | 0.6877 | |
local_helpfarmer | 0.0088 | 0.0058 | 1.5268 | 0.1269 | |
local_friends | 0.0047 | 0.0051 | 0.9230 | 0.3560 | |
obst_loc_familar | -0.0036 | 0.0051 | -0.6933 | 0.4881 | |
obst_loc_change | -0.0010 | 0.0052 | -0.1927 | 0.8472 | |
obst_loc_comparab | -0.0161 | 0.0054 | -2.9665 | 0.0030 | ** |
obst_loc_healthy | 0.0116 | 0.0053 | 2.2018 | 0.0277 | * |
obst_loc_friend | 0.0142 | 0.0052 | 2.7257 | 0.0064 | ** |
obst_loc_trust | -0.0055 | 0.0047 | -1.1508 | 0.2499 | |
healty_diet | 0.0697 | 0.0062 | 11.2264 | 6.4e-29 | *** |
nutri_food_interest | 0.0132 | 0.0071 | 1.8696 | 0.0616 | . |
nutri_healthy | -0.0124 | 0.0066 | -1.8794 | 0.0602 | . |
nutri_sstatus | -0.0033 | 0.0049 | -0.6733 | 0.5008 | |
nustri_afford | -0.0142 | 0.0063 | -2.2380 | 0.0253 | * |
nutri_lifestyle | 0.0123 | 0.0052 | 2.3744 | 0.0176 | * |
nutri_trust | -0.0072 | 0.0054 | -1.3314 | 0.1831 | |
nustri_doctor | 0.0102 | 0.0057 | 1.7690 | 0.0770 | . |
obst_nutri_safe | 0.0093 | 0.0048 | 1.9419 | 0.0522 | . |
obst_nutri_fam | 0.0062 | 0.0054 | 1.1636 | 0.2446 | |
obst_nutri_fpractice | -0.0055 | 0.0054 | -1.0221 | 0.3068 | |
obst_nutri_price | 0.0012 | 0.0054 | 0.2270 | 0.8204 | |
obst_nutri_time | -0.0086 | 0.0050 | -1.7083 | 0.0876 | . |
obst_nutri_friend | 0.0087 | 0.0054 | 1.5973 | 0.1103 | |
r.squared | 0.2850 | ||||
adj.r.squared | 0.2758 | ||||
fstatistic | 30.9921 | 68.0000 | 5,288.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 100.1129 | 11 | 46.9633 | 8.6e-99 | *** |
age | 1.3420 | 1 | 6.9250 | 0.0085 | ** |
gender | 0.3049 | 1 | 1.5733 | 0.2098 | |
educ3 | 2.6753 | 2 | 6.9024 | 0.0010 | ** |
HH_size | 0.0108 | 1 | 0.0556 | 0.8136 | |
income_avg | 5.3701 | 4 | 6.9277 | 1.5e-05 | *** |
hh_salary | 0.9835 | 1 | 5.0752 | 0.0243 | * |
income_food | 3.9613 | 4 | 5.1102 | 4.2e-04 | *** |
hh_head_employ | 5.5430 | 7 | 4.0861 | 1.8e-04 | *** |
imp_availability | 0.6000 | 1 | 3.0963 | 0.0785 | . |
imp_nutrition | 0.4323 | 1 | 2.2306 | 0.1354 | |
imp_provider | 2.2920 | 1 | 11.8268 | 5.9e-04 | *** |
imp_price | 2.4513 | 1 | 12.6488 | 3.8e-04 | *** |
imp_envfriend | 0.3177 | 1 | 1.6392 | 0.2005 | |
imp_divers | 5.2377 | 1 | 27.0273 | 2.1e-07 | *** |
imp_tradition | 0.3322 | 1 | 1.7143 | 0.1905 | |
imp_local | 1.0236 | 1 | 5.2818 | 0.0216 | * |
imp_product | 9.6918 | 1 | 50.0108 | 1.7e-12 | *** |
local_food_interest | 0.3706 | 1 | 1.9125 | 0.1667 | |
local_envfriend | 0.0085 | 1 | 0.0440 | 0.8339 | |
local_afford | 0.1375 | 1 | 0.7095 | 0.3997 | |
local_find | 3.4603 | 1 | 17.8559 | 2.4e-05 | *** |
local_tradition | 0.0313 | 1 | 0.1616 | 0.6877 | |
local_helpfarmer | 0.4518 | 1 | 2.3312 | 0.1269 | |
local_friends | 0.1651 | 1 | 0.8520 | 0.3560 | |
obst_loc_familar | 0.0932 | 1 | 0.4807 | 0.4881 | |
obst_loc_change | 0.0072 | 1 | 0.0371 | 0.8472 | |
obst_loc_comparab | 1.7054 | 1 | 8.8002 | 0.0030 | ** |
obst_loc_healthy | 0.9395 | 1 | 4.8479 | 0.0277 | * |
obst_loc_friend | 1.4398 | 1 | 7.4296 | 0.0064 | ** |
obst_loc_trust | 0.2567 | 1 | 1.3244 | 0.2499 | |
healty_diet | 24.4240 | 1 | 126.0315 | 6.4e-29 | *** |
nutri_food_interest | 0.6774 | 1 | 3.4953 | 0.0616 | . |
nutri_healthy | 0.6845 | 1 | 3.5321 | 0.0602 | . |
nutri_sstatus | 0.0878 | 1 | 0.4533 | 0.5008 | |
nustri_afford | 0.9707 | 1 | 5.0088 | 0.0253 | * |
nutri_lifestyle | 1.0925 | 1 | 5.6376 | 0.0176 | * |
nutri_trust | 0.3435 | 1 | 1.7726 | 0.1831 | |
nustri_doctor | 0.6064 | 1 | 3.1292 | 0.0770 | . |
obst_nutri_safe | 0.7308 | 1 | 3.7708 | 0.0522 | . |
obst_nutri_fam | 0.2624 | 1 | 1.3540 | 0.2446 | |
obst_nutri_fpractice | 0.2025 | 1 | 1.0447 | 0.3068 | |
obst_nutri_price | 0.0100 | 1 | 0.0515 | 0.8204 | |
obst_nutri_time | 0.5656 | 1 | 2.9184 | 0.0876 | . |
obst_nutri_friend | 0.4944 | 1 | 2.5513 | 0.1103 | |
Residuals | 1,024.7778 | 5,288 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.6570 | 0.0700 | -23.6644 | 8.8e-118 | *** |
cityKE.Kitui | 0.0855 | 0.0337 | 2.5368 | 0.0112 | * |
cityKE.Nyeri | -0.0545 | 0.0351 | -1.5554 | 0.1199 | |
cityMO.Beni Mellal | 0.4903 | 0.0324 | 15.1227 | 1.3e-50 | *** |
cityMO.Meknes | 0.4663 | 0.0311 | 14.9881 | 9.1e-50 | *** |
cityTN.Sousse | 0.3475 | 0.0346 | 10.0584 | 1.4e-23 | *** |
cityTN.Tunis | 0.2830 | 0.0358 | 7.9139 | 3.0e-15 | *** |
cityTZ.Daressalaam | 0.5194 | 0.0337 | 15.3939 | 2.4e-52 | *** |
cityTZ.Morogoro | 0.5032 | 0.0351 | 14.3449 | 8.2e-46 | *** |
cityUG.Kalerwe | 0.3520 | 0.0315 | 11.1901 | 9.5e-29 | *** |
cityUG.Kampala | 0.3997 | 0.0321 | 12.4658 | 3.6e-35 | *** |
cityUG.Kapeeka | 0.3495 | 0.0324 | 10.7773 | 8.3e-27 | *** |
age | 0.0013 | 0.0005 | 2.5484 | 0.0109 | * |
educ3Primary | 0.0041 | 0.0241 | 0.1721 | 0.8634 | |
educ3Secondary or more | 0.0569 | 0.0239 | 2.3767 | 0.0175 | * |
income_avgsomewhat lower than average | 0.0404 | 0.0177 | 2.2777 | 0.0228 | * |
income_avgabout average | 0.0714 | 0.0221 | 3.2297 | 0.0012 | ** |
income_avgsomewhat higher than average | 0.1229 | 0.0244 | 5.0333 | 5.0e-07 | *** |
income_avghigher than average | 0.1053 | 0.0277 | 3.7948 | 1.5e-04 | *** |
hh_salary | 0.0160 | 0.0068 | 2.3431 | 0.0192 | * |
income_foodLess than half (from 25% to 50%) | 0.0594 | 0.0231 | 2.5720 | 0.0101 | * |
income_foodAbout half (50%) | 0.0460 | 0.0218 | 2.1047 | 0.0354 | * |
income_foodMore than half (from 50% to 75%) | -0.0014 | 0.0232 | -0.0611 | 0.9513 | |
income_foodAlmost all (from 75% to 100%). | -0.0188 | 0.0289 | -0.6484 | 0.5168 | |
hh_head_employRegular worker | 0.0385 | 0.0292 | 1.3179 | 0.1876 | |
hh_head_employCasual worker (paid by the day) | 0.0426 | 0.0281 | 1.5179 | 0.1291 | |
hh_head_employClerk (formal employment) | 0.1080 | 0.0310 | 3.4854 | 5.0e-04 | *** |
hh_head_employManager | 0.0968 | 0.0509 | 1.8999 | 0.0575 | . |
hh_head_employBusinessman / self-employed | 0.1037 | 0.0291 | 3.5592 | 3.8e-04 | *** |
hh_head_employSole trader | 0.0959 | 0.0313 | 3.0684 | 0.0022 | ** |
hh_head_employOther | 0.0982 | 0.0370 | 2.6554 | 0.0079 | ** |
imp_availability | 0.0098 | 0.0057 | 1.7239 | 0.0848 | . |
imp_nutrition | 0.0106 | 0.0062 | 1.7191 | 0.0857 | . |
imp_provider | 0.0196 | 0.0054 | 3.6040 | 3.2e-04 | *** |
imp_price | 0.0241 | 0.0064 | 3.7902 | 1.5e-04 | *** |
imp_divers | 0.0346 | 0.0064 | 5.4408 | 5.5e-08 | *** |
imp_local | 0.0126 | 0.0048 | 2.6199 | 0.0088 | ** |
imp_product | 0.0424 | 0.0058 | 7.3431 | 2.4e-13 | *** |
local_find | 0.0288 | 0.0061 | 4.7005 | 2.7e-06 | *** |
local_helpfarmer | 0.0106 | 0.0054 | 1.9682 | 0.0491 | * |
obst_loc_comparab | -0.0162 | 0.0051 | -3.1923 | 0.0014 | ** |
obst_loc_healthy | 0.0107 | 0.0050 | 2.1170 | 0.0343 | * |
obst_loc_friend | 0.0140 | 0.0049 | 2.8644 | 0.0042 | ** |
healty_diet | 0.0701 | 0.0061 | 11.3956 | 9.7e-30 | *** |
nutri_food_interest | 0.0116 | 0.0067 | 1.7322 | 0.0833 | . |
nutri_healthy | -0.0122 | 0.0066 | -1.8628 | 0.0625 | . |
nustri_afford | -0.0125 | 0.0062 | -2.0234 | 0.0431 | * |
nutri_lifestyle | 0.0127 | 0.0049 | 2.6072 | 0.0092 | ** |
nutri_trust | -0.0088 | 0.0053 | -1.6460 | 0.0998 | . |
nustri_doctor | 0.0099 | 0.0057 | 1.7399 | 0.0819 | . |
obst_nutri_safe | 0.0094 | 0.0046 | 2.0535 | 0.0401 | * |
obst_nutri_time | -0.0089 | 0.0048 | -1.8575 | 0.0633 | . |
obst_nutri_friend | 0.0085 | 0.0052 | 1.6312 | 0.1029 | |
r.squared | 0.2831 | ||||
adj.r.squared | 0.2761 | ||||
fstatistic | 40.2790 | 52.0000 | 5,304.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 116.7081 | 11 | 54.7708 | 2.1e-115 | *** |
age | 1.2580 | 1 | 6.4943 | 0.0109 | * |
educ3 | 2.7199 | 2 | 7.0205 | 9.0e-04 | *** |
income_avg | 5.3985 | 4 | 6.9671 | 1.4e-05 | *** |
hh_salary | 1.0635 | 1 | 5.4901 | 0.0192 | * |
income_food | 4.0665 | 4 | 5.2481 | 3.2e-04 | *** |
hh_head_employ | 5.5957 | 7 | 4.1267 | 1.6e-04 | *** |
imp_availability | 0.5757 | 1 | 2.9719 | 0.0848 | . |
imp_nutrition | 0.5725 | 1 | 2.9553 | 0.0857 | . |
imp_provider | 2.5162 | 1 | 12.9891 | 3.2e-04 | *** |
imp_price | 2.7827 | 1 | 14.3653 | 1.5e-04 | *** |
imp_divers | 5.7345 | 1 | 29.6028 | 5.5e-08 | *** |
imp_local | 1.3296 | 1 | 6.8638 | 0.0088 | ** |
imp_product | 10.4452 | 1 | 53.9209 | 2.4e-13 | *** |
local_find | 4.2801 | 1 | 22.0952 | 2.7e-06 | *** |
local_helpfarmer | 0.7504 | 1 | 3.8739 | 0.0491 | * |
obst_loc_comparab | 1.9741 | 1 | 10.1908 | 0.0014 | ** |
obst_loc_healthy | 0.8682 | 1 | 4.4817 | 0.0343 | * |
obst_loc_friend | 1.5894 | 1 | 8.2047 | 0.0042 | ** |
healty_diet | 25.1555 | 1 | 129.8595 | 9.7e-30 | *** |
nutri_food_interest | 0.5813 | 1 | 3.0006 | 0.0833 | . |
nutri_healthy | 0.6722 | 1 | 3.4701 | 0.0625 | . |
nustri_afford | 0.7931 | 1 | 4.0941 | 0.0431 | * |
nutri_lifestyle | 1.3167 | 1 | 6.7973 | 0.0092 | ** |
nutri_trust | 0.5248 | 1 | 2.7093 | 0.0998 | . |
nustri_doctor | 0.5864 | 1 | 3.0274 | 0.0819 | . |
obst_nutri_safe | 0.8168 | 1 | 4.2167 | 0.0401 | * |
obst_nutri_time | 0.6684 | 1 | 3.4503 | 0.0633 | . |
obst_nutri_friend | 0.5155 | 1 | 2.6609 | 0.1029 | |
Residuals | 1,027.4555 | 5,304 |
frm1 <- as.formula(paste(names(dfS.FSr.2)[1],"~",paste(names(dfS.FSr.2)[-1],collapse = "+"),sep=" "))
mod1 <- lm(frm1,data = dfS.FSr.2)
stp2 <- stepCriterion(mod1, direction="forward", criterion="bic",trace = F)
stpBIC <- lm(as.formula(paste("lacking",stp2$final)),data = dfS.FSr.2)
my.flextb(lm2df(stpBIC),title = "lacking stepwise BIC - coefficients") %>% autofit()
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.4591 | 0.0498 | -29.3263 | 2.1e-175 | *** |
cityKE.Kitui | 0.0193 | 0.0313 | 0.6147 | 0.5388 | |
cityKE.Nyeri | -0.1231 | 0.0324 | -3.7978 | 1.5e-04 | *** |
cityMO.Beni Mellal | 0.4600 | 0.0309 | 14.8970 | 3.3e-49 | *** |
cityMO.Meknes | 0.4550 | 0.0294 | 15.4732 | 7.3e-53 | *** |
cityTN.Sousse | 0.3615 | 0.0322 | 11.2214 | 6.7e-29 | *** |
cityTN.Tunis | 0.2597 | 0.0324 | 8.0044 | 1.5e-15 | *** |
cityTZ.Daressalaam | 0.5487 | 0.0290 | 18.9447 | 1.6e-77 | *** |
cityTZ.Morogoro | 0.5456 | 0.0292 | 18.6992 | 1.3e-75 | *** |
cityUG.Kalerwe | 0.3397 | 0.0297 | 11.4237 | 7.1e-30 | *** |
cityUG.Kampala | 0.3708 | 0.0298 | 12.4348 | 5.2e-35 | *** |
cityUG.Kapeeka | 0.3165 | 0.0300 | 10.5602 | 8.2e-26 | *** |
healty_diet | 0.0792 | 0.0060 | 13.1453 | 7.2e-39 | *** |
imp_divers | 0.0451 | 0.0058 | 7.8150 | 6.6e-15 | *** |
imp_product | 0.0444 | 0.0057 | 7.7695 | 9.4e-15 | *** |
income_avgsomewhat lower than average | 0.0690 | 0.0172 | 4.0065 | 6.2e-05 | *** |
income_avgabout average | 0.1169 | 0.0210 | 5.5755 | 2.6e-08 | *** |
income_avgsomewhat higher than average | 0.1785 | 0.0230 | 7.7635 | 9.8e-15 | *** |
income_avghigher than average | 0.1818 | 0.0253 | 7.1884 | 7.5e-13 | *** |
local_find | 0.0318 | 0.0058 | 5.4539 | 5.1e-08 | *** |
imp_provider | 0.0227 | 0.0053 | 4.2658 | 2.0e-05 | *** |
obst_loc_friend | 0.0179 | 0.0044 | 4.0638 | 4.9e-05 | *** |
imp_price | 0.0237 | 0.0063 | 3.7884 | 1.5e-04 | *** |
imp_local | 0.0154 | 0.0047 | 3.2634 | 0.0011 | ** |
r.squared | 0.2644 | ||||
adj.r.squared | 0.2612 | ||||
fstatistic | 83.3240 | 23.0000 | 5,333.0000 | 0.0e+00 |
my.flextb(Anova2df(stpBIC),title = "lacking stepwise BIC - anova") %>% autofit()
variable | Sum Sq | Df | F value | p.value | signif |
city | 181.2385 | 11 | 83.3411 | 1.8e-174 | *** |
healty_diet | 34.1617 | 1 | 172.7990 | 7.2e-39 | *** |
imp_divers | 12.0743 | 1 | 61.0750 | 6.6e-15 | *** |
imp_product | 11.9339 | 1 | 60.3646 | 9.4e-15 | *** |
income_avg | 15.8357 | 4 | 20.0253 | 2.2e-16 | *** |
local_find | 5.8805 | 1 | 29.7451 | 5.1e-08 | *** |
imp_provider | 3.5975 | 1 | 18.1971 | 2.0e-05 | *** |
obst_loc_friend | 3.2649 | 1 | 16.5145 | 4.9e-05 | *** |
imp_price | 2.8373 | 1 | 14.3519 | 1.5e-04 | *** |
imp_local | 2.1054 | 1 | 10.6497 | 0.0011 | ** |
Residuals | 1,054.3142 | 5,333 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -2.0763 | 0.1607 | -12.9244 | 5.8e-36 | *** |
cityKE.Kitui | 0.1307 | 0.0384 | 3.4034 | 6.9e-04 | *** |
cityKE.Nyeri | 0.0070 | 0.0388 | 0.1804 | 0.8568 | |
educ3Primary | -0.0658 | 0.0581 | -1.1321 | 0.2578 | |
educ3Secondary or more | -0.0020 | 0.0555 | -0.0353 | 0.9719 | |
income_foodLess than half (from 25% to 50%) | 0.3150 | 0.0657 | 4.7931 | 1.8e-06 | *** |
income_foodAbout half (50%) | 0.1714 | 0.0627 | 2.7336 | 0.0064 | ** |
income_foodMore than half (from 50% to 75%) | 0.0952 | 0.0641 | 1.4843 | 0.1380 | |
income_foodAlmost all (from 75% to 100%). | 0.0035 | 0.0697 | 0.0507 | 0.9596 | |
hh_head_employRegular worker | 0.0376 | 0.0535 | 0.7031 | 0.4821 | |
hh_head_employCasual worker (paid by the day) | 0.1032 | 0.0462 | 2.2339 | 0.0257 | * |
hh_head_employClerk (formal employment) | 0.1557 | 0.0473 | 3.2916 | 0.0010 | ** |
hh_head_employManager | 0.1711 | 0.0703 | 2.4351 | 0.0150 | * |
hh_head_employBusinessman / self-employed | 0.1967 | 0.0460 | 4.2711 | 2.1e-05 | *** |
hh_head_employSole trader | 0.2765 | 0.0857 | 3.2255 | 0.0013 | ** |
hh_head_employOther | 0.4114 | 0.1089 | 3.7777 | 1.7e-04 | *** |
imp_nutrition | 0.0250 | 0.0132 | 1.8889 | 0.0591 | . |
imp_price | 0.0326 | 0.0202 | 1.6153 | 0.1065 | |
imp_divers | 0.0422 | 0.0128 | 3.2908 | 0.0010 | ** |
imp_tradition | -0.0219 | 0.0113 | -1.9331 | 0.0534 | . |
imp_product | 0.0511 | 0.0111 | 4.6189 | 4.3e-06 | *** |
local_food_interest | -0.0208 | 0.0136 | -1.5314 | 0.1259 | |
local_find | 0.0441 | 0.0139 | 3.1633 | 0.0016 | ** |
obst_loc_comparab | -0.0570 | 0.0117 | -4.8531 | 1.4e-06 | *** |
obst_loc_healthy | 0.0429 | 0.0113 | 3.8053 | 1.5e-04 | *** |
obst_loc_friend | 0.0377 | 0.0116 | 3.2401 | 0.0012 | ** |
obst_loc_trust | -0.0182 | 0.0116 | -1.5639 | 0.1181 | |
healty_diet | 0.0917 | 0.0126 | 7.2831 | 5.7e-13 | *** |
nutri_healthy | 0.0554 | 0.0151 | 3.6791 | 2.4e-04 | *** |
nutri_sstatus | -0.0264 | 0.0120 | -2.2079 | 0.0274 | * |
nutri_lifestyle | 0.0360 | 0.0113 | 3.1855 | 0.0015 | ** |
nutri_trust | -0.0225 | 0.0126 | -1.7879 | 0.0740 | . |
nustri_doctor | 0.0368 | 0.0119 | 3.0939 | 0.0020 | ** |
obst_nutri_price | 0.0249 | 0.0126 | 1.9674 | 0.0494 | * |
obst_nutri_time | -0.0154 | 0.0109 | -1.4098 | 0.1588 | |
obst_nutri_friend | 0.0367 | 0.0121 | 3.0237 | 0.0025 | ** |
r.squared | 0.3405 | ||||
adj.r.squared | 0.3222 | ||||
fstatistic | 18.5304 | 35.0000 | 1,256.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 3.2281 | 2 | 9.3061 | 9.7e-05 | *** |
educ3 | 0.9604 | 2 | 2.7688 | 0.0631 | . |
income_food | 10.8838 | 4 | 15.6883 | 1.6e-12 | *** |
hh_head_employ | 6.8420 | 7 | 5.6356 | 2.0e-06 | *** |
imp_nutrition | 0.6188 | 1 | 3.5681 | 0.0591 | . |
imp_price | 0.4525 | 1 | 2.6091 | 0.1065 | |
imp_divers | 1.8783 | 1 | 10.8295 | 0.0010 | ** |
imp_tradition | 0.6481 | 1 | 3.7370 | 0.0534 | . |
imp_product | 3.7002 | 1 | 21.3342 | 4.3e-06 | *** |
local_food_interest | 0.4068 | 1 | 2.3453 | 0.1259 | |
local_find | 1.7355 | 1 | 10.0062 | 0.0016 | ** |
obst_loc_comparab | 4.0850 | 1 | 23.5527 | 1.4e-06 | *** |
obst_loc_healthy | 2.5114 | 1 | 14.4803 | 1.5e-04 | *** |
obst_loc_friend | 1.8208 | 1 | 10.4982 | 0.0012 | ** |
obst_loc_trust | 0.4242 | 1 | 2.4459 | 0.1181 | |
healty_diet | 9.1999 | 1 | 53.0442 | 5.7e-13 | *** |
nutri_healthy | 2.3476 | 1 | 13.5358 | 2.4e-04 | *** |
nutri_sstatus | 0.8455 | 1 | 4.8746 | 0.0274 | * |
nutri_lifestyle | 1.7600 | 1 | 10.1477 | 0.0015 | ** |
nutri_trust | 0.5544 | 1 | 3.1964 | 0.0740 | . |
nustri_doctor | 1.6602 | 1 | 9.5722 | 0.0020 | ** |
obst_nutri_price | 0.6713 | 1 | 3.8706 | 0.0494 | * |
obst_nutri_time | 0.3447 | 1 | 1.9877 | 0.1588 | |
obst_nutri_friend | 1.5857 | 1 | 9.1428 | 0.0025 | ** |
Residuals | 217.8389 | 1,256 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.3314 | 0.1112 | -11.9762 | 1.0e-30 | *** |
genderFemale | -0.0605 | 0.0337 | -1.7946 | 0.0731 | . |
income_avgsomewhat lower than average | 0.0540 | 0.0386 | 1.4000 | 0.1619 | |
income_avgabout average | 0.1775 | 0.0498 | 3.5638 | 3.9e-04 | *** |
income_avgsomewhat higher than average | 0.2492 | 0.0576 | 4.3234 | 1.7e-05 | *** |
income_avghigher than average | 0.2492 | 0.0619 | 4.0258 | 6.2e-05 | *** |
income_foodLess than half (from 25% to 50%) | 0.1542 | 0.0621 | 2.4836 | 0.0132 | * |
income_foodAbout half (50%) | 0.1951 | 0.0584 | 3.3421 | 8.7e-04 | *** |
income_foodMore than half (from 50% to 75%) | 0.1785 | 0.0624 | 2.8624 | 0.0043 | ** |
income_foodAlmost all (from 75% to 100%). | 0.1852 | 0.0769 | 2.4092 | 0.0162 | * |
imp_availability | 0.0322 | 0.0154 | 2.0983 | 0.0362 | * |
imp_price | 0.0427 | 0.0157 | 2.7133 | 0.0068 | ** |
imp_divers | 0.0666 | 0.0181 | 3.6717 | 2.6e-04 | *** |
imp_local | 0.0321 | 0.0159 | 2.0149 | 0.0442 | * |
imp_product | 0.0343 | 0.0170 | 2.0159 | 0.0441 | * |
local_tradition | 0.0343 | 0.0157 | 2.1875 | 0.0290 | * |
local_friends | 0.0413 | 0.0131 | 3.1536 | 0.0017 | ** |
obst_loc_familar | -0.0226 | 0.0144 | -1.5646 | 0.1180 | |
obst_loc_change | 0.0367 | 0.0153 | 2.3937 | 0.0169 | * |
obst_loc_healthy | 0.0303 | 0.0146 | 2.0696 | 0.0388 | * |
obst_loc_trust | 0.0242 | 0.0129 | 1.8790 | 0.0606 | . |
nutri_food_interest | -0.0256 | 0.0165 | -1.5492 | 0.1217 | |
nustri_afford | 0.0381 | 0.0157 | 2.4360 | 0.0151 | * |
obst_nutri_fpractice | -0.0376 | 0.0136 | -2.7682 | 0.0058 | ** |
r.squared | 0.2699 | ||||
adj.r.squared | 0.2507 | ||||
fstatistic | 14.0797 | 23.0000 | 876.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
gender | 0.6835 | 1 | 3.2207 | 0.0731 | . |
income_avg | 7.3148 | 4 | 8.6168 | 8.0e-07 | *** |
income_food | 2.4762 | 4 | 2.9170 | 0.0206 | * |
imp_availability | 0.9344 | 1 | 4.4029 | 0.0362 | * |
imp_price | 1.5623 | 1 | 7.3618 | 0.0068 | ** |
imp_divers | 2.8611 | 1 | 13.4815 | 2.6e-04 | *** |
imp_local | 0.8615 | 1 | 4.0596 | 0.0442 | * |
imp_product | 0.8625 | 1 | 4.0639 | 0.0441 | * |
local_tradition | 1.0155 | 1 | 4.7852 | 0.0290 | * |
local_friends | 2.1106 | 1 | 9.9452 | 0.0017 | ** |
obst_loc_familar | 0.5195 | 1 | 2.4481 | 0.1180 | |
obst_loc_change | 1.2160 | 1 | 5.7297 | 0.0169 | * |
obst_loc_healthy | 0.9090 | 1 | 4.2833 | 0.0388 | * |
obst_loc_trust | 0.7493 | 1 | 3.5307 | 0.0606 | . |
nutri_food_interest | 0.5094 | 1 | 2.4002 | 0.1217 | |
nustri_afford | 1.2593 | 1 | 5.9339 | 0.0151 | * |
obst_nutri_fpractice | 1.6263 | 1 | 7.6631 | 0.0058 | ** |
Residuals | 185.9075 | 876 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.3937 | 0.2253 | -6.1849 | 1.1e-09 | *** |
cityTN.Tunis | -0.0879 | 0.0495 | -1.7769 | 0.0761 | . |
educ3Primary | 0.0687 | 0.1596 | 0.4303 | 0.6671 | |
educ3Secondary or more | 0.1896 | 0.1530 | 1.2396 | 0.2156 | |
HH_size | -0.0219 | 0.0111 | -1.9794 | 0.0482 | * |
income_avgsomewhat lower than average | 0.1767 | 0.0838 | 2.1087 | 0.0354 | * |
income_avgabout average | 0.2035 | 0.0869 | 2.3410 | 0.0195 | * |
income_avgsomewhat higher than average | 0.2775 | 0.0944 | 2.9400 | 0.0034 | ** |
income_avghigher than average | 0.2654 | 0.1049 | 2.5292 | 0.0117 | * |
hh_salary | 0.0337 | 0.0216 | 1.5612 | 0.1190 | |
imp_provider | 0.0378 | 0.0205 | 1.8432 | 0.0658 | . |
imp_envfriend | 0.0283 | 0.0154 | 1.8436 | 0.0657 | . |
imp_product | 0.0343 | 0.0192 | 1.7885 | 0.0742 | . |
local_find | 0.0530 | 0.0176 | 3.0150 | 0.0027 | ** |
obst_loc_trust | 0.0289 | 0.0133 | 2.1742 | 0.0301 | * |
healty_diet | 0.0738 | 0.0210 | 3.5110 | 4.8e-04 | *** |
nutri_food_interest | 0.0320 | 0.0179 | 1.7903 | 0.0739 | . |
nutri_sstatus | 0.0259 | 0.0150 | 1.7332 | 0.0835 | . |
obst_nutri_price | -0.0275 | 0.0153 | -1.7971 | 0.0728 | . |
obst_nutri_time | 0.0224 | 0.0136 | 1.6486 | 0.0997 | . |
r.squared | 0.1424 | ||||
adj.r.squared | 0.1175 | ||||
fstatistic | 5.7156 | 19.0000 | 654.0000 | 2.6e-13 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 0.7565 | 1 | 3.1573 | 0.0761 | . |
educ3 | 1.1803 | 2 | 2.4629 | 0.0860 | . |
HH_size | 0.9388 | 1 | 3.9181 | 0.0482 | * |
income_avg | 2.2587 | 4 | 2.3568 | 0.0524 | . |
hh_salary | 0.5840 | 1 | 2.4373 | 0.1190 | |
imp_provider | 0.8140 | 1 | 3.3974 | 0.0658 | . |
imp_envfriend | 0.8144 | 1 | 3.3988 | 0.0657 | . |
imp_product | 0.7665 | 1 | 3.1989 | 0.0742 | . |
local_find | 2.1781 | 1 | 9.0904 | 0.0027 | ** |
obst_loc_trust | 1.1326 | 1 | 4.7270 | 0.0301 | * |
healty_diet | 2.9536 | 1 | 12.3271 | 0.00048 | *** |
nutri_food_interest | 0.7680 | 1 | 3.2053 | 0.0739 | . |
nutri_sstatus | 0.7198 | 1 | 3.0041 | 0.0835 | . |
obst_nutri_price | 0.7738 | 1 | 3.2295 | 0.0728 | . |
obst_nutri_time | 0.6512 | 1 | 2.7179 | 0.0997 | . |
Residuals | 156.7009 | 654 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -0.4813 | 0.1336 | -3.6012 | 3.3e-04 | *** |
cityTZ.Morogoro | -0.0470 | 0.0273 | -1.7215 | 0.0855 | . |
hh_salary | -0.0426 | 0.0152 | -2.7996 | 0.0052 | ** |
income_foodLess than half (from 25% to 50%) | 0.0074 | 0.0457 | 0.1623 | 0.8711 | |
income_foodAbout half (50%) | -0.0050 | 0.0401 | -0.1245 | 0.9010 | |
income_foodMore than half (from 50% to 75%) | -0.1207 | 0.0440 | -2.7429 | 0.0062 | ** |
income_foodAlmost all (from 75% to 100%). | -0.1031 | 0.0662 | -1.5576 | 0.1197 | |
hh_head_employRegular worker | 0.1493 | 0.0817 | 1.8266 | 0.0681 | . |
hh_head_employCasual worker (paid by the day) | 0.0441 | 0.0851 | 0.5175 | 0.6049 | |
hh_head_employClerk (formal employment) | 0.2062 | 0.0935 | 2.2048 | 0.0277 | * |
hh_head_employManager | 0.2084 | 0.2930 | 0.7113 | 0.4771 | |
hh_head_employBusinessman / self-employed | 0.1950 | 0.0774 | 2.5202 | 0.0119 | * |
hh_head_employSole trader | 0.1422 | 0.0782 | 1.8193 | 0.0692 | . |
hh_head_employOther | 0.1981 | 0.1093 | 1.8126 | 0.0702 | . |
imp_provider | 0.0294 | 0.0112 | 2.6253 | 0.0088 | ** |
imp_envfriend | 0.0193 | 0.0134 | 1.4375 | 0.1509 | |
imp_divers | 0.0501 | 0.0127 | 3.9565 | 8.2e-05 | *** |
imp_product | 0.0572 | 0.0143 | 4.0136 | 6.5e-05 | *** |
local_food_interest | -0.0279 | 0.0163 | -1.7167 | 0.0864 | . |
local_envfriend | 0.0273 | 0.0140 | 1.9452 | 0.0520 | . |
local_find | -0.0314 | 0.0159 | -1.9747 | 0.0486 | * |
obst_loc_change | -0.0159 | 0.0092 | -1.7380 | 0.0825 | . |
healty_diet | 0.0835 | 0.0123 | 6.8031 | 1.8e-11 | *** |
nutri_food_interest | 0.0269 | 0.0170 | 1.5827 | 0.1138 | |
nutri_healthy | -0.0662 | 0.0088 | -7.5525 | 1.0e-13 | *** |
nutri_sstatus | 0.0156 | 0.0086 | 1.8040 | 0.0716 | . |
obst_nutri_time | -0.0171 | 0.0086 | -1.9854 | 0.0474 | * |
r.squared | 0.2856 | ||||
adj.r.squared | 0.2661 | ||||
fstatistic | 14.5949 | 26.0000 | 949.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 0.4664 | 1 | 2.9637 | 0.0855 | . |
hh_salary | 1.2335 | 1 | 7.8379 | 0.0052 | ** |
income_food | 2.5769 | 4 | 4.0936 | 0.0027 | ** |
hh_head_employ | 2.4137 | 7 | 2.1911 | 0.0329 | * |
imp_provider | 1.0847 | 1 | 6.8924 | 0.0088 | ** |
imp_envfriend | 0.3252 | 1 | 2.0664 | 0.1509 | |
imp_divers | 2.4635 | 1 | 15.6542 | 8.2e-05 | *** |
imp_product | 2.5351 | 1 | 16.1086 | 6.5e-05 | *** |
local_food_interest | 0.4638 | 1 | 2.9472 | 0.0864 | . |
local_envfriend | 0.5955 | 1 | 3.7839 | 0.0520 | . |
local_find | 0.6137 | 1 | 3.8995 | 0.0486 | * |
obst_loc_change | 0.4754 | 1 | 3.0208 | 0.0825 | . |
healty_diet | 7.2835 | 1 | 46.2819 | 1.8e-11 | *** |
nutri_food_interest | 0.3942 | 1 | 2.5048 | 0.1138 | |
nutri_healthy | 8.9766 | 1 | 57.0405 | 1.0e-13 | *** |
nutri_sstatus | 0.5121 | 1 | 3.2543 | 0.0716 | . |
obst_nutri_time | 0.6203 | 1 | 3.9419 | 0.0474 | * |
Residuals | 149.3465 | 949 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.0284 | 0.0787 | -13.0645 | 5.2e-37 | *** |
genderFemale | 0.0557 | 0.0216 | 2.5832 | 0.0099 | ** |
educ3Primary | 0.0078 | 0.0314 | 0.2480 | 0.8041 | |
educ3Secondary or more | 0.0650 | 0.0299 | 2.1723 | 0.0300 | * |
HH_size | 0.0098 | 0.0036 | 2.7199 | 0.0066 | ** |
hh_salary | 0.0351 | 0.0110 | 3.1791 | 0.0015 | ** |
imp_availability | 0.0140 | 0.0074 | 1.8989 | 0.0578 | . |
imp_provider | 0.0164 | 0.0083 | 1.9755 | 0.0484 | * |
imp_price | 0.0134 | 0.0083 | 1.6209 | 0.1053 | |
imp_envfriend | 0.0122 | 0.0072 | 1.6889 | 0.0914 | . |
imp_divers | 0.0177 | 0.0086 | 2.0526 | 0.0403 | * |
imp_tradition | 0.0257 | 0.0073 | 3.5140 | 4.5e-04 | *** |
imp_local | 0.0132 | 0.0070 | 1.8985 | 0.0578 | . |
imp_product | 0.0264 | 0.0082 | 3.2066 | 0.0014 | ** |
local_afford | 0.0211 | 0.0087 | 2.4152 | 0.0158 | * |
obst_loc_familar | 0.0110 | 0.0071 | 1.5609 | 0.1188 | |
obst_loc_healthy | -0.0121 | 0.0074 | -1.6340 | 0.1025 | |
obst_loc_trust | -0.0160 | 0.0070 | -2.2786 | 0.0228 | * |
healty_diet | 0.0575 | 0.0097 | 5.9083 | 4.3e-09 | *** |
nutri_lifestyle | -0.0139 | 0.0075 | -1.8481 | 0.0648 | . |
nustri_doctor | 0.0123 | 0.0084 | 1.4535 | 0.1463 | |
obst_nutri_safe | 0.0143 | 0.0069 | 2.0718 | 0.0385 | * |
obst_nutri_fpractice | 0.0115 | 0.0079 | 1.4619 | 0.1440 | |
obst_nutri_time | -0.0120 | 0.0083 | -1.4427 | 0.1493 | |
obst_nutri_friend | 0.0131 | 0.0080 | 1.6438 | 0.1004 | |
r.squared | 0.1474 | ||||
adj.r.squared | 0.1337 | ||||
fstatistic | 10.7371 | 24.0000 | 1,490.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
gender | 0.9908 | 1 | 6.6730 | 0.0099 | ** |
educ3 | 1.2138 | 2 | 4.0874 | 0.0170 | * |
HH_size | 1.0984 | 1 | 7.3976 | 0.0066 | ** |
hh_salary | 1.5006 | 1 | 10.1069 | 0.0015 | ** |
imp_availability | 0.5354 | 1 | 3.6057 | 0.0578 | . |
imp_provider | 0.5795 | 1 | 3.9028 | 0.0484 | * |
imp_price | 0.3901 | 1 | 2.6272 | 0.1053 | |
imp_envfriend | 0.4235 | 1 | 2.8525 | 0.0914 | . |
imp_divers | 0.6255 | 1 | 4.2131 | 0.0403 | * |
imp_tradition | 1.8334 | 1 | 12.3479 | 4.5e-04 | *** |
imp_local | 0.5352 | 1 | 3.6045 | 0.0578 | . |
imp_product | 1.5266 | 1 | 10.2821 | 0.0014 | ** |
local_afford | 0.8661 | 1 | 5.8334 | 0.0158 | * |
obst_loc_familar | 0.3618 | 1 | 2.4365 | 0.1188 | |
obst_loc_healthy | 0.3964 | 1 | 2.6700 | 0.1025 | |
obst_loc_trust | 0.7709 | 1 | 5.1921 | 0.0228 | * |
healty_diet | 5.1829 | 1 | 34.9076 | 4.3e-09 | *** |
nutri_lifestyle | 0.5071 | 1 | 3.4154 | 0.0648 | . |
nustri_doctor | 0.3137 | 1 | 2.1127 | 0.1463 | |
obst_nutri_safe | 0.6373 | 1 | 4.2922 | 0.0385 | * |
obst_nutri_fpractice | 0.3173 | 1 | 2.1372 | 0.1440 | |
obst_nutri_time | 0.3090 | 1 | 2.0815 | 0.1493 | |
obst_nutri_friend | 0.4012 | 1 | 2.7020 | 0.1004 | |
Residuals | 221.2284 | 1,490 |
variables from the experiments are considered one at a time
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.7920 | 0.1459 | -12.2849 | 6.1e-33 | *** |
cityMO.Meknes | 0.3491 | 0.0591 | 5.9033 | 4.5e-09 | *** |
cityTN.Sousse | 0.2381 | 0.0630 | 3.7778 | 1.7e-04 | *** |
cityTZ.Morogoro | 0.4259 | 0.0686 | 6.2060 | 7.2e-10 | *** |
cityUG.Kalerwe | 0.2428 | 0.0746 | 3.2523 | 0.0012 | ** |
age | 0.0017 | 0.0011 | 1.5603 | 0.1189 | |
genderFemale | 0.0154 | 0.0270 | 0.5720 | 0.5674 | |
educ3Primary | 0.0415 | 0.0545 | 0.7609 | 0.4469 | |
educ3Secondary or more | 0.0985 | 0.0543 | 1.8142 | 0.0699 | . |
HH_size | -0.0038 | 0.0057 | -0.6641 | 0.5067 | |
income_avgsomewhat lower than average | 0.0207 | 0.0344 | 0.6010 | 0.5480 | |
income_avgabout average | 0.0616 | 0.0447 | 1.3768 | 0.1688 | |
income_avgsomewhat higher than average | 0.1000 | 0.0524 | 1.9063 | 0.0568 | . |
income_avghigher than average | 0.0032 | 0.0608 | 0.0529 | 0.9578 | |
hh_salary | 0.0175 | 0.0138 | 1.2671 | 0.2053 | |
income_foodLess than half (from 25% to 50%) | 0.1150 | 0.0485 | 2.3733 | 0.0178 | * |
income_foodAbout half (50%) | 0.1591 | 0.0453 | 3.5099 | 4.6e-04 | *** |
income_foodMore than half (from 50% to 75%) | 0.1052 | 0.0489 | 2.1506 | 0.0317 | * |
income_foodAlmost all (from 75% to 100%). | 0.0661 | 0.0656 | 1.0072 | 0.3140 | |
hh_head_employRegular worker | 0.0608 | 0.0583 | 1.0422 | 0.2975 | |
hh_head_employCasual worker (paid by the day) | 0.0516 | 0.0563 | 0.9166 | 0.3595 | |
hh_head_employClerk (formal employment) | 0.0949 | 0.0589 | 1.6118 | 0.1073 | |
hh_head_employManager | 0.0343 | 0.1759 | 0.1950 | 0.8454 | |
hh_head_employBusinessman / self-employed | 0.0575 | 0.0607 | 0.9478 | 0.3434 | |
hh_head_employSole trader | 0.0346 | 0.0653 | 0.5300 | 0.5962 | |
hh_head_employOther | 0.0875 | 0.0656 | 1.3333 | 0.1827 | |
imp_availability | 0.0285 | 0.0127 | 2.2483 | 0.0247 | * |
imp_nutrition | -0.0100 | 0.0152 | -0.6576 | 0.5109 | |
imp_provider | 0.0088 | 0.0122 | 0.7189 | 0.4723 | |
imp_price | 0.0428 | 0.0136 | 3.1521 | 0.0017 | ** |
imp_envfriend | 0.0147 | 0.0141 | 1.0482 | 0.2947 | |
imp_divers | 0.0605 | 0.0150 | 4.0276 | 6.0e-05 | *** |
imp_tradition | -0.0280 | 0.0121 | -2.3123 | 0.0209 | * |
imp_local | 0.0213 | 0.0117 | 1.8235 | 0.0684 | . |
imp_product | 0.0203 | 0.0138 | 1.4732 | 0.1409 | |
local_food_interest | 0.0179 | 0.0151 | 1.1882 | 0.2350 | |
local_envfriend | 0.0106 | 0.0142 | 0.7482 | 0.4545 | |
local_afford | -0.0140 | 0.0150 | -0.9329 | 0.3511 | |
local_find | 0.0319 | 0.0145 | 2.1970 | 0.0282 | * |
local_tradition | 0.0202 | 0.0127 | 1.5857 | 0.1130 | |
local_helpfarmer | -0.0169 | 0.0134 | -1.2585 | 0.2084 | |
local_friends | 0.0117 | 0.0108 | 1.0787 | 0.2809 | |
obst_loc_familar | -0.0050 | 0.0116 | -0.4292 | 0.6679 | |
obst_loc_change | 0.0248 | 0.0116 | 2.1341 | 0.0330 | * |
obst_loc_comparab | -0.0101 | 0.0126 | -0.8070 | 0.4198 | |
obst_loc_healthy | 0.0298 | 0.0114 | 2.6251 | 0.0088 | ** |
obst_loc_friend | -0.0011 | 0.0111 | -0.0956 | 0.9238 | |
obst_loc_trust | -0.0063 | 0.0099 | -0.6353 | 0.5253 | |
healty_diet | 0.0635 | 0.0138 | 4.6067 | 4.5e-06 | *** |
nutri_food_interest | 0.0036 | 0.0152 | 0.2392 | 0.8110 | |
nutri_healthy | -0.0279 | 0.0147 | -1.8954 | 0.0583 | . |
nutri_sstatus | -0.0038 | 0.0103 | -0.3697 | 0.7117 | |
nustri_afford | 0.0068 | 0.0136 | 0.5022 | 0.6156 | |
nutri_lifestyle | 0.0282 | 0.0120 | 2.3553 | 0.0186 | * |
nutri_trust | -0.0082 | 0.0128 | -0.6401 | 0.5222 | |
nustri_doctor | 0.0261 | 0.0125 | 2.0925 | 0.0366 | * |
obst_nutri_safe | 0.0040 | 0.0099 | 0.4060 | 0.6848 | |
obst_nutri_fam | -0.0124 | 0.0119 | -1.0452 | 0.2961 | |
obst_nutri_fpractice | -0.0196 | 0.0117 | -1.6817 | 0.0929 | . |
obst_nutri_price | 0.0021 | 0.0122 | 0.1756 | 0.8606 | |
obst_nutri_time | 0.0026 | 0.0105 | 0.2457 | 0.8060 | |
obst_nutri_friend | 0.0001 | 0.0114 | 0.0076 | 0.9940 | |
risk | -0.0020 | 0.0061 | -0.3297 | 0.7417 | |
r.squared | 0.2471 | ||||
adj.r.squared | 0.2121 | ||||
fstatistic | 7.0759 | 62.0000 | 1,337.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 10.2247 | 4 | 11.9488 | 1.5e-09 | *** |
age | 0.5208 | 1 | 2.4345 | 0.1189 | |
gender | 0.0700 | 1 | 0.3271 | 0.5674 | |
educ3 | 1.0406 | 2 | 2.4321 | 0.0882 | . |
HH_size | 0.0944 | 1 | 0.4411 | 0.5067 | |
income_avg | 1.2503 | 4 | 1.4612 | 0.2117 | |
hh_salary | 0.3435 | 1 | 1.6056 | 0.2053 | |
income_food | 2.9562 | 4 | 3.4547 | 0.0081 | ** |
hh_head_employ | 0.7175 | 7 | 0.4791 | 0.8502 | |
imp_availability | 1.0814 | 1 | 5.0550 | 0.0247 | * |
imp_nutrition | 0.0925 | 1 | 0.4325 | 0.5109 | |
imp_provider | 0.1106 | 1 | 0.5168 | 0.4723 | |
imp_price | 2.1255 | 1 | 9.9355 | 0.0017 | ** |
imp_envfriend | 0.2351 | 1 | 1.0988 | 0.2947 | |
imp_divers | 3.4703 | 1 | 16.2218 | 6.0e-05 | *** |
imp_tradition | 1.1438 | 1 | 5.3467 | 0.0209 | * |
imp_local | 0.7114 | 1 | 3.3253 | 0.0684 | . |
imp_product | 0.4643 | 1 | 2.1702 | 0.1409 | |
local_food_interest | 0.3020 | 1 | 1.4118 | 0.2350 | |
local_envfriend | 0.1198 | 1 | 0.5598 | 0.4545 | |
local_afford | 0.1862 | 1 | 0.8702 | 0.3511 | |
local_find | 1.0326 | 1 | 4.8268 | 0.0282 | * |
local_tradition | 0.5379 | 1 | 2.5144 | 0.1130 | |
local_helpfarmer | 0.3388 | 1 | 1.5839 | 0.2084 | |
local_friends | 0.2489 | 1 | 1.1635 | 0.2809 | |
obst_loc_familar | 0.0394 | 1 | 0.1842 | 0.6679 | |
obst_loc_change | 0.9743 | 1 | 4.5546 | 0.0330 | * |
obst_loc_comparab | 0.1393 | 1 | 0.6513 | 0.4198 | |
obst_loc_healthy | 1.4742 | 1 | 6.8913 | 0.0088 | ** |
obst_loc_friend | 0.0020 | 1 | 0.0091 | 0.9238 | |
obst_loc_trust | 0.0864 | 1 | 0.4037 | 0.5253 | |
healty_diet | 4.5398 | 1 | 21.2214 | 4.5e-06 | *** |
nutri_food_interest | 0.0122 | 1 | 0.0572 | 0.8110 | |
nutri_healthy | 0.7685 | 1 | 3.5924 | 0.0583 | . |
nutri_sstatus | 0.0292 | 1 | 0.1367 | 0.7117 | |
nustri_afford | 0.0540 | 1 | 0.2522 | 0.6156 | |
nutri_lifestyle | 1.1868 | 1 | 5.5476 | 0.0186 | * |
nutri_trust | 0.0877 | 1 | 0.4097 | 0.5222 | |
nustri_doctor | 0.9367 | 1 | 4.3786 | 0.0366 | * |
obst_nutri_safe | 0.0353 | 1 | 0.1649 | 0.6848 | |
obst_nutri_fam | 0.2337 | 1 | 1.0925 | 0.2961 | |
obst_nutri_fpractice | 0.6050 | 1 | 2.8282 | 0.0929 | . |
obst_nutri_price | 0.0066 | 1 | 0.0308 | 0.8606 | |
obst_nutri_time | 0.0129 | 1 | 0.0604 | 0.8060 | |
obst_nutri_friend | 0.0000 | 1 | 0.0001 | 0.9940 | |
risk | 0.0233 | 1 | 0.1087 | 0.7417 | |
Residuals | 286.0201 | 1,337 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -2.0506 | 0.1270 | -16.1438 | 9.8e-55 | *** |
cityMO.Meknes | 0.3893 | 0.0509 | 7.6459 | 3.4e-14 | *** |
cityTN.Sousse | 0.2659 | 0.0540 | 4.9286 | 9.1e-07 | *** |
cityTZ.Morogoro | 0.4545 | 0.0580 | 7.8365 | 8.0e-15 | *** |
cityUG.Kalerwe | 0.2668 | 0.0512 | 5.2070 | 2.1e-07 | *** |
age | 0.0016 | 0.0009 | 1.7257 | 0.0846 | . |
genderFemale | 0.0428 | 0.0232 | 1.8423 | 0.0656 | . |
educ3Primary | 0.0471 | 0.0500 | 0.9421 | 0.3463 | |
educ3Secondary or more | 0.1299 | 0.0494 | 2.6316 | 0.0086 | ** |
HH_size | -0.0005 | 0.0048 | -0.1117 | 0.9111 | |
income_avgsomewhat lower than average | 0.0013 | 0.0302 | 0.0441 | 0.9648 | |
income_avgabout average | 0.0395 | 0.0395 | 1.0005 | 0.3172 | |
income_avgsomewhat higher than average | 0.1168 | 0.0465 | 2.5145 | 0.0120 | * |
income_avghigher than average | 0.0022 | 0.0521 | 0.0425 | 0.9661 | |
hh_salary | 0.0270 | 0.0123 | 2.1916 | 0.0285 | * |
income_foodLess than half (from 25% to 50%) | 0.0846 | 0.0427 | 1.9796 | 0.0479 | * |
income_foodAbout half (50%) | 0.0969 | 0.0401 | 2.4165 | 0.0158 | * |
income_foodMore than half (from 50% to 75%) | 0.0497 | 0.0432 | 1.1506 | 0.2500 | |
income_foodAlmost all (from 75% to 100%). | 0.0571 | 0.0558 | 1.0227 | 0.3066 | |
hh_head_employRegular worker | 0.0617 | 0.0531 | 1.1621 | 0.2453 | |
hh_head_employCasual worker (paid by the day) | 0.0375 | 0.0507 | 0.7389 | 0.4600 | |
hh_head_employClerk (formal employment) | 0.0726 | 0.0535 | 1.3572 | 0.1749 | |
hh_head_employManager | -0.0430 | 0.1374 | -0.3132 | 0.7541 | |
hh_head_employBusinessman / self-employed | 0.0602 | 0.0532 | 1.1314 | 0.2580 | |
hh_head_employSole trader | 0.0261 | 0.0583 | 0.4483 | 0.6540 | |
hh_head_employOther | 0.1040 | 0.0610 | 1.7036 | 0.0886 | . |
imp_availability | 0.0152 | 0.0106 | 1.4415 | 0.1496 | |
imp_nutrition | -0.0075 | 0.0128 | -0.5882 | 0.5565 | |
imp_provider | 0.0162 | 0.0103 | 1.5675 | 0.1172 | |
imp_price | 0.0460 | 0.0116 | 3.9457 | 8.3e-05 | *** |
imp_envfriend | 0.0164 | 0.0116 | 1.4143 | 0.1574 | |
imp_divers | 0.0508 | 0.0124 | 4.0921 | 4.5e-05 | *** |
imp_tradition | -0.0065 | 0.0100 | -0.6465 | 0.5180 | |
imp_local | 0.0305 | 0.0098 | 3.1266 | 0.0018 | ** |
imp_product | 0.0239 | 0.0113 | 2.1158 | 0.0345 | * |
local_food_interest | 0.0164 | 0.0133 | 1.2377 | 0.2160 | |
local_envfriend | 0.0077 | 0.0118 | 0.6560 | 0.5119 | |
local_afford | -0.0133 | 0.0127 | -1.0489 | 0.2944 | |
local_find | 0.0386 | 0.0122 | 3.1682 | 0.0016 | ** |
local_tradition | -0.0047 | 0.0105 | -0.4484 | 0.6539 | |
local_helpfarmer | -0.0067 | 0.0113 | -0.5919 | 0.5540 | |
local_friends | 0.0104 | 0.0093 | 1.1148 | 0.2651 | |
obst_loc_familar | -0.0079 | 0.0097 | -0.8154 | 0.4150 | |
obst_loc_change | 0.0078 | 0.0097 | 0.8014 | 0.4230 | |
obst_loc_comparab | 0.0028 | 0.0105 | 0.2703 | 0.7870 | |
obst_loc_healthy | 0.0214 | 0.0097 | 2.2021 | 0.0278 | * |
obst_loc_friend | 0.0005 | 0.0094 | 0.0546 | 0.9564 | |
obst_loc_trust | -0.0044 | 0.0086 | -0.5113 | 0.6092 | |
healty_diet | 0.0550 | 0.0116 | 4.7562 | 2.1e-06 | *** |
nutri_food_interest | 0.0206 | 0.0129 | 1.5904 | 0.1119 | |
nutri_healthy | -0.0266 | 0.0126 | -2.1044 | 0.0355 | * |
nutri_sstatus | 0.0051 | 0.0089 | 0.5741 | 0.5660 | |
nustri_afford | 0.0026 | 0.0115 | 0.2260 | 0.8212 | |
nutri_lifestyle | 0.0212 | 0.0100 | 2.1200 | 0.0341 | * |
nutri_trust | 0.0053 | 0.0106 | 0.5005 | 0.6168 | |
nustri_doctor | 0.0232 | 0.0108 | 2.1451 | 0.0321 | * |
obst_nutri_safe | 0.0089 | 0.0086 | 1.0407 | 0.2982 | |
obst_nutri_fam | -0.0053 | 0.0101 | -0.5216 | 0.6020 | |
obst_nutri_fpractice | 0.0004 | 0.0099 | 0.0432 | 0.9656 | |
obst_nutri_price | -0.0057 | 0.0102 | -0.5548 | 0.5791 | |
obst_nutri_time | 0.0012 | 0.0092 | 0.1288 | 0.8976 | |
obst_nutri_friend | 0.0070 | 0.0097 | 0.7149 | 0.4748 | |
time | 0.0085 | 0.0031 | 2.7751 | 0.0056 | ** |
r.squared | 0.2577 | ||||
adj.r.squared | 0.2312 | ||||
fstatistic | 9.7284 | 62.0000 | 1,737.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 16.4048 | 4 | 19.6941 | 7.2e-16 | *** |
age | 0.6202 | 1 | 2.9781 | 0.0846 | . |
gender | 0.7068 | 1 | 3.3942 | 0.0656 | . |
educ3 | 2.4609 | 2 | 5.9086 | 0.0028 | ** |
HH_size | 0.0026 | 1 | 0.0125 | 0.9111 | |
income_avg | 2.0420 | 4 | 2.4514 | 0.0442 | * |
hh_salary | 1.0002 | 1 | 4.8032 | 0.0285 | * |
income_food | 1.5276 | 4 | 1.8338 | 0.1197 | |
hh_head_employ | 1.0016 | 7 | 0.6871 | 0.6831 | |
imp_availability | 0.4327 | 1 | 2.0779 | 0.1496 | |
imp_nutrition | 0.0721 | 1 | 0.3460 | 0.5565 | |
imp_provider | 0.5117 | 1 | 2.4572 | 0.1172 | |
imp_price | 3.2421 | 1 | 15.5685 | 8.3e-05 | *** |
imp_envfriend | 0.4166 | 1 | 2.0004 | 0.1574 | |
imp_divers | 3.4871 | 1 | 16.7451 | 4.5e-05 | *** |
imp_tradition | 0.0870 | 1 | 0.4180 | 0.5180 | |
imp_local | 2.0357 | 1 | 9.7756 | 0.0018 | ** |
imp_product | 0.9322 | 1 | 4.4766 | 0.0345 | * |
local_food_interest | 0.3190 | 1 | 1.5320 | 0.2160 | |
local_envfriend | 0.0896 | 1 | 0.4304 | 0.5119 | |
local_afford | 0.2291 | 1 | 1.1002 | 0.2944 | |
local_find | 2.0902 | 1 | 10.0374 | 0.0016 | ** |
local_tradition | 0.0419 | 1 | 0.2011 | 0.6539 | |
local_helpfarmer | 0.0730 | 1 | 0.3504 | 0.5540 | |
local_friends | 0.2588 | 1 | 1.2427 | 0.2651 | |
obst_loc_familar | 0.1385 | 1 | 0.6649 | 0.4150 | |
obst_loc_change | 0.1337 | 1 | 0.6422 | 0.4230 | |
obst_loc_comparab | 0.0152 | 1 | 0.0730 | 0.7870 | |
obst_loc_healthy | 1.0098 | 1 | 4.8493 | 0.0278 | * |
obst_loc_friend | 0.0006 | 1 | 0.0030 | 0.9564 | |
obst_loc_trust | 0.0544 | 1 | 0.2614 | 0.6092 | |
healty_diet | 4.7107 | 1 | 22.6212 | 2.1e-06 | *** |
nutri_food_interest | 0.5267 | 1 | 2.5295 | 0.1119 | |
nutri_healthy | 0.9223 | 1 | 4.4287 | 0.0355 | * |
nutri_sstatus | 0.0686 | 1 | 0.3296 | 0.5660 | |
nustri_afford | 0.0106 | 1 | 0.0511 | 0.8212 | |
nutri_lifestyle | 0.9359 | 1 | 4.4944 | 0.0341 | * |
nutri_trust | 0.0522 | 1 | 0.2505 | 0.6168 | |
nustri_doctor | 0.9582 | 1 | 4.6014 | 0.0321 | * |
obst_nutri_safe | 0.2255 | 1 | 1.0830 | 0.2982 | |
obst_nutri_fam | 0.0566 | 1 | 0.2720 | 0.6020 | |
obst_nutri_fpractice | 0.0004 | 1 | 0.0019 | 0.9656 | |
obst_nutri_price | 0.0641 | 1 | 0.3078 | 0.5791 | |
obst_nutri_time | 0.0035 | 1 | 0.0166 | 0.8976 | |
obst_nutri_friend | 0.1064 | 1 | 0.5111 | 0.4748 | |
time | 1.6038 | 1 | 7.7013 | 0.0056 | ** |
Residuals | 361.7215 | 1,737 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -2.0490 | 0.1804 | -11.3565 | 5.5e-28 | *** |
cityMO.Meknes | 0.3273 | 0.0659 | 4.9685 | 8.1e-07 | *** |
cityTN.Sousse | 0.2701 | 0.0703 | 3.8414 | 1.3e-04 | *** |
cityUG.Kalerwe | 0.2363 | 0.0642 | 3.6771 | 2.5e-04 | *** |
age | 0.0012 | 0.0013 | 0.9163 | 0.3598 | |
genderFemale | 0.0277 | 0.0326 | 0.8505 | 0.3953 | |
educ3Primary | 0.0955 | 0.0654 | 1.4599 | 0.1447 | |
educ3Secondary or more | 0.1625 | 0.0631 | 2.5775 | 0.0101 | * |
HH_size | -0.0012 | 0.0060 | -0.2025 | 0.8396 | |
income_avgsomewhat lower than average | 0.0383 | 0.0447 | 0.8581 | 0.3911 | |
income_avgabout average | 0.0143 | 0.0556 | 0.2574 | 0.7969 | |
income_avgsomewhat higher than average | 0.1102 | 0.0633 | 1.7429 | 0.0817 | . |
income_avghigher than average | 0.0165 | 0.0689 | 0.2394 | 0.8108 | |
hh_salary | 0.0219 | 0.0150 | 1.4641 | 0.1435 | |
income_foodLess than half (from 25% to 50%) | 0.1215 | 0.0575 | 2.1129 | 0.0349 | * |
income_foodAbout half (50%) | 0.1197 | 0.0553 | 2.1630 | 0.0308 | * |
income_foodMore than half (from 50% to 75%) | 0.0711 | 0.0605 | 1.1758 | 0.2400 | |
income_foodAlmost all (from 75% to 100%). | 0.1164 | 0.0739 | 1.5744 | 0.1158 | |
hh_head_employRegular worker | 0.0610 | 0.0707 | 0.8621 | 0.3889 | |
hh_head_employCasual worker (paid by the day) | -0.0079 | 0.0685 | -0.1149 | 0.9085 | |
hh_head_employClerk (formal employment) | 0.1007 | 0.0715 | 1.4082 | 0.1594 | |
hh_head_employManager | -0.0725 | 0.1760 | -0.4116 | 0.6808 | |
hh_head_employBusinessman / self-employed | -0.0160 | 0.0731 | -0.2193 | 0.8265 | |
hh_head_employSole trader | 0.0062 | 0.0950 | 0.0656 | 0.9477 | |
hh_head_employOther | 0.0123 | 0.0817 | 0.1501 | 0.8807 | |
imp_availability | 0.0064 | 0.0136 | 0.4732 | 0.6362 | |
imp_nutrition | -0.0005 | 0.0176 | -0.0283 | 0.9774 | |
imp_provider | 0.0129 | 0.0141 | 0.9140 | 0.3610 | |
imp_price | 0.0378 | 0.0155 | 2.4303 | 0.0153 | * |
imp_envfriend | 0.0394 | 0.0152 | 2.5883 | 0.0098 | ** |
imp_divers | 0.0337 | 0.0164 | 2.0530 | 0.0404 | * |
imp_tradition | 0.0039 | 0.0132 | 0.2927 | 0.7698 | |
imp_local | 0.0312 | 0.0127 | 2.4632 | 0.0140 | * |
imp_product | 0.0171 | 0.0146 | 1.1736 | 0.2409 | |
local_food_interest | 0.0096 | 0.0175 | 0.5481 | 0.5837 | |
local_envfriend | 0.0138 | 0.0154 | 0.8941 | 0.3715 | |
local_afford | -0.0323 | 0.0168 | -1.9236 | 0.0547 | . |
local_find | 0.0409 | 0.0158 | 2.5873 | 0.0098 | ** |
local_tradition | -0.0034 | 0.0142 | -0.2383 | 0.8117 | |
local_helpfarmer | -0.0131 | 0.0146 | -0.8993 | 0.3687 | |
local_friends | -0.0054 | 0.0131 | -0.4093 | 0.6824 | |
obst_loc_familar | -0.0285 | 0.0129 | -2.2005 | 0.0280 | * |
obst_loc_change | 0.0112 | 0.0130 | 0.8619 | 0.3890 | |
obst_loc_comparab | 0.0092 | 0.0150 | 0.6089 | 0.5427 | |
obst_loc_healthy | 0.0239 | 0.0131 | 1.8179 | 0.0694 | . |
obst_loc_friend | 0.0087 | 0.0127 | 0.6809 | 0.4961 | |
obst_loc_trust | -0.0008 | 0.0120 | -0.0632 | 0.9496 | |
healty_diet | 0.0387 | 0.0165 | 2.3440 | 0.0193 | * |
nutri_food_interest | 0.0213 | 0.0175 | 1.2175 | 0.2237 | |
nutri_healthy | -0.0023 | 0.0181 | -0.1255 | 0.9001 | |
nutri_sstatus | -0.0210 | 0.0125 | -1.6787 | 0.0936 | . |
nustri_afford | 0.0490 | 0.0167 | 2.9376 | 0.0034 | ** |
nutri_lifestyle | 0.0080 | 0.0144 | 0.5547 | 0.5792 | |
nutri_trust | 0.0084 | 0.0147 | 0.5717 | 0.5677 | |
nustri_doctor | 0.0257 | 0.0150 | 1.7093 | 0.0877 | . |
obst_nutri_safe | 0.0152 | 0.0120 | 1.2682 | 0.2051 | |
obst_nutri_fam | -0.0011 | 0.0136 | -0.0841 | 0.9330 | |
obst_nutri_fpractice | 0.0123 | 0.0130 | 0.9417 | 0.3466 | |
obst_nutri_price | -0.0178 | 0.0143 | -1.2464 | 0.2130 | |
obst_nutri_time | 0.0072 | 0.0127 | 0.5685 | 0.5698 | |
obst_nutri_friend | 0.0212 | 0.0131 | 1.6205 | 0.1055 | |
PGG1 | 0.0005 | 0.0005 | 1.0335 | 0.3017 | |
PGG2 | -0.0002 | 0.0005 | -0.4941 | 0.6214 | |
r.squared | 0.2703 | ||||
adj.r.squared | 0.2190 | ||||
fstatistic | 5.2641 | 62.0000 | 881.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 4.9290 | 3 | 8.3554 | 1.8e-05 | *** |
age | 0.1651 | 1 | 0.8396 | 0.3598 | |
gender | 0.1422 | 1 | 0.7233 | 0.3953 | |
educ3 | 1.4947 | 2 | 3.8006 | 0.0227 | * |
HH_size | 0.0081 | 1 | 0.0410 | 0.8396 | |
income_avg | 0.9199 | 4 | 1.1695 | 0.3228 | |
hh_salary | 0.4215 | 1 | 2.1436 | 0.1435 | |
income_food | 1.2160 | 4 | 1.5459 | 0.1869 | |
hh_head_employ | 1.5463 | 7 | 1.1234 | 0.3459 | |
imp_availability | 0.0440 | 1 | 0.2239 | 0.6362 | |
imp_nutrition | 0.0002 | 1 | 0.0008 | 0.9774 | |
imp_provider | 0.1643 | 1 | 0.8354 | 0.3610 | |
imp_price | 1.1614 | 1 | 5.9062 | 0.0153 | * |
imp_envfriend | 1.3173 | 1 | 6.6993 | 0.0098 | ** |
imp_divers | 0.8288 | 1 | 4.2148 | 0.0404 | * |
imp_tradition | 0.0168 | 1 | 0.0857 | 0.7698 | |
imp_local | 1.1931 | 1 | 6.0673 | 0.0140 | * |
imp_product | 0.2709 | 1 | 1.3774 | 0.2409 | |
local_food_interest | 0.0591 | 1 | 0.3005 | 0.5837 | |
local_envfriend | 0.1572 | 1 | 0.7994 | 0.3715 | |
local_afford | 0.7276 | 1 | 3.7003 | 0.0547 | . |
local_find | 1.3163 | 1 | 6.6939 | 0.0098 | ** |
local_tradition | 0.0112 | 1 | 0.0568 | 0.8117 | |
local_helpfarmer | 0.1590 | 1 | 0.8088 | 0.3687 | |
local_friends | 0.0329 | 1 | 0.1675 | 0.6824 | |
obst_loc_familar | 0.9522 | 1 | 4.8424 | 0.0280 | * |
obst_loc_change | 0.1461 | 1 | 0.7429 | 0.3890 | |
obst_loc_comparab | 0.0729 | 1 | 0.3708 | 0.5427 | |
obst_loc_healthy | 0.6499 | 1 | 3.3048 | 0.0694 | . |
obst_loc_friend | 0.0912 | 1 | 0.4637 | 0.4961 | |
obst_loc_trust | 0.0008 | 1 | 0.0040 | 0.9496 | |
healty_diet | 1.0804 | 1 | 5.4942 | 0.0193 | * |
nutri_food_interest | 0.2915 | 1 | 1.4824 | 0.2237 | |
nutri_healthy | 0.0031 | 1 | 0.0158 | 0.9001 | |
nutri_sstatus | 0.5542 | 1 | 2.8181 | 0.0936 | . |
nustri_afford | 1.6969 | 1 | 8.6297 | 0.0034 | ** |
nutri_lifestyle | 0.0605 | 1 | 0.3077 | 0.5792 | |
nutri_trust | 0.0643 | 1 | 0.3268 | 0.5677 | |
nustri_doctor | 0.5745 | 1 | 2.9217 | 0.0877 | . |
obst_nutri_safe | 0.3163 | 1 | 1.6084 | 0.2051 | |
obst_nutri_fam | 0.0014 | 1 | 0.0071 | 0.9330 | |
obst_nutri_fpractice | 0.1744 | 1 | 0.8868 | 0.3466 | |
obst_nutri_price | 0.3055 | 1 | 1.5535 | 0.2130 | |
obst_nutri_time | 0.0636 | 1 | 0.3232 | 0.5698 | |
obst_nutri_friend | 0.5164 | 1 | 2.6259 | 0.1055 | |
PGG1 | 0.2100 | 1 | 1.0681 | 0.3017 | |
PGG2 | 0.0480 | 1 | 0.2441 | 0.6214 | |
Residuals | 173.2401 | 881 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | -1.7361 | 0.1480 | -11.7326 | 3.2e-30 | *** |
cityMO.Meknes | 0.4044 | 0.0659 | 6.1370 | 1.1e-09 | *** |
cityTN.Sousse | 0.2682 | 0.0697 | 3.8461 | 1.3e-04 | *** |
cityTZ.Morogoro | 0.4317 | 0.0655 | 6.5874 | 6.6e-11 | *** |
cityUG.Kalerwe | 0.2847 | 0.0625 | 4.5584 | 5.7e-06 | *** |
age | 0.0008 | 0.0011 | 0.7372 | 0.4611 | |
genderFemale | 0.0801 | 0.0263 | 3.0445 | 0.0024 | ** |
educ3Primary | -0.0428 | 0.0644 | -0.6638 | 0.5070 | |
educ3Secondary or more | 0.0196 | 0.0637 | 0.3080 | 0.7581 | |
HH_size | -0.0057 | 0.0055 | -1.0494 | 0.2942 | |
income_avgsomewhat lower than average | 0.0233 | 0.0327 | 0.7124 | 0.4763 | |
income_avgabout average | 0.1276 | 0.0454 | 2.8116 | 0.0050 | ** |
income_avgsomewhat higher than average | 0.1592 | 0.0549 | 2.9003 | 0.0038 | ** |
income_avghigher than average | 0.0657 | 0.0630 | 1.0424 | 0.2974 | |
hh_salary | 0.0156 | 0.0154 | 1.0129 | 0.3113 | |
income_foodLess than half (from 25% to 50%) | 0.0396 | 0.0498 | 0.7942 | 0.4272 | |
income_foodAbout half (50%) | 0.0796 | 0.0460 | 1.7322 | 0.0835 | . |
income_foodMore than half (from 50% to 75%) | 0.0306 | 0.0489 | 0.6266 | 0.5310 | |
income_foodAlmost all (from 75% to 100%). | -0.0301 | 0.0637 | -0.4730 | 0.6363 | |
hh_head_employRegular worker | 0.0529 | 0.0629 | 0.8405 | 0.4008 | |
hh_head_employCasual worker (paid by the day) | 0.0845 | 0.0588 | 1.4364 | 0.1511 | |
hh_head_employClerk (formal employment) | 0.0450 | 0.0642 | 0.7008 | 0.4836 | |
hh_head_employManager | -0.0684 | 0.1936 | -0.3534 | 0.7239 | |
hh_head_employBusinessman / self-employed | 0.1043 | 0.0594 | 1.7555 | 0.0794 | . |
hh_head_employSole trader | 0.0833 | 0.0630 | 1.3209 | 0.1868 | |
hh_head_employOther | 0.1895 | 0.0767 | 2.4709 | 0.0136 | * |
imp_availability | 0.0252 | 0.0122 | 2.0568 | 0.0399 | * |
imp_nutrition | 0.0141 | 0.0138 | 1.0218 | 0.3071 | |
imp_provider | 0.0148 | 0.0118 | 1.2590 | 0.2083 | |
imp_price | 0.0318 | 0.0135 | 2.3513 | 0.0189 | * |
imp_envfriend | -0.0052 | 0.0133 | -0.3903 | 0.6964 | |
imp_divers | 0.0420 | 0.0141 | 2.9746 | 0.0030 | ** |
imp_tradition | -0.0103 | 0.0113 | -0.9134 | 0.3612 | |
imp_local | 0.0262 | 0.0111 | 2.3630 | 0.0183 | * |
imp_product | 0.0310 | 0.0132 | 2.3451 | 0.0192 | * |
local_food_interest | 0.0194 | 0.0160 | 1.2167 | 0.2240 | |
local_envfriend | 0.0083 | 0.0142 | 0.5835 | 0.5597 | |
local_afford | 0.0077 | 0.0150 | 0.5113 | 0.6092 | |
local_find | 0.0136 | 0.0146 | 0.9279 | 0.3536 | |
local_tradition | -0.0087 | 0.0116 | -0.7568 | 0.4493 | |
local_helpfarmer | 0.0056 | 0.0131 | 0.4255 | 0.6705 | |
local_friends | 0.0251 | 0.0107 | 2.3470 | 0.0191 | * |
obst_loc_familar | 0.0119 | 0.0112 | 1.0619 | 0.2885 | |
obst_loc_change | 0.0099 | 0.0108 | 0.9165 | 0.3596 | |
obst_loc_comparab | -0.0078 | 0.0114 | -0.6892 | 0.4908 | |
obst_loc_healthy | 0.0085 | 0.0110 | 0.7709 | 0.4409 | |
obst_loc_friend | 0.0054 | 0.0106 | 0.5102 | 0.6100 | |
obst_loc_trust | -0.0152 | 0.0096 | -1.5789 | 0.1146 | |
healty_diet | 0.0639 | 0.0127 | 5.0170 | 6.0e-07 | *** |
nutri_food_interest | 0.0127 | 0.0158 | 0.7995 | 0.4242 | |
nutri_healthy | -0.0213 | 0.0148 | -1.4384 | 0.1506 | |
nutri_sstatus | 0.0201 | 0.0101 | 1.9910 | 0.0467 | * |
nustri_afford | -0.0128 | 0.0134 | -0.9538 | 0.3404 | |
nutri_lifestyle | 0.0119 | 0.0112 | 1.0632 | 0.2879 | |
nutri_trust | -0.0003 | 0.0119 | -0.0278 | 0.9778 | |
nustri_doctor | 0.0163 | 0.0123 | 1.3288 | 0.1842 | |
obst_nutri_safe | 0.0025 | 0.0094 | 0.2694 | 0.7876 | |
obst_nutri_fam | -0.0038 | 0.0116 | -0.3245 | 0.7456 | |
obst_nutri_fpractice | 0.0016 | 0.0112 | 0.1397 | 0.8890 | |
obst_nutri_price | 0.0006 | 0.0112 | 0.0522 | 0.9584 | |
obst_nutri_time | -0.0092 | 0.0103 | -0.8869 | 0.3753 | |
obst_nutri_friend | -0.0166 | 0.0110 | -1.5023 | 0.1333 | |
Trust.1 | -0.0001 | 0.0010 | -0.1089 | 0.9133 | |
Trust.2 | -0.0003 | 0.0007 | -0.4551 | 0.6491 | |
Trust.3 | -0.0001 | 0.0005 | -0.2249 | 0.8221 | |
Trust.4 | 0.0003 | 0.0004 | 0.8316 | 0.4058 | |
r.squared | 0.2783 | ||||
adj.r.squared | 0.2405 | ||||
fstatistic | 7.3637 | 65.0000 | 1,241.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 10.0990 | 4 | 12.9296 | 2.6e-10 | *** |
age | 0.1061 | 1 | 0.5435 | 0.4611 | |
gender | 1.8099 | 1 | 9.2689 | 0.0024 | ** |
educ3 | 0.7863 | 2 | 2.0134 | 0.1340 | |
HH_size | 0.2150 | 1 | 1.1012 | 0.2942 | |
income_avg | 2.6841 | 4 | 3.4364 | 0.0084 | ** |
hh_salary | 0.2003 | 1 | 1.0260 | 0.3113 | |
income_food | 1.3435 | 4 | 1.7201 | 0.1431 | |
hh_head_employ | 1.8285 | 7 | 1.3377 | 0.2286 | |
imp_availability | 0.8260 | 1 | 4.2302 | 0.0399 | * |
imp_nutrition | 0.2039 | 1 | 1.0440 | 0.3071 | |
imp_provider | 0.3095 | 1 | 1.5850 | 0.2083 | |
imp_price | 1.0796 | 1 | 5.5286 | 0.0189 | * |
imp_envfriend | 0.0297 | 1 | 0.1523 | 0.6964 | |
imp_divers | 1.7277 | 1 | 8.8480 | 0.0030 | ** |
imp_tradition | 0.1629 | 1 | 0.8343 | 0.3612 | |
imp_local | 1.0903 | 1 | 5.5838 | 0.0183 | * |
imp_product | 1.0739 | 1 | 5.4997 | 0.0192 | * |
local_food_interest | 0.2891 | 1 | 1.4803 | 0.2240 | |
local_envfriend | 0.0665 | 1 | 0.3404 | 0.5597 | |
local_afford | 0.0511 | 1 | 0.2614 | 0.6092 | |
local_find | 0.1681 | 1 | 0.8610 | 0.3536 | |
local_tradition | 0.1118 | 1 | 0.5727 | 0.4493 | |
local_helpfarmer | 0.0354 | 1 | 0.1810 | 0.6705 | |
local_friends | 1.0757 | 1 | 5.5086 | 0.0191 | * |
obst_loc_familar | 0.2202 | 1 | 1.1277 | 0.2885 | |
obst_loc_change | 0.1640 | 1 | 0.8399 | 0.3596 | |
obst_loc_comparab | 0.0928 | 1 | 0.4751 | 0.4908 | |
obst_loc_healthy | 0.1161 | 1 | 0.5944 | 0.4409 | |
obst_loc_friend | 0.0508 | 1 | 0.2603 | 0.6100 | |
obst_loc_trust | 0.4868 | 1 | 2.4931 | 0.1146 | |
healty_diet | 4.9150 | 1 | 25.1705 | 6.0e-07 | *** |
nutri_food_interest | 0.1248 | 1 | 0.6391 | 0.4242 | |
nutri_healthy | 0.4040 | 1 | 2.0689 | 0.1506 | |
nutri_sstatus | 0.7741 | 1 | 3.9642 | 0.0467 | * |
nustri_afford | 0.1776 | 1 | 0.9098 | 0.3404 | |
nutri_lifestyle | 0.2207 | 1 | 1.1303 | 0.2879 | |
nutri_trust | 0.0002 | 1 | 0.0008 | 0.9778 | |
nustri_doctor | 0.3448 | 1 | 1.7657 | 0.1842 | |
obst_nutri_safe | 0.0142 | 1 | 0.0726 | 0.7876 | |
obst_nutri_fam | 0.0206 | 1 | 0.1053 | 0.7456 | |
obst_nutri_fpractice | 0.0038 | 1 | 0.0195 | 0.8890 | |
obst_nutri_price | 0.0005 | 1 | 0.0027 | 0.9584 | |
obst_nutri_time | 0.1536 | 1 | 0.7866 | 0.3753 | |
obst_nutri_friend | 0.4407 | 1 | 2.2569 | 0.1333 | |
Trust.1 | 0.0023 | 1 | 0.0119 | 0.9133 | |
Trust.2 | 0.0405 | 1 | 0.2072 | 0.6491 | |
Trust.3 | 0.0099 | 1 | 0.0506 | 0.8221 | |
Trust.4 | 0.1351 | 1 | 0.6916 | 0.4058 | |
Residuals | 242.3292 | 1,241 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 1.3873 | 0.1580 | 8.7796 | 2.2e-18 | *** |
cityKE.Kitui | -1.0510 | 0.0770 | -13.6465 | 1.1e-41 | *** |
cityKE.Nyeri | -0.6421 | 0.0808 | -7.9504 | 2.3e-15 | *** |
cityMO.Beni Mellal | -0.0075 | 0.0755 | -0.0989 | 0.9212 | |
cityMO.Meknes | 0.0951 | 0.0734 | 1.2961 | 0.1950 | |
cityTN.Sousse | -0.0984 | 0.0788 | -1.2487 | 0.2118 | |
cityTN.Tunis | 0.0147 | 0.0863 | 0.1703 | 0.8648 | |
cityTZ.Daressalaam | 0.6023 | 0.0776 | 7.7602 | 1.0e-14 | *** |
cityTZ.Morogoro | 0.4902 | 0.0808 | 6.0657 | 1.4e-09 | *** |
cityUG.Kalerwe | -0.1524 | 0.0728 | -2.0928 | 0.0364 | * |
cityUG.Kampala | -0.1103 | 0.0742 | -1.4864 | 0.1372 | |
cityUG.Kapeeka | 0.3932 | 0.0740 | 5.3117 | 1.1e-07 | *** |
age | 0.0003 | 0.0011 | 0.3058 | 0.7598 | |
genderFemale | 0.0086 | 0.0275 | 0.3142 | 0.7534 | |
educ3Primary | 0.1099 | 0.0520 | 2.1145 | 0.0345 | * |
educ3Secondary or more | 0.2514 | 0.0519 | 4.8477 | 1.3e-06 | *** |
HH_size | -0.0078 | 0.0057 | -1.3784 | 0.1681 | |
income_avgsomewhat lower than average | 0.2448 | 0.0383 | 6.3875 | 1.8e-10 | *** |
income_avgabout average | 0.3825 | 0.0477 | 8.0235 | 1.3e-15 | *** |
income_avgsomewhat higher than average | 0.6173 | 0.0529 | 11.6790 | 3.9e-31 | *** |
income_avghigher than average | 0.8019 | 0.0598 | 13.4158 | 2.2e-40 | *** |
hh_salary | 0.0645 | 0.0158 | 4.0805 | 4.6e-05 | *** |
income_foodLess than half (from 25% to 50%) | 0.1702 | 0.0499 | 3.4144 | 6.4e-04 | *** |
income_foodAbout half (50%) | 0.0726 | 0.0472 | 1.5379 | 0.1241 | |
income_foodMore than half (from 50% to 75%) | 0.0304 | 0.0502 | 0.6058 | 0.5447 | |
income_foodAlmost all (from 75% to 100%). | -0.1886 | 0.0624 | -3.0225 | 0.0025 | ** |
hh_head_employRegular worker | 0.0553 | 0.0629 | 0.8786 | 0.3797 | |
hh_head_employCasual worker (paid by the day) | -0.1626 | 0.0605 | -2.6875 | 0.0072 | ** |
hh_head_employClerk (formal employment) | 0.0949 | 0.0667 | 1.4225 | 0.1549 | |
hh_head_employManager | -0.0962 | 0.1095 | -0.8793 | 0.3793 | |
hh_head_employBusinessman / self-employed | 0.1594 | 0.0627 | 2.5415 | 0.0111 | * |
hh_head_employSole trader | 0.1581 | 0.0674 | 2.3450 | 0.0191 | * |
hh_head_employOther | 0.1685 | 0.0796 | 2.1176 | 0.0343 | * |
imp_availability | 0.0115 | 0.0122 | 0.9422 | 0.3461 | |
imp_nutrition | 0.0220 | 0.0135 | 1.6364 | 0.1018 | |
imp_provider | 0.0133 | 0.0119 | 1.1174 | 0.2639 | |
imp_price | -0.0039 | 0.0138 | -0.2806 | 0.7791 | |
imp_envfriend | -0.0014 | 0.0123 | -0.1150 | 0.9085 | |
imp_divers | 0.0024 | 0.0139 | 0.1742 | 0.8617 | |
imp_tradition | -0.0228 | 0.0113 | -2.0297 | 0.0424 | * |
imp_local | 0.0052 | 0.0107 | 0.4837 | 0.6286 | |
imp_product | 0.0178 | 0.0125 | 1.4172 | 0.1565 | |
local_food_interest | -0.0102 | 0.0144 | -0.7078 | 0.4791 | |
local_envfriend | 0.0136 | 0.0130 | 1.0430 | 0.2970 | |
local_afford | 0.0364 | 0.0147 | 2.4840 | 0.0130 | * |
local_find | 0.0268 | 0.0142 | 1.8828 | 0.0598 | . |
local_tradition | 0.0154 | 0.0116 | 1.3206 | 0.1867 | |
local_helpfarmer | -0.0052 | 0.0124 | -0.4225 | 0.6727 | |
local_friends | -0.0232 | 0.0110 | -2.1120 | 0.0347 | * |
obst_loc_familar | 0.0181 | 0.0110 | 1.6439 | 0.1002 | |
obst_loc_change | -0.0182 | 0.0112 | -1.6228 | 0.1047 | |
obst_loc_comparab | -0.0035 | 0.0117 | -0.3019 | 0.7627 | |
obst_loc_healthy | 0.0101 | 0.0113 | 0.8902 | 0.3734 | |
obst_loc_friend | -0.0041 | 0.0112 | -0.3695 | 0.7118 | |
obst_loc_trust | -0.0104 | 0.0102 | -1.0193 | 0.3081 | |
healty_diet | 0.1293 | 0.0134 | 9.6834 | 5.4e-22 | *** |
nutri_food_interest | -0.0206 | 0.0152 | -1.3583 | 0.1744 | |
nutri_healthy | 0.0135 | 0.0142 | 0.9560 | 0.3391 | |
nutri_sstatus | -0.0228 | 0.0106 | -2.1535 | 0.0313 | * |
nustri_afford | 0.0292 | 0.0136 | 2.1495 | 0.0316 | * |
nutri_lifestyle | 0.0180 | 0.0111 | 1.6203 | 0.1052 | |
nutri_trust | -0.0171 | 0.0117 | -1.4667 | 0.1425 | |
nustri_doctor | 0.0133 | 0.0123 | 1.0804 | 0.2800 | |
obst_nutri_safe | -0.0056 | 0.0103 | -0.5494 | 0.5828 | |
obst_nutri_fam | 0.0209 | 0.0115 | 1.8129 | 0.0699 | . |
obst_nutri_fpractice | 0.0140 | 0.0116 | 1.2073 | 0.2274 | |
obst_nutri_price | -0.0112 | 0.0117 | -0.9574 | 0.3384 | |
obst_nutri_time | -0.0037 | 0.0108 | -0.3469 | 0.7287 | |
obst_nutri_friend | 0.0045 | 0.0116 | 0.3869 | 0.6988 | |
r.squared | 0.2535 | ||||
adj.r.squared | 0.2440 | ||||
fstatistic | 26.5686 | 68.0000 | 5,319.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 545.6217 | 11 | 55.0551 | 5.0e-116 | *** |
age | 0.0842 | 1 | 0.0935 | 0.7598 | |
gender | 0.0890 | 1 | 0.0987 | 0.7534 | |
educ3 | 28.9495 | 2 | 16.0661 | 1.1e-07 | *** |
HH_size | 1.7119 | 1 | 1.9001 | 0.1681 | |
income_avg | 189.8931 | 4 | 52.6924 | 1.3e-43 | *** |
hh_salary | 15.0012 | 1 | 16.6504 | 4.6e-05 | *** |
income_food | 42.4718 | 4 | 11.7853 | 1.6e-09 | *** |
hh_head_employ | 67.8682 | 7 | 10.7614 | 1.5e-13 | *** |
imp_availability | 0.7999 | 1 | 0.8878 | 0.3461 | |
imp_nutrition | 2.4124 | 1 | 2.6777 | 0.1018 | |
imp_provider | 1.1249 | 1 | 1.2486 | 0.2639 | |
imp_price | 0.0709 | 1 | 0.0787 | 0.7791 | |
imp_envfriend | 0.0119 | 1 | 0.0132 | 0.9085 | |
imp_divers | 0.0273 | 1 | 0.0303 | 0.8617 | |
imp_tradition | 3.7115 | 1 | 4.1195 | 0.0424 | * |
imp_local | 0.2108 | 1 | 0.2340 | 0.6286 | |
imp_product | 1.8094 | 1 | 2.0084 | 0.1565 | |
local_food_interest | 0.4514 | 1 | 0.5010 | 0.4791 | |
local_envfriend | 0.9802 | 1 | 1.0879 | 0.2970 | |
local_afford | 5.5590 | 1 | 6.1702 | 0.0130 | * |
local_find | 3.1938 | 1 | 3.5449 | 0.0598 | . |
local_tradition | 1.5712 | 1 | 1.7440 | 0.1867 | |
local_helpfarmer | 0.1608 | 1 | 0.1785 | 0.6727 | |
local_friends | 4.0189 | 1 | 4.4607 | 0.0347 | * |
obst_loc_familar | 2.4348 | 1 | 2.7025 | 0.1002 | |
obst_loc_change | 2.3726 | 1 | 2.6335 | 0.1047 | |
obst_loc_comparab | 0.0821 | 1 | 0.0912 | 0.7627 | |
obst_loc_healthy | 0.7139 | 1 | 0.7924 | 0.3734 | |
obst_loc_friend | 0.1230 | 1 | 0.1365 | 0.7118 | |
obst_loc_trust | 0.9361 | 1 | 1.0390 | 0.3081 | |
healty_diet | 84.4800 | 1 | 93.7676 | 5.4e-22 | *** |
nutri_food_interest | 1.6623 | 1 | 1.8451 | 0.1744 | |
nutri_healthy | 0.8234 | 1 | 0.9139 | 0.3391 | |
nutri_sstatus | 4.1781 | 1 | 4.6374 | 0.0313 | * |
nustri_afford | 4.1627 | 1 | 4.6203 | 0.0316 | * |
nutri_lifestyle | 2.3655 | 1 | 2.6255 | 0.1052 | |
nutri_trust | 1.9381 | 1 | 2.1512 | 0.1425 | |
nustri_doctor | 1.0516 | 1 | 1.1672 | 0.2800 | |
obst_nutri_safe | 0.2719 | 1 | 0.3018 | 0.5828 | |
obst_nutri_fam | 2.9611 | 1 | 3.2866 | 0.0699 | . |
obst_nutri_fpractice | 1.3133 | 1 | 1.4577 | 0.2274 | |
obst_nutri_price | 0.8258 | 1 | 0.9166 | 0.3384 | |
obst_nutri_time | 0.1084 | 1 | 0.1203 | 0.7287 | |
obst_nutri_friend | 0.1349 | 1 | 0.1497 | 0.6988 | |
Residuals | 4,792.1577 | 5,319 |
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 1.3500 | 0.1261 | 10.7055 | 1.8e-26 | *** |
cityKE.Kitui | -1.0579 | 0.0738 | -14.3327 | 9.5e-46 | *** |
cityKE.Nyeri | -0.6439 | 0.0756 | -8.5185 | 2.1e-17 | *** |
cityMO.Beni Mellal | -0.0130 | 0.0710 | -0.1832 | 0.8547 | |
cityMO.Meknes | 0.0965 | 0.0685 | 1.4085 | 0.1590 | |
cityTN.Sousse | -0.0868 | 0.0747 | -1.1624 | 0.2451 | |
cityTN.Tunis | 0.0256 | 0.0787 | 0.3250 | 0.7452 | |
cityTZ.Daressalaam | 0.5827 | 0.0725 | 8.0374 | 1.1e-15 | *** |
cityTZ.Morogoro | 0.4666 | 0.0752 | 6.2074 | 5.8e-10 | *** |
cityUG.Kalerwe | -0.1567 | 0.0694 | -2.2579 | 0.0240 | * |
cityUG.Kampala | -0.1112 | 0.0699 | -1.5914 | 0.1116 | |
cityUG.Kapeeka | 0.3968 | 0.0706 | 5.6190 | 2.0e-08 | *** |
educ3Primary | 0.1119 | 0.0516 | 2.1674 | 0.0302 | * |
educ3Secondary or more | 0.2563 | 0.0501 | 5.1132 | 3.3e-07 | *** |
income_avgsomewhat lower than average | 0.2434 | 0.0381 | 6.3808 | 1.9e-10 | *** |
income_avgabout average | 0.3806 | 0.0474 | 8.0237 | 1.3e-15 | *** |
income_avgsomewhat higher than average | 0.6156 | 0.0525 | 11.7190 | 2.5e-31 | *** |
income_avghigher than average | 0.8060 | 0.0594 | 13.5724 | 2.8e-41 | *** |
hh_salary | 0.0561 | 0.0146 | 3.8373 | 1.3e-04 | *** |
income_foodLess than half (from 25% to 50%) | 0.1660 | 0.0495 | 3.3524 | 8.1e-04 | *** |
income_foodAbout half (50%) | 0.0691 | 0.0468 | 1.4780 | 0.1395 | |
income_foodMore than half (from 50% to 75%) | 0.0211 | 0.0498 | 0.4242 | 0.6715 | |
income_foodAlmost all (from 75% to 100%). | -0.1956 | 0.0618 | -3.1667 | 0.0016 | ** |
hh_head_employRegular worker | 0.0657 | 0.0625 | 1.0511 | 0.2933 | |
hh_head_employCasual worker (paid by the day) | -0.1553 | 0.0600 | -2.5877 | 0.0097 | ** |
hh_head_employClerk (formal employment) | 0.1005 | 0.0664 | 1.5137 | 0.1302 | |
hh_head_employManager | -0.0875 | 0.1092 | -0.8012 | 0.4230 | |
hh_head_employBusinessman / self-employed | 0.1630 | 0.0623 | 2.6173 | 0.0089 | ** |
hh_head_employSole trader | 0.1641 | 0.0670 | 2.4496 | 0.0143 | * |
hh_head_employOther | 0.1766 | 0.0793 | 2.2279 | 0.0259 | * |
imp_nutrition | 0.0274 | 0.0118 | 2.3262 | 0.0200 | * |
imp_tradition | -0.0198 | 0.0108 | -1.8337 | 0.0668 | . |
imp_product | 0.0189 | 0.0123 | 1.5394 | 0.1238 | |
local_afford | 0.0336 | 0.0142 | 2.3718 | 0.0177 | * |
local_find | 0.0273 | 0.0136 | 2.0094 | 0.0445 | * |
local_tradition | 0.0165 | 0.0113 | 1.4663 | 0.1426 | |
local_friends | -0.0237 | 0.0103 | -2.3069 | 0.0211 | * |
obst_loc_familar | 0.0185 | 0.0106 | 1.7549 | 0.0793 | . |
obst_loc_change | -0.0157 | 0.0102 | -1.5408 | 0.1234 | |
healty_diet | 0.1297 | 0.0130 | 9.9377 | 4.5e-23 | *** |
nutri_sstatus | -0.0238 | 0.0102 | -2.3235 | 0.0202 | * |
nustri_afford | 0.0320 | 0.0119 | 2.6934 | 0.0071 | ** |
nutri_lifestyle | 0.0190 | 0.0106 | 1.7918 | 0.0732 | . |
obst_nutri_fam | 0.0188 | 0.0105 | 1.7997 | 0.0720 | . |
r.squared | 0.2512 | ||||
adj.r.squared | 0.2451 | ||||
fstatistic | 41.6848 | 43.0000 | 5,344.0000 | 0.0e+00 |
variable | Sum Sq | Df | F value | p.value | signif |
city | 588.0471 | 11 | 59.4258 | 2.9e-125 | *** |
educ3 | 33.3910 | 2 | 18.5590 | 9.3e-09 | *** |
income_avg | 193.3414 | 4 | 53.7305 | 1.8e-44 | *** |
hh_salary | 13.2467 | 1 | 14.7252 | 1.3e-04 | *** |
income_food | 43.4750 | 4 | 12.0819 | 8.9e-10 | *** |
hh_head_employ | 67.8581 | 7 | 10.7760 | 1.5e-13 | *** |
imp_nutrition | 4.8678 | 1 | 5.4111 | 0.0200 | * |
imp_tradition | 3.0249 | 1 | 3.3626 | 0.0668 | . |
imp_product | 2.1319 | 1 | 2.3698 | 0.1238 | |
local_afford | 5.0605 | 1 | 5.6254 | 0.0177 | * |
local_find | 3.6323 | 1 | 4.0377 | 0.0445 | * |
local_tradition | 1.9341 | 1 | 2.1500 | 0.1426 | |
local_friends | 4.7874 | 1 | 5.3218 | 0.0211 | * |
obst_loc_familar | 2.7705 | 1 | 3.0798 | 0.0793 | . |
obst_loc_change | 2.1357 | 1 | 2.3740 | 0.1234 | |
healty_diet | 88.8418 | 1 | 98.7582 | 4.5e-23 | *** |
nutri_sstatus | 4.8566 | 1 | 5.3986 | 0.0202 | * |
nustri_afford | 6.5258 | 1 | 7.2542 | 0.0071 | ** |
nutri_lifestyle | 2.8881 | 1 | 3.2104 | 0.0732 | . |
obst_nutri_fam | 2.9136 | 1 | 3.2389 | 0.0720 | . |
Residuals | 4,807.4065 | 5,344 |
frm1 <- as.formula(paste(names(dfS.FS.3)[1],"~",paste(names(dfS.FS.3)[-1],collapse = "+"),sep=" "))
mod1 <- lm(frm1,data = dfS.FS.3)
stp2 <- stepCriterion(mod1, direction="forward", criterion="bic",trace = F)
stpBIC <- lm(as.formula(paste("meet_food_needs",stp2$final)),data = dfS.FS.3)
my.flextb(lm2df(stpBIC),title = "meet_food_needs stepwise BIC - coefficients") %>% autofit()
variable | Estimate | Std.Error | t.value | p.value | signif |
(Intercept) | 1.5699 | 0.1106 | 14.1998 | 6.0e-45 | *** |
cityKE.Kitui | -1.1195 | 0.0698 | -16.0290 | 1.6e-56 | *** |
cityKE.Nyeri | -0.7192 | 0.0707 | -10.1771 | 4.2e-24 | *** |
cityMO.Beni Mellal | -0.0983 | 0.0663 | -1.4832 | 0.1381 | |
cityMO.Meknes | 0.0138 | 0.0634 | 0.2169 | 0.8283 | |
cityTN.Sousse | -0.1253 | 0.0701 | -1.7889 | 0.0737 | . |
cityTN.Tunis | -0.0066 | 0.0719 | -0.0921 | 0.9266 | |
cityTZ.Daressalaam | 0.5688 | 0.0692 | 8.2192 | 2.5e-16 | *** |
cityTZ.Morogoro | 0.4439 | 0.0722 | 6.1483 | 8.4e-10 | *** |
cityUG.Kalerwe | -0.2300 | 0.0646 | -3.5590 | 3.8e-04 | *** |
cityUG.Kampala | -0.1865 | 0.0657 | -2.8391 | 0.0045 | ** |
cityUG.Kapeeka | 0.3168 | 0.0664 | 4.7690 | 1.9e-06 | *** |
income_avgsomewhat lower than average | 0.2501 | 0.0382 | 6.5536 | 6.1e-11 | *** |
income_avgabout average | 0.3886 | 0.0475 | 8.1882 | 3.3e-16 | *** |
income_avgsomewhat higher than average | 0.6186 | 0.0525 | 11.7815 | 1.2e-31 | *** |
income_avghigher than average | 0.8180 | 0.0594 | 13.7761 | 1.9e-42 | *** |
healty_diet | 0.1365 | 0.0126 | 10.8057 | 6.1e-27 | *** |
educ3Primary | 0.1142 | 0.0517 | 2.2106 | 0.0271 | * |
educ3Secondary or more | 0.2677 | 0.0501 | 5.3481 | 9.3e-08 | *** |
income_foodLess than half (from 25% to 50%) | 0.1686 | 0.0496 | 3.3973 | 6.9e-04 | *** |
income_foodAbout half (50%) | 0.0732 | 0.0469 | 1.5624 | 0.1183 | |
income_foodMore than half (from 50% to 75%) | 0.0188 | 0.0498 | 0.3773 | 0.7060 | |
income_foodAlmost all (from 75% to 100%). | -0.2035 | 0.0618 | -3.2957 | 9.9e-04 | *** |
hh_head_employRegular worker | 0.0711 | 0.0626 | 1.1360 | 0.2560 | |
hh_head_employCasual worker (paid by the day) | -0.1580 | 0.0601 | -2.6288 | 0.0086 | ** |
hh_head_employClerk (formal employment) | 0.1066 | 0.0665 | 1.6041 | 0.1088 | |
hh_head_employManager | -0.0912 | 0.1094 | -0.8336 | 0.4046 | |
hh_head_employBusinessman / self-employed | 0.1617 | 0.0624 | 2.5941 | 0.0095 | ** |
hh_head_employSole trader | 0.1634 | 0.0671 | 2.4356 | 0.0149 | * |
hh_head_employOther | 0.1745 | 0.0794 | 2.1980 | 0.0280 | * |
local_afford | 0.0512 | 0.0128 | 3.9912 | 6.7e-05 | *** |
hh_salary | 0.0576 | 0.0146 | 3.9391 | 8.3e-05 | *** |
nustri_afford | 0.0334 | 0.0114 | 2.9334 | 0.0034 | ** |
r.squared | 0.2455 | ||||
adj.r.squared | 0.2410 | ||||
fstatistic | 54.4391 | 32.0000 | 5,355.0000 | 0.0e+00 |
my.flextb(Anova2df(stpBIC),title = "meet_food_needs stepwise BIC - anova") %>% autofit()
variable | Sum Sq | Df | F value | p.value | signif |
city | 659.6466 | 11 | 66.2934 | 1.3e-139 | *** |
income_avg | 198.7509 | 4 | 54.9289 | 1.9e-45 | *** |
healty_diet | 105.6227 | 1 | 116.7639 | 6.1e-27 | *** |
educ3 | 37.3985 | 2 | 20.6717 | 1.1e-09 | *** |
income_food | 46.6096 | 4 | 12.8815 | 1.9e-10 | *** |
hh_head_employ | 69.4486 | 7 | 10.9677 | 7.9e-14 | *** |
local_afford | 14.4100 | 1 | 15.9300 | 6.7e-05 | *** |
hh_salary | 14.0361 | 1 | 15.5166 | 8.3e-05 | *** |
nustri_afford | 7.7835 | 1 | 8.6046 | 0.0034 | ** |
Residuals | 4,844.0432 | 5,355 |
## [1] 1
## [1] 2
## [1] 3
## [1] 4
## [1] 5
variable | Estimate.proj | p.value.proj | signif.proj | Estimate.step | p.value.step | signif.step | Estimate.KE | p.value.KE | signif.KE | Estimate.MO | p.value.MO | signif.MO | Estimate.TN | p.value.TN | signif.TN | Estimate.TZ | p.value.TZ | signif.TZ | Estimate.UG | p.value.UG | signif.UG |
(Intercept) | 1.38728 | 2.2e-18 | *** | 1.3500 | 1.8e-26 | *** | 2.46217 | 2.3e-21 | *** | 1.08493 | 1.7e-06 | *** | 2.61503 | 9.8e-09 | *** | 1.84834 | 3.0e-08 | *** | 0.75876 | 0.00446 | ** |
cityKE.Kitui | -1.05101 | 1.1e-41 | *** | -1.0579 | 9.5e-46 | *** | -0.78029 | 4.9e-21 | *** | ||||||||||||
cityKE.Nyeri | -0.64209 | 2.3e-15 | *** | -0.6439 | 2.1e-17 | *** | -0.43866 | 2.8e-07 | *** | ||||||||||||
cityMO.Beni Mellal | -0.00747 | 0.92124 | -0.0130 | 0.8547 | |||||||||||||||||
cityMO.Meknes | 0.09511 | 0.19501 | 0.0965 | 0.1590 | 0.13121 | 0.05785 | . | ||||||||||||||
cityTN.Sousse | -0.09838 | 0.21184 | -0.0868 | 0.2451 | |||||||||||||||||
cityTN.Tunis | 0.01469 | 0.86480 | 0.0256 | 0.7452 | 0.22684 | 0.00899 | ** | ||||||||||||||
cityTZ.Daressalaam | 0.60235 | 1.0e-14 | *** | 0.5827 | 1.1e-15 | *** | |||||||||||||||
cityTZ.Morogoro | 0.49017 | 1.4e-09 | *** | 0.4666 | 5.8e-10 | *** | -0.12353 | 0.02164 | * | ||||||||||||
cityUG.Kalerwe | -0.15237 | 0.03641 | * | -0.1567 | 0.0240 | * | |||||||||||||||
cityUG.Kampala | -0.11029 | 0.13722 | -0.1112 | 0.1116 | -0.06674 | 0.37483 | |||||||||||||||
cityUG.Kapeeka | 0.39316 | 1.1e-07 | *** | 0.3968 | 2.0e-08 | *** | 0.40277 | 3.8e-08 | *** | ||||||||||||
age | 0.00034 | 0.75980 | 0.00876 | 3.9e-04 | *** | ||||||||||||||||
genderFemale | 0.00865 | 0.75336 | 0.13553 | 0.00777 | ** | ||||||||||||||||
educ3Primary | 0.10990 | 0.03452 | * | 0.1119 | 0.0302 | * | -0.01484 | 0.89308 | 0.26451 | 0.00965 | ** | 0.48534 | 0.09753 | . | 0.25882 | 0.24427 | |||||
educ3Secondary or more | 0.25141 | 1.3e-06 | *** | 0.2563 | 3.3e-07 | *** | 0.18670 | 0.07874 | . | 0.32182 | 6.3e-04 | *** | 0.59681 | 0.03414 | * | 0.46059 | 0.03883 | * | |||
HH_size | -0.00779 | 0.16812 | 0.03223 | 0.00950 | ** | -0.04192 | 4.9e-05 | *** | |||||||||||||
income_avgsomewhat lower than average | 0.24483 | 1.8e-10 | *** | 0.2434 | 1.9e-10 | *** | 0.11123 | 0.27784 | 0.43586 | 1.3e-07 | *** | 0.53531 | 5.3e-04 | *** | 0.14105 | 0.02101 | * | 0.30144 | 9.9e-05 | *** | |
income_avgabout average | 0.38248 | 1.3e-15 | *** | 0.3806 | 1.3e-15 | *** | -0.01415 | 0.88448 | 0.65350 | 1.3e-08 | *** | 0.79595 | 7.7e-07 | *** | 0.38672 | 1.9e-05 | *** | 0.36103 | 8.1e-04 | *** | |
income_avgsomewhat higher than average | 0.61728 | 3.9e-31 | *** | 0.6156 | 2.5e-31 | *** | 0.12323 | 0.19014 | 1.04807 | 3.7e-14 | *** | 1.07079 | 6.8e-10 | *** | 0.51340 | 6.9e-06 | *** | 0.77253 | 6.6e-07 | *** | |
income_avghigher than average | 0.80193 | 2.2e-40 | *** | 0.8060 | 2.8e-41 | *** | 0.43444 | 1.7e-05 | *** | 1.15814 | 1.8e-14 | *** | 1.23274 | 1.9e-10 | *** | 0.53271 | 1.6e-06 | *** | 0.76808 | 0.00110 | ** |
hh_salary | 0.06454 | 4.6e-05 | *** | 0.0561 | 1.3e-04 | *** | 0.16460 | 1.6e-07 | *** | ||||||||||||
income_foodLess than half (from 25% to 50%) | 0.17023 | 6.4e-04 | *** | 0.1660 | 8.1e-04 | *** | 0.50156 | 7.6e-05 | *** | 0.17810 | 0.15282 | ||||||||||
income_foodAbout half (50%) | 0.07260 | 0.12413 | 0.0691 | 0.1395 | 0.19209 | 0.11282 | 0.25740 | 0.02825 | * | ||||||||||||
income_foodMore than half (from 50% to 75%) | 0.03041 | 0.54470 | 0.0211 | 0.6715 | 0.00669 | 0.95695 | 0.26637 | 0.03818 | * | ||||||||||||
income_foodAlmost all (from 75% to 100%). | -0.18865 | 0.00252 | ** | -0.1956 | 0.0016 | ** | -0.20994 | 0.11605 | -0.11599 | 0.46453 | |||||||||||
hh_head_employRegular worker | 0.05530 | 0.37968 | 0.0657 | 0.2933 | 0.18060 | 0.08286 | . | -0.32479 | 0.00712 | ** | -0.82599 | 0.00159 | ** | 0.07553 | 0.64496 | 0.20335 | 0.15735 | ||||
hh_head_employCasual worker (paid by the day) | -0.16261 | 0.00722 | ** | -0.1553 | 0.0097 | ** | 0.10547 | 0.27724 | -0.27402 | 0.01453 | * | -1.23139 | 1.2e-05 | *** | -0.04378 | 0.79385 | -0.02515 | 0.85578 | |||
hh_head_employClerk (formal employment) | 0.09487 | 0.15493 | 0.1005 | 0.1302 | 0.31300 | 0.00255 | ** | 0.04697 | 0.71375 | -1.03650 | 7.7e-05 | *** | 0.14550 | 0.43359 | 0.05258 | 0.77116 | |||||
hh_head_employManager | -0.09625 | 0.37929 | -0.0875 | 0.4230 | 0.15726 | 0.28697 | 1.07633 | 0.00768 | ** | -1.01526 | 0.00135 | ** | -0.41272 | 0.47045 | -0.24770 | 0.35525 | |||||
hh_head_employBusinessman / self-employed | 0.15936 | 0.01107 | * | 0.1630 | 0.0089 | ** | 0.31275 | 0.00156 | ** | -0.18396 | 0.36281 | -0.80390 | 0.00556 | ** | 0.24096 | 0.11463 | 0.27118 | 0.05461 | . | ||
hh_head_employSole trader | 0.15809 | 0.01906 | * | 0.1641 | 0.0143 | * | 0.18785 | 0.28126 | 0.08571 | 0.65210 | -0.75425 | 0.00729 | ** | 0.22980 | 0.13654 | 0.22561 | 0.10969 | ||||
hh_head_employOther | 0.16850 | 0.03425 | * | 0.1766 | 0.0259 | * | 0.66867 | 0.00201 | ** | -0.03589 | 0.79287 | -0.80594 | 0.00235 | ** | 0.44312 | 0.03719 | * | -0.19240 | 0.44992 | ||
imp_availability | 0.01154 | 0.34612 | -0.05581 | 0.05630 | . | ||||||||||||||||
imp_nutrition | 0.02201 | 0.10182 | 0.0274 | 0.0200 | * | 0.06234 | 0.01435 | * | |||||||||||||
imp_provider | 0.01329 | 0.26388 | |||||||||||||||||||
imp_price | -0.00387 | 0.77906 | -0.06104 | 0.06563 | . | 0.05030 | 0.11486 | 0.04085 | 0.07185 | . | |||||||||||
imp_envfriend | -0.00141 | 0.90846 | |||||||||||||||||||
imp_divers | 0.00242 | 0.86175 | 0.07103 | 0.00438 | ** | -0.05492 | 0.11321 | -0.03437 | 0.12061 | ||||||||||||
imp_tradition | -0.02284 | 0.04244 | * | -0.0198 | 0.0668 | . | -0.12680 | 5.3e-05 | *** | ||||||||||||
imp_local | 0.00517 | 0.62861 | 0.03240 | 0.11208 | |||||||||||||||||
imp_product | 0.01778 | 0.15649 | 0.0189 | 0.1238 | 0.09458 | 0.00873 | ** | ||||||||||||||
local_food_interest | -0.01021 | 0.47907 | -0.05971 | 0.02418 | * | ||||||||||||||||
local_envfriend | 0.01360 | 0.29697 | 0.05858 | 0.00930 | ** | 0.07572 | 0.01501 | * | -0.05134 | 0.01536 | * | ||||||||||
local_afford | 0.03642 | 0.01302 | * | 0.0336 | 0.0177 | * | 0.05117 | 0.08318 | . | ||||||||||||
local_find | 0.02677 | 0.05978 | . | 0.0273 | 0.0445 | * | 0.11457 | 0.00141 | ** | ||||||||||||
local_tradition | 0.01538 | 0.18669 | 0.0165 | 0.1426 | -0.07257 | 0.03436 | * | 0.10844 | 6.4e-04 | *** | 0.03060 | 0.15880 | |||||||||
local_helpfarmer | -0.00525 | 0.67266 | -0.08785 | 0.02007 | * | ||||||||||||||||
local_friends | -0.02319 | 0.03473 | * | -0.0237 | 0.0211 | * | -0.04172 | 0.03523 | * | -0.03754 | 0.06935 | . | |||||||||
obst_loc_familar | 0.01812 | 0.10025 | 0.0185 | 0.0793 | . | 0.04372 | 0.01949 | * | |||||||||||||
obst_loc_change | -0.01818 | 0.10469 | -0.0157 | 0.1234 | -0.06035 | 0.00399 | ** | ||||||||||||||
obst_loc_comparab | -0.00352 | 0.76273 | -0.05867 | 0.00475 | ** | ||||||||||||||||
obst_loc_healthy | 0.01006 | 0.37342 | 0.03222 | 0.13985 | 0.06864 | 0.01039 | * | -0.05506 | 0.05966 | . | |||||||||||
obst_loc_friend | -0.00412 | 0.71179 | 0.04211 | 0.01676 | * | ||||||||||||||||
obst_loc_trust | -0.01041 | 0.30809 | -0.05683 | 0.03095 | * | ||||||||||||||||
healty_diet | 0.12928 | 5.4e-22 | *** | 0.1297 | 4.5e-23 | *** | 0.13582 | 1.4e-04 | *** | 0.12854 | 8.7e-04 | *** | 0.17397 | 1.0e-12 | *** | 0.26694 | 6.6e-22 | *** | |||
nutri_food_interest | -0.02061 | 0.17441 | -0.08693 | 0.00553 | ** | 0.09863 | 0.00319 | ** | -0.14889 | 5.9e-05 | *** | ||||||||||
nutri_healthy | 0.01353 | 0.33912 | 0.04688 | 0.10636 | 0.13452 | 0.00106 | ** | ||||||||||||||
nutri_sstatus | -0.02283 | 0.03133 | * | -0.0238 | 0.0202 | * | -0.03857 | 0.07697 | . | -0.03366 | 0.05416 | . | |||||||||
nustri_afford | 0.02921 | 0.03164 | * | 0.0320 | 0.0071 | ** | 0.05101 | 0.03201 | * | ||||||||||||
nutri_lifestyle | 0.01798 | 0.10522 | 0.0190 | 0.0732 | . | 0.03588 | 0.04779 | * | 0.04565 | 0.03461 | * | ||||||||||
nutri_trust | -0.01709 | 0.14252 | -0.05044 | 0.08104 | . | ||||||||||||||||
nustri_doctor | 0.01331 | 0.28003 | 0.05739 | 0.05984 | . | 0.04026 | 0.09034 | . | |||||||||||||
obst_nutri_safe | -0.00564 | 0.58276 | -0.03810 | 0.02360 | * | ||||||||||||||||
obst_nutri_fam | 0.02092 | 0.06990 | . | 0.0188 | 0.0720 | . | -0.05492 | 0.00559 | ** | 0.06184 | 0.00194 | ** | |||||||||
obst_nutri_fpractice | 0.01399 | 0.22735 | -0.03768 | 0.13027 | 0.03650 | 0.04744 | * | 0.04926 | 0.02005 | * | |||||||||||
obst_nutri_price | -0.01123 | 0.33841 | |||||||||||||||||||
obst_nutri_time | -0.00373 | 0.72871 | -0.03572 | 0.10007 | |||||||||||||||||
obst_nutri_friend | 0.00450 | 0.69882 | -0.03983 | 0.08690 | . | ||||||||||||||||
r.squared | 0.25354 | 0.2512 | 0.29888 | 0.37772 | 0.25996 | 0.22639 | 0.21372 | ||||||||||||||
adj.r.squared | 0.24400 | 0.2451 | 0.28190 | 0.35771 | 0.23072 | 0.20520 | 0.19890 | ||||||||||||||
fstatistic | 26.56858 | 0.0e+00 | 41.6848 | 0.0e+00 | 17.60157 | 0.0e+00 | 18.88152 | 0.0e+00 | 8.89009 | 0.0e+00 | 10.68144 | 0.0e+00 | 14.42538 | 0.0e+00 |
## [1] 1
## [1] 2
## [1] 3
## [1] 4
## [1] 5
variable | p.value.proj | signif.proj | p.value.step | signif.step | p.value.KE | signif.KE | p.value.MO | signif.MO | p.value.TN | signif.TN | p.value.TZ | signif.TZ | p.value.UG | signif.UG |
city | 5.0e-116 | *** | 2.9e-125 | *** | 4.2e-21 | *** | 0.05785 | . | 0.00899 | ** | 0.02164 | * | 1.3e-11 | *** |
age | 0.75980 | 3.9e-04 | *** | |||||||||||
gender | 0.75336 | 0.00777 | ** | |||||||||||
educ3 | 1.1e-07 | *** | 9.3e-09 | *** | 4.6e-04 | *** | 0.00246 | ** | 0.07987 | . | 3.2e-04 | *** | ||
HH_size | 0.16812 | 0.00950 | ** | 4.9e-05 | *** | |||||||||
income_avg | 1.3e-43 | *** | 1.8e-44 | *** | 3.1e-08 | *** | 3.1e-17 | *** | 5.9e-12 | *** | 8.9e-08 | *** | 1.5e-06 | *** |
hh_salary | 4.6e-05 | *** | 1.3e-04 | *** | 1.6e-07 | *** | ||||||||
income_food | 1.6e-09 | *** | 8.9e-10 | *** | 5.4e-16 | *** | 0.01198 | * | ||||||
hh_head_employ | 1.5e-13 | *** | 1.5e-13 | *** | 0.00151 | ** | 1.3e-04 | *** | 2.8e-04 | *** | 0.01056 | * | 0.00185 | ** |
imp_availability | 0.34612 | 0.05630 | . | |||||||||||
imp_nutrition | 0.10182 | 0.0200 | * | 0.01435 | * | |||||||||
imp_provider | 0.26388 | |||||||||||||
imp_price | 0.77906 | 0.06563 | . | 0.11486 | 0.07185 | . | ||||||||
imp_envfriend | 0.90846 | |||||||||||||
imp_divers | 0.86175 | 0.00438 | ** | 0.11321 | 0.12061 | |||||||||
imp_tradition | 0.04244 | * | 0.0668 | . | 5.3e-05 | *** | ||||||||
imp_local | 0.62861 | 0.11208 | ||||||||||||
imp_product | 0.15649 | 0.1238 | 0.00873 | ** | ||||||||||
local_food_interest | 0.47907 | 0.02418 | * | |||||||||||
local_envfriend | 0.29697 | 0.00930 | ** | 0.01501 | * | 0.01536 | * | |||||||
local_afford | 0.01302 | * | 0.0177 | * | 0.08318 | . | ||||||||
local_find | 0.05978 | . | 0.0445 | * | 0.00141 | ** | ||||||||
local_tradition | 0.18669 | 0.1426 | 0.03436 | * | 6.4e-04 | *** | 0.15880 | |||||||
local_helpfarmer | 0.67266 | 0.02007 | * | |||||||||||
local_friends | 0.03473 | * | 0.0211 | * | 0.03523 | * | 0.06935 | . | ||||||
obst_loc_familar | 0.10025 | 0.0793 | . | 0.01949 | * | |||||||||
obst_loc_change | 0.10469 | 0.1234 | 0.00399 | ** | ||||||||||
obst_loc_comparab | 0.76273 | 0.00475 | ** | |||||||||||
obst_loc_healthy | 0.37342 | 0.13985 | 0.01039 | * | 0.05966 | . | ||||||||
obst_loc_friend | 0.71179 | 0.01676 | * | |||||||||||
obst_loc_trust | 0.30809 | 0.03095 | * | |||||||||||
healty_diet | 5.4e-22 | *** | 4.5e-23 | *** | 1.4e-04 | *** | 8.7e-04 | *** | 1.0e-12 | *** | 6.6e-22 | *** | ||
nutri_food_interest | 0.17441 | 0.00553 | ** | 0.00319 | ** | 5.9e-05 | *** | |||||||
nutri_healthy | 0.33912 | 0.10636 | 0.00106 | ** | ||||||||||
nutri_sstatus | 0.03133 | * | 0.0202 | * | 0.07697 | . | 0.05416 | . | ||||||
nustri_afford | 0.03164 | * | 0.0071 | ** | 0.03201 | * | ||||||||
nutri_lifestyle | 0.10522 | 0.0732 | . | 0.04779 | * | 0.03461 | * | |||||||
nutri_trust | 0.14252 | 0.08104 | . | |||||||||||
nustri_doctor | 0.28003 | 0.05984 | . | 0.09034 | . | |||||||||
obst_nutri_safe | 0.58276 | 0.02360 | * | |||||||||||
obst_nutri_fam | 0.06990 | . | 0.0720 | . | 0.00559 | ** | 0.00194 | ** | ||||||
obst_nutri_fpractice | 0.22735 | 0.13027 | 0.04744 | * | 0.02005 | * | ||||||||
obst_nutri_price | 0.33841 | |||||||||||||
obst_nutri_time | 0.72871 | 0.10007 | ||||||||||||
obst_nutri_friend | 0.69882 | 0.08690 | . | |||||||||||
Residuals |
FGDS.code | FGDS.descr | All.5.code | All.5.descr | NCD_P.code | NCD_P.descr | NCD_R.code | NCD_R.descr | variable | question |
1 | Grains, white roots and tubers, and plantains | 1 | Starchy staples | DQQ_01 | Q10.1 | ||||
1 | Grains, white roots and tubers, and plantains | 1 | Starchy staples | 1 | Whole grains | DQQ_02 | Q10.2 | ||
1 | Grains, white roots and tubers, and plantains | 1 | Starchy staples | DQQ_03 | Q10.3 | ||||
2 | Pulses (beans, peas and lentils) | 4 | Pulses, nuts and seeds | 2 | Pulses | DQQ_04 | Q10.4 | ||
8 | Other vitamin A-rich fruits and vegetables | 2 | Vegetables | 4 | Vitamin A-rich orange vegetables | DQQ_05 | Q10.5 | ||
7 | Dark green leafy vegetables | 2 | Vegetables | 5 | Dark green leafy vegetables | DQQ_061 | Q10.6.1 | ||
7 | Dark green leafy vegetables | 2 | Vegetables | 5 | Dark green leafy vegetables | DQQ_062 | Q10.6.2 | ||
9 | Other vegetables | 2 | Vegetables | 6 | Other vegetables | DQQ_071 | Q10.7.1 | ||
9 | Other vegetables | 2 | Vegetables | 6 | Other vegetables | DQQ_072 | Q10.7.2 | ||
8 | Other vitamin A-rich fruits and vegetables | 3 | Fruits | 7 | Vitamin A-rich fruits | DQQ_08 | Q10.8 | ||
10 | Other fruits | 3 | Fruits | 8 | Citrus | DQQ_09 | Q10.9 | ||
10 | Other fruits | 3 | Fruits | 9 | Other fruits | DQQ_101 | Q10.10.1 | ||
10 | Other fruits | 3 | Fruits | 9 | Other fruits | DQQ_102 | Q10.10.2 | ||
2 | Baked / grain-based sweets | DQQ_11 | Q10.11 | ||||||
3 | Other sweets | DQQ_12 | Q10.12 | ||||||
6 | Eggs | 5 | Animal-source foods | DQQ_13 | Q10.13 | ||||
4 | Dairy | 5 | Animal-source foods | DQQ_14 | Q10.14 | ||||
4 | Dairy | 5 | Animal-source foods | DQQ_15 | Q10.15 | ||||
5 | Meat, poultry and fish | 4 | Processed meat | DQQ_16 | Q10.16 | ||||
5 | Meat, poultry and fish | 5 | Animal-source foods | 5 | Unprocessed red meat | DQQ_17 | Q10.17 | ||
5 | Meat, poultry and fish | 5 | Animal-source foods | 5 | Unprocessed red meat | DQQ_18 | Q10.18 | ||
5 | Meat, poultry and fish | 5 | Animal-source foods | DQQ_19 | Q10.19 | ||||
5 | Meat, poultry and fish | 5 | Animal-source foods | DQQ_20 | Q10.20 | ||||
3 | Nuts and seeds | 4 | Pulses, nuts and seeds | 3 | Nuts and seeds | DQQ_21 | Q10.21 | ||
8 | Packaged ultra-processed salty snacks | DQQ_22 | Q10.22 | ||||||
7 | Fast food & Instant noodles | DQQ_23 | Q10.23 | ||||||
6 | Deep fried food | DQQ_24 | Q10.24 | ||||||
4 | Dairy | 5 | Animal-source foods | DQQ_25 | Q10.25 | ||||
DQQ_26 | Q10.26 | ||||||||
DQQ_27 | Q10.27 | ||||||||
1 | Soft drinks (sodas) | DQQ_28 | Q10.28 | ||||||
7 | Fast food & Instant noodles | DQQ_29 | Q10.29 |
dfSt <- dfS %>% select(unique_id,68:99) %>%
mutate_at(.vars = 2:33,~ifelse(.=="Yes",1,0)) %>%
mutate_at(.vars = 2:33,~ifelse(is.na(.),0,.)) %>%
mutate(DQ01 = DQQ_01+DQQ_02+DQQ_03,
DQ02 = DQQ_04,
DQ03 = DQQ_21,
DQ04 = DQQ_25+DQQ_14+DQQ_15,
DQ05 = DQQ_17+DQQ_18+DQQ_16+DQQ_19+DQQ_20,
DQ06 = DQQ_13,
DQ07 = DQQ_061+DQQ_062,
DQ08 = DQQ_05+DQQ_08,
DQ09 = DQQ_071+DQQ_072,
DQ10 = DQQ_09+DQQ_101+DQQ_102,
DQ11 = DQQ_22+DQQ_24+DQQ_23+DQQ_29,
DQ12 = DQQ_11+DQQ_12,
DQ13 = DQQ_27+DQQ_28+DQQ_26)
dfSt$FGDS=rowSums(dfSt[,34:43]>0)
dfSt$MDD.W <- factor(ifelse(dfSt$FGDS>=5,1,0),levels = 0:1,labels = c("No","Yes"))
dfSt <- dfSt %>% mutate_at(.vars = 34:46,~ifelse(.==0,"No","Yes"))
dfSD <- inner_join(dfS,dfSt %>% select(1,34:48),by="unique_id")
dfStA5 <- dfS %>% select(unique_id,68:99) %>%
mutate_at(.vars = 2:33,~ifelse(.=="Yes",1,0)) %>%
mutate_at(.vars = 2:33,~ifelse(is.na(.),0,.)) %>%
mutate(DQA501 = DQQ_01+DQQ_02+DQQ_03,
DQA502 = DQQ_05+DQQ_061+DQQ_062+DQQ_071+DQQ_072,
DQA503 = DQQ_08+DQQ_09+DQQ_101+DQQ_102,
DQA504 = DQQ_04+DQQ_21,
DQA505 = DQQ_13+DQQ_14+DQQ_15+DQQ_17+DQQ_18+DQQ_19+DQQ_20+DQQ_25)
dfStA5$All.5=rowSums(dfStA5[,34:38]>0)
dfStNCD_P <- dfS %>% select(unique_id,68:99) %>%
mutate_at(.vars = 2:33,~ifelse(.=="Yes",1,0)) %>%
mutate_at(.vars = 2:33,~ifelse(is.na(.),0,.)) %>%
mutate(DQNCD_P01 = DQQ_02,
DQNCD_P02 = DQQ_04,
DQNCD_P03 = DQQ_21,
DQNCD_P04 = DQQ_05,
DQNCD_P05 = DQQ_061+DQQ_062,
DQNCD_P06 = DQQ_071+DQQ_072,
DQNCD_P07 = DQQ_08,
DQNCD_P08 = DQQ_09,
DQNCD_P09 = DQQ_101+DQQ_102)
dfStNCD_P$NCD_P=rowSums(dfStNCD_P[,34:42]>0)
dfStNCD_R <- dfS %>% select(unique_id,68:99) %>%
mutate_at(.vars = 2:33,~ifelse(.=="Yes",1,0)) %>%
mutate_at(.vars = 2:33,~ifelse(is.na(.),0,.)) %>%
mutate(DQNCD_R01 = DQQ_28,
DQNCD_R02 = DQQ_11,
DQNCD_R03 = DQQ_12,
DQNCD_R04 = DQQ_16,
DQNCD_R05 = DQQ_17+DQQ_18,
DQNCD_R06 = DQQ_24,
DQNCD_R07 = DQQ_23+DQQ_29,
DQNCD_R08 = DQQ_22)
dfStNCD_R$NCD_R=rowSums(dfStNCD_R[,34:41]>0)
dfSD2 <- left_join(left_join(
left_join(dfSD,dfStA5 %>% select(unique_id,All.5),by="unique_id"),
dfStNCD_P %>% select(unique_id,NCD_P),by="unique_id"),
dfStNCD_R %>% select(unique_id,NCD_R),by="unique_id") %>%
mutate(GDR= NCD_P - NCD_R + 9 ) %>% mutate(All.5=factor(ifelse(All.5==5,1,0),levels = 0:1,labels = c("No","Yes")))
{=html} <template id="87387290-ff63-429a-8e64-68b3b8133af6"><style> .tabwid table{ border-spacing:0px !important; border-collapse:collapse; line-height:1; margin-left:auto; margin-right:auto; border-width: 0; display: table; margin-top: 1.275em; margin-bottom: 1.275em; border-color: transparent; } .tabwid_left table{ margin-left:0; } .tabwid_right table{ margin-right:0; } .tabwid td { padding: 0; } .tabwid a { text-decoration: none; } .tabwid thead { background-color: transparent; } .tabwid tfoot { background-color: transparent; } .tabwid table tr { background-color: transparent; } </style><div class="tabwid"><style>.cl-1f6d542e{}.cl-1f646fc6{font-family:'Arial';font-size:9pt;font-weight:normal;font-style:normal;text-decoration:none;color:rgba(0, 0, 0, 1.00);background-color:transparent;}.cl-1f6496a4{margin:0;text-align:left;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:5pt;padding-top:5pt;padding-left:5pt;padding-right:5pt;line-height: 1;background-color:transparent;}.cl-1f6496a5{margin:0;text-align:right;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:5pt;padding-top:5pt;padding-left:5pt;padding-right:5pt;line-height: 1;background-color:transparent;}.cl-1f6496a6{margin:0;text-align:left;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:0;padding-top:0;padding-left:5pt;padding-right:5pt;line-height: 1;background-color:transparent;}.cl-1f6496a7{margin:0;text-align:right;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:0;padding-top:0;padding-left:5pt;padding-right:5pt;line-height: 1;background-color:transparent;}.cl-1f653244{width:43.1pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f653245{width:45.5pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f653246{width:48.1pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f653247{width:43.1pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f653248{width:45.5pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f653249{width:48.1pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65324a{width:43.1pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65324b{width:45.5pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65324c{width:48.1pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65324d{width:43.1pt;height:7.2pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65324e{width:45.5pt;height:7.2pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65592c{width:48.1pt;height:7.2pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65592d{width:43.1pt;height:14pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65592e{width:45.5pt;height:14pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65592f{width:48.1pt;height:14pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f655930{width:48.1pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f655931{width:43.1pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f655932{width:45.5pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f655933{width:43.1pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 2pt solid rgba(102, 102, 102, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f655934{width:45.5pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 2pt solid rgba(102, 102, 102, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f655935{width:48.1pt;height:13.9pt;background-color:transparent;vertical-align: middle;border-bottom: 2pt solid rgba(102, 102, 102, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f655936{width:43.1pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65801e{width:45.5pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f65801f{width:48.1pt;height:13.8pt;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f658020{width:45.5pt;background-color:transparent;vertical-align: middle;border-bottom: 2pt solid rgba(102, 102, 102, 1.00);border-top: 2pt solid rgba(102, 102, 102, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f658021{width:43.1pt;background-color:transparent;vertical-align: middle;border-bottom: 2pt solid rgba(102, 102, 102, 1.00);border-top: 2pt solid rgba(102, 102, 102, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-1f658022{width:48.1pt;background-color:transparent;vertical-align: middle;border-bottom: 2pt solid rgba(102, 102, 102, 1.00);border-top: 2pt solid rgba(102, 102, 102, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}</style><table class='cl-1f6d542e'>
Minimum Dietary Diversity for Women of Reproductive Age (MDD-W) by country
.
Values
No
Yes
Sum
count
KE
61
644
705
MO
27
161
188
TN
46
373
419
TZ
42
412
454
UG
181
699
880
Sum
357
2289
2646
row.%
KE
8.7
91.3
100.0
MO
14.4
85.6
100.0
TN
11.0
89.0
100.0
TZ
9.3
90.7
100.0
UG
20.6
79.4
100.0
Sum
13.5
86.5
100.0
col.%
KE
17.1
28.1
26.6
MO
7.6
7.0
7.1
TN
12.9
16.3
15.8
TZ
11.8
18.0
17.2
UG
50.7
30.5
33.3
Sum
100.0
100.0
100.0
variable | Estimate | Std.Error | t.value | p.value | signif | odds |
(Intercept) | -0.2700 | 0.9754 | -0.2769 | 0.7819 | 0.7633 | |
HDDS12.Tot | 0.4862 | 0.0346 | 14.0373 | 9.2e-45 | *** | 1.6262 |
cityKE.Kitui | -2.5599 | 0.6710 | -3.8154 | 1.4e-04 | *** | 0.0773 |
cityKE.Nyeri | -2.3736 | 0.6890 | -3.4449 | 5.7e-04 | *** | 0.0931 |
cityMO.Beni Mellal | -3.6939 | 0.7170 | -5.1521 | 2.6e-07 | *** | 0.0249 |
cityMO.Meknes | -3.5108 | 0.7114 | -4.9351 | 8.0e-07 | *** | 0.0299 |
cityTN.Sousse | -2.6632 | 0.6786 | -3.9247 | 8.7e-05 | *** | 0.0697 |
cityTN.Tunis | -3.5427 | 0.6951 | -5.0969 | 3.5e-07 | *** | 0.0289 |
cityTZ.Daressalaam | -2.5213 | 0.6532 | -3.8601 | 1.1e-04 | *** | 0.0804 |
cityTZ.Morogoro | -1.7107 | 0.6999 | -2.4443 | 0.0145 | * | 0.1807 |
cityUG.Kalerwe | -3.0688 | 0.6482 | -4.7344 | 2.2e-06 | *** | 0.0465 |
cityUG.Kampala | -3.7346 | 0.6372 | -5.8608 | 4.6e-09 | *** | 0.0239 |
cityUG.Kapeeka | -3.1944 | 0.6385 | -5.0033 | 5.6e-07 | *** | 0.0410 |
age | 0.0076 | 0.0094 | 0.8129 | 0.4163 | 1.0076 | |
educ3Primary | 0.7317 | 0.2325 | 3.1474 | 0.0016 | ** | 2.0786 |
educ3Secondary or more | 0.6452 | 0.2382 | 2.7088 | 0.0068 | ** | 1.9063 |
HH_size | 0.0091 | 0.0318 | 0.2850 | 0.7756 | 1.0091 | |
income_avgsomewhat lower than average | 0.0284 | 0.1982 | 0.1433 | 0.8860 | 1.0288 | |
income_avgabout average | -0.2110 | 0.2563 | -0.8231 | 0.4105 | 0.8098 | |
income_avgsomewhat higher than average | -0.2118 | 0.3028 | -0.6995 | 0.4843 | 0.8091 | |
income_avghigher than average | 0.3842 | 0.3842 | 1.0002 | 0.3172 | 1.4685 | |
hh_salary | 0.1518 | 0.0954 | 1.5923 | 0.1113 | 1.1640 | |
income_foodLess than half (from 25% to 50%) | -0.1634 | 0.2458 | -0.6646 | 0.5063 | 0.8493 | |
income_foodAbout half (50%) | 0.1735 | 0.2360 | 0.7353 | 0.4622 | 1.1895 | |
income_foodMore than half (from 50% to 75%) | -0.3103 | 0.2446 | -1.2687 | 0.2045 | 0.7332 | |
income_foodAlmost all (from 75% to 100%). | 0.0027 | 0.3027 | 0.0089 | 0.9929 | 1.0027 | |
hh_head_employRegular worker | -0.5014 | 0.3587 | -1.3979 | 0.1621 | 0.6057 | |
hh_head_employCasual worker (paid by the day) | -0.2779 | 0.3426 | -0.8113 | 0.4172 | 0.7573 | |
hh_head_employClerk (formal employment) | -0.2476 | 0.4066 | -0.6090 | 0.5425 | 0.7806 | |
hh_head_employManager | -0.1567 | 0.6712 | -0.2335 | 0.8154 | 0.8550 | |
hh_head_employBusinessman / self-employed | -0.3839 | 0.3584 | -1.0714 | 0.2840 | 0.6812 | |
hh_head_employSole trader | -0.6260 | 0.3676 | -1.7028 | 0.0886 | . | 0.5347 |
hh_head_employOther | 0.0074 | 0.5084 | 0.0146 | 0.9884 | 1.0074 | |
healty_diet | 0.2858 | 0.0674 | 4.2396 | 2.2e-05 | *** | 1.3308 |
imp_availability | 0.0232 | 0.0578 | 0.4019 | 0.6878 | 1.0235 | |
imp_nutrition | 0.0451 | 0.0664 | 0.6787 | 0.4973 | 1.0461 | |
imp_provider | -0.1794 | 0.0623 | -2.8796 | 0.0040 | ** | 0.8358 |
imp_price | -0.0560 | 0.0673 | -0.8316 | 0.4056 | 0.9455 | |
imp_envfriend | 0.1091 | 0.0555 | 1.9646 | 0.0495 | * | 1.1152 |
imp_divers | 0.1247 | 0.0684 | 1.8247 | 0.0680 | . | 1.1328 |
imp_tradition | 0.0857 | 0.0525 | 1.6342 | 0.1022 | 1.0895 | |
imp_local | -0.0645 | 0.0511 | -1.2613 | 0.2072 | 0.9376 | |
imp_product | -0.0628 | 0.0632 | -0.9936 | 0.3204 | 0.9391 | |
local_food_interest | 0.0427 | 0.0702 | 0.6080 | 0.5432 | 1.0436 | |
nutri_food_interest | -0.1013 | 0.0710 | -1.4267 | 0.1537 | 0.9037 | |
Null deviance | 1,942.2211 | 2,443.0000 | ||||
Residual deviance | 1,458.8016 | 2,399.0000 | ||||
AIC | 1,548.8016 | |||||
Pseudo_R2 | 0.2489 |
variable | LR Chisq | Df | p.value | signif |
HDDS12.Tot | 234.0440 | 1 | 7.8e-53 | *** |
city | 100.2911 | 11 | 1.6e-16 | *** |
age | 0.6636 | 1 | 0.4153 | |
educ3 | 10.0166 | 2 | 0.0067 | ** |
HH_size | 0.0816 | 1 | 0.7752 | |
income_avg | 4.3557 | 4 | 0.3600 | |
hh_salary | 2.6103 | 1 | 0.1062 | |
income_food | 7.5107 | 4 | 0.1112 | |
hh_head_employ | 5.4954 | 7 | 0.5997 | |
healty_diet | 18.2242 | 1 | 2.0e-05 | *** |
imp_availability | 0.1609 | 1 | 0.6883 | |
imp_nutrition | 0.4586 | 1 | 0.4983 | |
imp_provider | 8.5342 | 1 | 0.0035 | ** |
imp_price | 0.6990 | 1 | 0.4031 | |
imp_envfriend | 3.8535 | 1 | 0.0496 | * |
imp_divers | 3.2995 | 1 | 0.0693 | . |
imp_tradition | 2.6812 | 1 | 0.1015 | |
imp_local | 1.5968 | 1 | 0.2064 | |
imp_product | 1.0015 | 1 | 0.3169 | |
local_food_interest | 0.3679 | 1 | 0.5442 | |
nutri_food_interest | 2.0685 | 1 | 0.1504 |