Canonical Analysis using R Notebook
Description of the data For our analysis example, we are going to expand example 1 about investigating the associations between psychological measures and academic achievement measures.We have a data file, mmreg.dta, with 600 observations on eight variables.
The psychological variables are
- locus_of_control
- self_concept
- motivation
The academic variables are
- standardized tests in reading (read)
- writing (write)
- math (math)
- science (science)
the variable female is a zero-one indicator variable with the one indicating a female student.
References: https://stats.idre.ucla.edu/r/dae/canonical-correlation-analysis/