03_EDA_datasets_itu

Author

Sergio Uribe

Modified

May 15, 2024

Packages

Dataset

Correct the names

Select only relevant variables

Check the dependent variables

Prepare the data

Shorter Variable Names:

  1. Age: x1_age -> Age
  2. Sex: x2_sex -> Sex
  3. Residence: x3_what_is_your_place_of_residence -> Residence
  4. Region: x4_in_which_region_do_you_currently_live -> Region
  5. Income: x5_monthly_income_of_the_family -> Income
  6. Dental Care Awareness: x_awareness_of_access_to_public_dental_care_numeric -> DentalCareAwareness
  7. Information Availability: x17_overall_how_do_you_feel_about_the_availability_of_information on_state_funded_dental_care_for_children -> InfoAvailability
  8. Affordability: y_affordability_of_dental_care_for_children_numeric -> Affordability
  9. Funding Evaluation: x22_how_would_you_evaluate_the_statement_in_latvia the_funding_allocated_from_the_state_budget_for_dental_care_for_children_is_sufficient -> FundingEval
  10. Available Care: x23_what_dental_care_is_available_for_children_in_your_home_neighbourhood -> AvailableCare
  11. Access Time: x24_how_long_does_it_take_to_get_a_child_to_a_dental_care_facility with_the_transport_available_to_you -> AccessTime
  12. Acute Care Accessibility: x25_if_your_child_needs_acute_care_for_pain_or_inflammation how_accessible_is_dental_care -> AcuteCareAccess

Relevel variables

Remove some levels

Cita valstspilsēta (Daugavpils, Jelgava, Jēkabpils, Jūrmala, Liepāja, Ogre, Rēzekne, Valmiera, Ventspils)

– Accesibility –

MODEL ACCESIBILITY 1

df$accesibility_1 n percent valid_percent
Easy 102 17.3% 18.8%
Not easy 441 74.7% 81.2%
NA 47 8.0% -
Characteristic OR1 95% CI1 p-value
Age 1.06 1.01, 1.12 0.012
Sex 0.89
    Sieviete
    Vīrietis 0.86 0.10, 8.42
Residence 0.98
    Rīga
    Cita apdzīvota vieta, ciems 0.92 0.14, 6.23
    Cita pilsēta (novada pilsēta) 0.83 0.16, 4.64
    Cita valstspilsēta (DGP-JEL-JKB-JUR-LPX-OGRE-REZ-VMA-VNT) 0.70 0.12, 4.46
    Lauku teritorija 0.56 0.05, 7.99
Region 0.96
    Rīgā
    Kurzemē 1.63 0.26, 9.70
    Latgalē 1.04 0.12, 8.79
    Vidzemē 1.47 0.26, 7.81
    Zemgalē 1.22 0.19, 7.28
Income 0.65
    <1600 EUR
    ≥1600 EUR 0.86 0.45, 1.64
InfoAvailability 0.002
    Very accessible
    Easily accessible 0.55 0.13, 2.42
    Difficult to access 2.95 0.65, 13.4
    Moderately accessible 0.94 0.22, 3.99
    Very difficult to access 2.55 0.42, 18.2
Affordability 0.86 0.78, 0.95 0.003
FundingEval <0.001
    Agree
    Disagree 12.5 3.54, 48.6
    No opinion 4.58 0.94, 24.2
    Partly agree 3.60 0.99, 14.0
    Partly disagree 10.2 2.19, 52.5
AvailableCare 0.002
    Dental practice with state-funded services
    No dental practice near us 0.90 0.30, 2.84
    Dental practice with fee-only services 3.95 1.33, 14.8
    Dental practice with partial state-funded services 4.63 1.82, 13.8
    Don't know what the possibilities are 2.20 0.75, 7.57
AccessTime 0.043
    Less than half an hour
    More than one hour 5.54 1.15, 44.1
    Half an hour to one hour 2.11 0.87, 5.56
AcuteCareAccess <0.001
    I can get it at a dental practice near me
    I have to go to a dental practice that only provides services for a fee 6.40 2.47, 18.4
    I have to go to Riga to get the service I need 1.96 0.76, 5.16
    I have to go to another city to get the service 3.51 1.15, 11.6
    I have not had to get acute car 1.30 0.62, 2.71
1 OR = Odds Ratio, CI = Confidence Interval

MODEL ACCESIBILITY 2

