You will find in this web modules where AmericasBarometer data is used in R and RStudio. The analyses replicate results shown in several reports produced by LAPOP. These results give an outlook of how to use our data to produce statistical results.
Installing R and RStudio
Basic procedures
Importing datasets
Data manipulation
Survey weights
Descriptive statistics: nominal variables
Descriptive statistics: ordinal variables
Descriptive statistics: numerical variables
Confidence intervals
Compararing 2 means
Comparing more than 2 means
Crosstables and chi-square analysis
Correlation
Simple linear regression
Multivariate linear regression
Logistic regression