Chapter 12 Multiple choice questions

Quiz Content

not completed
. You can load in a dataset on political democracy by typing:
library(lavaan)
dataset <- PoliticalDemocracy
To find out what the variables mean, use help(PoliticalDemocracy).
Calculate the covariance matrix of the dataset using the cov function. Which pair of variables has the highest covariance?

not completed
. Now calculate correlation coefficients between all the variables. What is the largest correlation between two different variables?

not completed
. As you will have seen from the help file, the data set describes industrialisation and political democracy in developing countries. We will test a model that has three latent variables intended to represent: industrialisation in 1960, democracy in 1960 and democracy in 1965. You can create the model as follows:
inddemomodel <- 'industrialisation =~ x1 + x2 + x3 + poldem1960 + poldem1965
poldem1960 =~ y1 + y2 + y3 + y4 + poldem1965
poldem1965 =~ y5 + y6 + y7 + y8'

Then fit the model to the dataset as follows:
fit <- cfa(inddemomodel, data = dataset)
summary(fit, fit.measures = TRUE)
What is the value of the comparitive fit index (CFI)?

not completed
. What is the unstandardised parameter estimate for the link between the industrialisation latent variable and the x3 parameter? (Hint: you can find this out either from the main output, or by plotting the model with whatLabels='par' using the semPaths function from the semPlot package).

not completed
. Plot the model with standardized parameters (whatLabels='std'). Which two latent variables have the highest standardized parameter estimate joining them?

not completed
. Create a new model where there is no link between the industrialization and political democracy 1965 latent variables. This model has one less free parameter than the earlier one. According to Akaike's information criteria (AIC) which model provides the best description of the data set?

not completed
. An alternative approach to removing a parameter is to use the Wald test. Using the method described on page 185, respecify the model so that it has a weight parameter (b1) applied to the poldem1965 variable in the line where the industrialisation variable is specified. Then rerun the model, and conduct a Wald test with the constraint that 'b1 == 0'. What is the value of the Wald statistic, and its accompanying p value?

not completed
. Inspect the modification indices of your original fit using the modindices function. Which variable has the largest modification index for a link with the industrialisation latent variable?

not completed
. Conduct a Lagrange multiplier (score) test to see if adding the link identified in the previous question significantly improves the model. What is the result?

not completed
. What is the change in root mean squared error between the original model, and the model with the extra link added?

Back to top