df$accesibility_2 n percent valid_percent
Not difficult 268 45.4% 49.4%
Difficult 275 46.6% 50.6%
NA 47 8.0% -
Characteristic OR1 95% CI1 p-value
Age 1.03 0.99, 1.07 0.10
Sex 0.52
    Sieviete
    Vīrietis 1.80 0.29, 11.9
Residence 0.90
    Rīga
    Cita apdzīvota vieta, ciems 1.72 0.33, 8.43
    Cita pilsēta (novada pilsēta) 1.81 0.40, 7.64
    Cita valstspilsēta (DGP-JEL-JKB-JUR-LPX-OGRE-REZ-VMA-VNT) 2.09 0.43, 9.57
    Lauku teritorija 1.56 0.24, 9.62
Region 0.055
    Rīgā
    Kurzemē 0.91 0.20, 4.41
    Latgalē 1.70 0.32, 9.62
    Vidzemē 0.74 0.18, 3.37
    Zemgalē 0.40 0.09, 1.95
Income 0.22
    <1600 EUR
    ≥1600 EUR 1.34 0.83, 2.18
InfoAvailability <0.001
    Very accessible
    Easily accessible 2.01 0.29, 22.2
    Difficult to access 8.40 1.36, 85.5
    Moderately accessible 5.71 0.92, 59.4
    Very difficult to access 26.5 3.91, 286
Affordability 0.95 0.88, 1.02 0.13
FundingEval <0.001
    Agree
    Disagree 2.28 0.75, 7.62
    No opinion 0.53 0.11, 2.57
    Partly agree 0.80 0.24, 2.91
    Partly disagree 1.05 0.27, 4.21
AvailableCare <0.001
    Dental practice with state-funded services
    No dental practice near us 1.50 0.68, 3.29
    Dental practice with fee-only services 3.74 1.94, 7.38
    Dental practice with partial state-funded services 2.17 1.25, 3.78
    Don't know what the possibilities are 2.79 1.24, 6.41
AccessTime 0.042
    Less than half an hour
    More than one hour 2.68 1.11, 6.88
    Half an hour to one hour 1.69 0.96, 3.01
AcuteCareAccess 0.15
    I can get it at a dental practice near me
    I have to go to a dental practice that only provides services for a fee 1.93 0.94, 4.02
    I have to go to Riga to get the service I need 1.08 0.48, 2.45
    I have to go to another city to get the service 1.36 0.54, 3.45
    I have not had to get acute car 0.95 0.46, 1.99
1 OR = Odds Ratio, CI = Confidence Interval

Models together

Characteristic Very Easy/Easy + Moderate
OR1 95% CI1 p-value OR1 95% CI1 p-value
Age 1.06 1.01, 1.12 0.012 1.03 0.99, 1.07 0.10
Sex 0.89 0.52
    Sieviete
    Vīrietis 0.86 0.10, 8.42 1.80 0.29, 11.9
Residence 0.98 0.90
    Rīga
    Cita apdzīvota vieta, ciems 0.92 0.14, 6.23 1.72 0.33, 8.43
    Cita pilsēta (novada pilsēta) 0.83 0.16, 4.64 1.81 0.40, 7.64
    Cita valstspilsēta (DGP-JEL-JKB-JUR-LPX-OGRE-REZ-VMA-VNT) 0.70 0.12, 4.46 2.09 0.43, 9.57
    Lauku teritorija 0.56 0.05, 7.99 1.56 0.24, 9.62
Region 0.96 0.055
    Rīgā
    Kurzemē 1.63 0.26, 9.70 0.91 0.20, 4.41
    Latgalē 1.04 0.12, 8.79 1.70 0.32, 9.62
    Vidzemē 1.47 0.26, 7.81 0.74 0.18, 3.37
    Zemgalē 1.22 0.19, 7.28 0.40 0.09, 1.95
Income 0.65 0.22
    <1600 EUR
    ≥1600 EUR 0.86 0.45, 1.64 1.34 0.83, 2.18
InfoAvailability 0.002 <0.001
    Very accessible
    Easily accessible 0.55 0.13, 2.42 2.01 0.29, 22.2
    Difficult to access 2.95 0.65, 13.4 8.40 1.36, 85.5
    Moderately accessible 0.94 0.22, 3.99 5.71 0.92, 59.4
    Very difficult to access 2.55 0.42, 18.2 26.5 3.91, 286
Affordability 0.86 0.78, 0.95 0.003 0.95 0.88, 1.02 0.13
FundingEval <0.001 <0.001
    Agree
    Disagree 12.5 3.54, 48.6 2.28 0.75, 7.62
    No opinion 4.58 0.94, 24.2 0.53 0.11, 2.57
    Partly agree 3.60 0.99, 14.0 0.80 0.24, 2.91
    Partly disagree 10.2 2.19, 52.5 1.05 0.27, 4.21
