My first data called Alfrate came from the ONE which is the office of national statistic in the Dominican Republic (“http://dwh.one.gob.do:9704/xmlpserver/Portal/SINID/D02-I0300029/D02-I0300029.xdo?_xpf=&_xpt=2&_xf=html&_xmode=2“) it gives the rate of literacy in the country among men and women.
The second data came from the same office (ONE) and it gives the data for the Youth unemployment rate among women and men (“http://dwh.one.gob.do:9704/xmlpserver/Portal/Series%20Hist%C3%B3ricas/Demogr%C3%A1ficas%20y%20sociales/Empleo/PEA,%20empleo%20y%20desempleo/D04-I0100030/D04-I0100030.xdo?_xpf=&_xpt=2&_xf=html&_xmode=2“)
## Year Men1 Women1 Total1
## Min. :2000 Min. :96.10 Min. :93.20 Min. :94.70
## 1st Qu.:2004 1st Qu.:96.80 1st Qu.:94.55 1st Qu.:95.55
## Median :2007 Median :97.70 Median :95.80 Median :96.50
## Mean :2007 Mean :97.32 Mean :95.48 Mean :96.38
## 3rd Qu.:2010 3rd Qu.:97.95 3rd Qu.:96.22 3rd Qu.:97.02
## Max. :2014 Max. :98.25 Max. :97.38 Max. :97.71
## Women Men Total
## Min. :38.72 Min. :15.53 Min. :24.54
## 1st Qu.:41.37 1st Qu.:19.44 1st Qu.:28.89
## Median :43.19 Median :21.77 Median :30.30
## Mean :43.36 Mean :20.92 Mean :29.73
## 3rd Qu.:45.20 3rd Qu.:22.55 3rd Qu.:30.95
## Max. :47.99 Max. :24.27 Max. :32.80
## Year Men1 Women1 Total1 Women Men
## 2007.00000 97.32467 95.47933 96.38133 43.35667 20.91533
## Total
## 29.73000
## Year Men1 Women1 Total1 Women Men Total
## 4.4721360 0.7385688 1.1894805 0.9271837 2.6231815 2.3764014 2.1998864
##
## Call:
## lm(formula = Women ~ Women1, data = Mer)
##
## Residuals:
## Min 1Q Median 3Q Max
## -3.2874 -1.9196 -0.5344 1.8692 5.2136
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) -13.2147 56.2563 -0.235 0.818
## Women1 0.5925 0.5892 1.006 0.333
##
## Residual standard error: 2.622 on 13 degrees of freedom
## Multiple R-squared: 0.07218, Adjusted R-squared: 0.000812
## F-statistic: 1.011 on 1 and 13 DF, p-value: 0.3329
You can also embed plots, for example:
Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.