Jason Cairns
2022-09-13
Data: countryStudy, countryOrig, yearsStudy, remittance
See also R Graph Gallery
Histogram
Scatter plot
Barplot
Pie chart
Denmark | New Zealand | |
No Remit | 67 | 120 |
Remit | 133 | 80 |
> cor(yearsStudy, remittance)
[1] 0.2038152
> confint(estRemittanceMean)
2.5 % 97.5 %
(Intercept) 2435.021 3076.689
> chisq.test(remit, countryStudy)
Pearson's Chi-squared test with Yates' continuity correction
data: remit and countryStudy
X-squared = 27.155, df = 1, p-value = 1.878e-07