AvailableCare 0.002 <0.001
    Dental practice with state-funded services
    No dental practice near us 0.90 0.30, 2.84 1.50 0.68, 3.29
    Dental practice with fee-only services 3.95 1.33, 14.8 3.74 1.94, 7.38
    Dental practice with partial state-funded services 4.63 1.82, 13.8 2.17 1.25, 3.78
    Don't know what the possibilities are 2.20 0.75, 7.57 2.79 1.24, 6.41
AccessTime 0.043 0.042
    Less than half an hour
    More than one hour 5.54 1.15, 44.1 2.68 1.11, 6.88
    Half an hour to one hour 2.11 0.87, 5.56 1.69 0.96, 3.01
AcuteCareAccess <0.001 0.15
    I can get it at a dental practice near me
    I have to go to a dental practice that only provides services for a fee 6.40 2.47, 18.4 1.93 0.94, 4.02
    I have to go to Riga to get the service I need 1.96 0.76, 5.16 1.08 0.48, 2.45
    I have to go to another city to get the service 3.51 1.15, 11.6 1.36 0.54, 3.45
    I have not had to get acute car 1.30 0.62, 2.71 0.95 0.46, 1.99
1 OR = Odds Ratio, CI = Confidence Interval

– Satisfaction –

MODEL satisfaction 1

df$satisfaction_1 n percent
Satisfied 206 34.9%
Not satisfied 384 65.1%
Characteristic OR1 95% CI1 p-value
Age 1.02 0.99, 1.05 0.25
Sex 0.56
    Sieviete
    Vīrietis 1.72 0.29, 14.9
Residence 0.82
    Rīga
    Cita apdzīvota vieta, ciems 1.66 0.40, 7.29
    Cita pilsēta (novada pilsēta) 1.78 0.51, 6.58
    Cita valstspilsēta (DGP-JEL-JKB-JUR-LPX-OGRE-REZ-VMA-VNT) 1.46 0.38, 5.88
    Lauku teritorija 1.17 0.23, 6.35
Region 0.77
    Rīgā
    Kurzemē 0.95 0.24, 3.64
    Latgalē 0.90 0.19, 4.33
    Vidzemē 0.71 0.19, 2.53
    Zemgalē 0.61 0.15, 2.35
Income 0.92
    <1600 EUR
    ≥1600 EUR 1.02 0.64, 1.63
InfoAvailability <0.001
    Very accessible
    Easily accessible 1.10 0.27, 5.40
    Difficult to access 3.74 0.99, 17.2
    Moderately accessible 2.90 0.77, 13.5
    Very difficult to access 10.6 2.40, 56.3
Affordability 0.99 0.92, 1.06 0.69
FundingEval <0.001
    Agree
    Disagree 2.72 0.97, 7.87
    No opinion 1.22 0.33, 4.48
    Partly agree 0.88 0.29, 2.68
    Partly disagree 1.96 0.59, 6.68
AvailableCare <0.001
    Dental practice with state-funded services
    No dental practice near us 3.68 1.68, 8.40
    Dental practice with fee-only services 4.85 2.43, 10.4
    Dental practice with partial state-funded services 3.35 1.92, 5.98
    Don't know what the possibilities are 3.02 1.47, 6.48
AccessTime 0.18
    Less than half an hour
    More than one hour 0.96 0.39, 2.55
    Half an hour to one hour 0.59 0.33, 1.05
AcuteCareAccess 0.13
    I can get it at a dental practice near me
    I have to go to a dental practice that only provides services for a fee 1.29 0.65, 2.56
    I have to go to Riga to get the service I need 1.35 0.63, 2.91
    I have to go to another city to get the service 2.27 0.94, 5.66
    I have not had to get acute car 0.82 0.43, 1.56
1 OR = Odds Ratio, CI = Confidence Interval

MODEL satisfaction 2

df$satisfaction_2 n percent
Satisfied 400 67.8%
Not satisfied 190 32.2%
Characteristic OR1 95% CI1 p-value
Age 1.03 1.00, 1.07 0.076
Sex 0.28
    Sieviete
    Vīrietis 2.64 0.44, 15.6
Residence 0.94
    Rīga
    Cita apdzīvota vieta, ciems 1.50 0.25, 7.24
    Cita pilsēta (novada pilsēta) 1.39 0.27, 5.67
    Cita valstspilsēta (DGP-JEL-JKB-JUR-LPX-OGRE-REZ-VMA-VNT) 1.64 0.30, 7.21
    Lauku teritorija 2.00 0.29, 11.6
