Tools for reading Trends in International Mathematics and Science Study (TIMSS) international database files stored in R format < https://timss2023.org/data/>, merging the student questionnaire and student achievement files, and preparing questionnaire variables (missing-value codes, reversed agreement scales and yes/no items). The package also fits a multiple linear regression of the average of the five plausible values on selected predictors, reporting standardized coefficients, correlations and variance inflation factors, and provides heteroscedasticity diagnostics (Breusch-Pagan test and HC3 robust standard errors). Sampling weights and replicate weights are not applied; for design-based estimation see the packages 'intsvy' and 'RALSA'.
Helper functions for regression analysis of TIMSS grade 8 student data (student questionnaire and achievement files in R format).
library(timss8reg)
siswa <- timss_baca("C:/path/to/R Data", "bsg", "bhr")
nilai <- timss_baca("C:/path/to/R Data", "bsa", "bhr")
dat <- timss_gabung(siswa, nilai)
dat <- timss_nilai_rata(dat)
The package does not contain real TIMSS data. Download the data from https://timss2023.org/data/.