## vote pbldmn stflife imbgeco
## Min. :1.000 Min. :1.000 Min. : 0.000 Min. : 0.000
## 1st Qu.:1.000 1st Qu.:2.000 1st Qu.: 7.000 1st Qu.: 4.000
## Median :1.000 Median :2.000 Median : 8.000 Median : 5.000
## Mean :1.322 Mean :1.969 Mean : 7.602 Mean : 4.868
## 3rd Qu.:2.000 3rd Qu.:2.000 3rd Qu.: 8.000 3rd Qu.: 6.000
## Max. :3.000 Max. :2.000 Max. :10.000 Max. :10.000
## NA's :2 NA's :2 NA's :1 NA's :42
## rlgblg rlgdgr gndr agea
## Min. :1.000 Min. : 0.00 Min. :1.000 Min. :14.00
## 1st Qu.:1.000 1st Qu.: 1.00 1st Qu.:1.000 1st Qu.:36.00
## Median :2.000 Median : 5.00 Median :2.000 Median :52.00
## Mean :1.625 Mean : 4.25 Mean :1.552 Mean :50.74
## 3rd Qu.:2.000 3rd Qu.: 7.00 3rd Qu.:2.000 3rd Qu.:65.00
## Max. :2.000 Max. :10.00 Max. :2.000 Max. :95.00
## NA's :2 NA's :4 NA's :3
## dvrcdeva marsts pdjobev wrkctra
## Min. :1.000 Min. :1.000 Min. :1.000 Min. :1.000
## 1st Qu.:2.000 1st Qu.:4.000 1st Qu.:1.000 1st Qu.:1.000
## Median :2.000 Median :6.000 Median :1.000 Median :1.000
## Mean :1.814 Mean :5.116 Mean :1.101 Mean :1.334
## 3rd Qu.:2.000 3rd Qu.:6.000 3rd Qu.:1.000 3rd Qu.:2.000
## Max. :2.000 Max. :6.000 Max. :2.000 Max. :3.000
## NA's :940 NA's :1015 NA's :324
## Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
## 0.000 4.000 5.000 4.868 6.000 10.000 42
-> according to the histogram and the summary i may say that the variable is distributed normally
## 0 - no_c 1 - limited_c 2 - unlimited_c NA's
## 131 271 1193 324
##
## One-way analysis of means
##
## data: data$imbgeco and data$wrkctra
## F = 5.3542, num df = 2, denom df = 1565, p-value = 0.004815
## Df Sum Sq Mean Sq F value Pr(>F)
## data$wrkctra 2 41 20.66 5.354 0.00482 **
## Residuals 1565 6040 3.86
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 351 observations deleted due to missingness
p-value is small - anova is significant. Let’s check it closer. Accorsing to the TukeyHSD test significance difference is between :
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = data$imbgeco ~ data$wrkctra)
##
## $`data$wrkctra`
## diff lwr upr p adj
## 1 - limited_c-0 - no_c 0.49801691 0.002106044 0.9939278 0.0487561
## 2 - unlimited_c-0 - no_c 0.59783347 0.167258127 1.0284088 0.0032935
## 2 - unlimited_c-1 - limited_c 0.09981655 -0.211329127 0.4109622 0.7321062
To sum up this part I would say that group with no contract differs a lot from those with contract and people from this group give lower grade to the point if immigration from the country is good or bad to its economy.