I'm exploring an LCA model with a household survey we've ran. This is looking at the activities that citizens do in their day-to-day lives (e.g. sports they play, technology they have access to, etc.). Each question has ordinal answers, as respondents answered on a Likert scale (e.g. 'I run every day', 'I run a few times a week', 'I run every month', ' I don't run', etc.).
I think there's value in exploring this data through an LCA approach to see if there is some framing we can provide beyond analysing the 2,000 responses in the aggregate. I've just started on this, and used the below code:
Code:
. gsem (Internet Phone Skilllevel Ownbusiness Gender <-), ologit lclass(C 3)
Code:
convergence not achieved
Code:
* Example generated by -dataex-. For more info, type help dataex clear input int Respondent byte(COVID19impact Internetaccess Phonepackage Reading Cycling Running Kayaking Skating Surfing Basketball Football Soccer Baseball Hiking Skilllevel Ownbusiness) int Age byte(Gender Education Urban) 89 2 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 70 3 6 0 164 3 0 0 1 1 1 0 0 1 1 1 0 0 1 3 1 61 2 9 2 754 2 0 1 1 0 1 0 0 1 1 0 0 0 0 0 0 59 3 2 2 763 3 0 1 1 0 1 1 1 1 1 1 0 1 0 1 0 37 3 2 3 181 3 0 1 0 1 1 1 1 1 1 1 0 0 0 1 1 62 3 6 3 657 3 0 1 0 1 1 0 0 1 1 1 0 1 0 1 1 64 3 4 2 221 2 0 1 0 0 0 0 0 1 0 0 0 1 0 1 1 50 3 2 2 1025 3 0 1 0 1 1 0 0 1 1 1 0 0 0 1 2 33 3 4 3 1215 3 0 1 0 0 1 0 1 1 0 1 0 0 1 2 0 21 3 4 0 769 3 0 1 0 1 1 1 1 1 1 0 0 0 0 2 0 31 3 5 1 190 1 0 1 0 1 0 0 0 0 0 0 0 0 0 2 0 61 3 8 0 267 3 0 1 0 1 1 0 0 1 1 1 0 1 0 2 0 40 3 2 2 276 3 0 1 0 1 0 0 0 1 1 0 0 0 1 2 1 36 0 8 1 384 2 0 1 0 1 1 1 1 1 1 1 1 0 0 2 1 56 2 4 3 397 2 0 1 0 0 1 0 0 0 0 0 0 0 1 2 1 50 2 4 0 544 3 0 1 0 0 1 1 1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3 0 2 0 0 1 1 0 0 1 1 1 1 0 2 2 41 3 4 2 1135 3 0 2 1 1 1 0 1 1 0 0 0 0 0 3 0 39 2 3 1 419 3 0 2 0 1 1 1 1 1 1 1 1 0 0 3 0 63 2 4 3 1231 2 0 2 1 1 1 1 1 1 1 1 1 1 1 3 0 22 2 8 2 994 3 0 2 0 0 1 1 1 1 0 1 0 1 0 3 0 28 2 2 2 822 3 0 2 0 0 1 1 1 1 0 1 0 1 0 3 0 23 2 5 2 740 3 0 2 0 1 1 0 1 1 1 1 1 0 1 3 0 42 2 4 3 1046 2 0 2 0 0 1 0 0 0 1 1 0 0 0 3 0 71 2 1 0 1301 3 0 2 0 0 1 1 1 1 1 1 0 1 0 3 0 20 2 8 2 316 3 0 2 1 1 0 1 0 1 0 1 0 1 0 3 0 69 3 8 1 632 3 0 2 1 1 0 0 0 0 0 0 0 0 0 3 0 50 3 5 3 264 3 0 2 0 1 0 0 0 1 1 1 0 0 0 3 0 72 3 2 2 end
0 Response to Not achieving convergence in Latent Class Analysis
Post a Comment