Anti-religious speech
Exercises
- Using
poLCA
, fit a two-class LCA to these data. - Create a profile plot.
- How would you label the classes?
- What can you say about the estimated class sizes? What does this mean for the prevalence of the attitudes you labeled under (2)?
- Model fit
- How many parameters are there?
- How many unique data patterns are there (fixing the sample size \(n=1713\))?
- Can you explain the number of degrees of freedom?
- Can you explain the value of the
G^2
(\(G^2\)) andX^2
(\(\chi^2\)) statistics?
Data
Read the data from the General Social Survey 1987. It’s not old, it’s a classic!
Y1 Y2 Y3
1 1 1 1
2 1 1 1
3 1 1 1
4 1 1 1
5 1 1 1
6 1 1 1
Show the data as pattern frequencies.