Region 0.38
    Rīgā
    Kurzemē 1.22 0.28, 6.67
    Latgalē 1.48 0.30, 8.78
    Vidzemē 0.70 0.17, 3.62
    Zemgalē 0.78 0.18, 4.24
Income 0.33
    <1600 EUR
    ≥1600 EUR 0.78 0.48, 1.28
InfoAvailability <0.001
    Very accessible
    Easily accessible 1.96 0.24, 24.1
    Difficult to access 2.89 0.40, 31.5
    Moderately accessible 3.19 0.44, 36.0
    Very difficult to access 9.92 1.33, 112
Affordability 1.01 0.94, 1.08 0.83
FundingEval <0.001
    Agree
    Disagree 1.57 0.51, 5.57
    No opinion 0.69 0.15, 3.28
    Partly agree 0.23 0.05, 1.01
    Partly disagree 0.13 0.02, 0.78
AvailableCare <0.001
    Dental practice with state-funded services
    No dental practice near us 2.70 1.19, 6.10
    Dental practice with fee-only services 8.36 4.36, 16.5
    Dental practice with partial state-funded services 1.30 0.71, 2.37
    Don't know what the possibilities are 3.20 1.49, 6.87
AccessTime 0.21
    Less than half an hour
    More than one hour 1.09 0.49, 2.44
    Half an hour to one hour 0.61 0.33, 1.11
AcuteCareAccess 0.12
    I can get it at a dental practice near me
    I have to go to a dental practice that only provides services for a fee 1.79 0.83, 4.00
    I have to go to Riga to get the service I need 1.31 0.55, 3.15
    I have to go to another city to get the service 0.95 0.36, 2.54
    I have not had to get acute car 0.81 0.37, 1.84
1 OR = Odds Ratio, CI = Confidence Interval

– Parents preference –

MODEL parents preference

df$parents_preference n percent valid_percent
Yes 339 57.5% 58.8%
Probably no 238 40.3% 41.2%
NA 13 2.2% -
Characteristic OR1 95% CI1 p-value
Age 0.98 0.95, 1.01 0.23
Sex 0.43
    Sieviete
    Vīrietis 1.88 0.40, 9.72
Residence 0.39
    Rīga
    Cita apdzīvota vieta, ciems 0.40 0.08, 1.64
    Cita pilsēta (novada pilsēta) 0.58 0.14, 2.06
    Cita valstspilsēta (DGP-JEL-JKB-JUR-LPX-OGRE-REZ-VMA-VNT) 0.51 0.12, 1.94
    Lauku teritorija 0.25 0.04, 1.21
Region 0.65
    Rīgā
    Kurzemē 0.80 0.21, 3.57
    Latgalē 1.25 0.30, 5.88
    Vidzemē 0.94 0.26, 3.93
    Zemgalē 0.66 0.17, 2.95
Income 0.19
    <1600 EUR
    ≥1600 EUR 0.75 0.49, 1.15
InfoAvailability 0.028
    Very accessible
    Easily accessible 1.02 0.22, 7.50
    Difficult to access 2.65 0.63, 18.2
    Moderately accessible 2.21 0.52, 15.3
    Very difficult to access 3.64 0.83, 25.7
Affordability 1.08 1.01, 1.15 0.016
FundingEval 0.002
    Agree
    Disagree 3.23 1.05, 12.3
    No opinion 2.25 0.55, 10.5
    Partly agree 1.05 0.30, 4.26
    Partly disagree 2.24 0.61, 9.60
AvailableCare 0.011
    Dental practice with state-funded services
    No dental practice near us 1.42 0.69, 2.90
    Dental practice with fee-only services 1.80 1.02, 3.16
    Dental practice with partial state-funded services 1.95 1.18, 3.24
    Don't know what the possibilities are 2.88 1.43, 5.89
AccessTime 0.68
    Less than half an hour
    More than one hour 0.77 0.37, 1.61
    Half an hour to one hour 0.83 0.49, 1.37
AcuteCareAccess 0.083
    I can get it at a dental practice near me
    I have to go to a dental practice that only provides services for a fee 0.98 0.51, 1.87
    I have to go to Riga to get the service I need 1.82 0.88, 3.78
    I have to go to another city to get the service 1.69 0.75, 3.83
    I have not had to get acute car 0.83 0.43, 1.58
1 OR = Odds Ratio, CI = Confidence Interval