Hello people,
I've been getting an error message when trying to perform a latent class analysis and a latent profile analysis, which I don't understand. The data is categorical.
For the LPA, the error message is: "Estimate profiles can only handle numeric values. The variables violating this assumption are..." And the variables listed a nominal. but integers.
For the LCA, the error message is: "dim(x) must have a positive length" (using the same variables).
Is anyone able to help with this? (The data were imported from Excel, and other analyses work).
Many thanks!
Russell
error messages with LCA and LPA with SnowRMM
Re: error messages with LCA and LPA with SnowRMM
Hi
Could you attach a file that fails analysis here?
Cheers
Seol
Could you attach a file that fails analysis here?
Cheers
Seol
Re: error messages with LCA and LPA with SnowRMM
Hi Seol,
Sure, here's the file:
https://1drv.ms/u/s!Ak18NDjxZnZr6kcHffa ... 9?e=fE6SEw
Many thanks,
Russell
Sure, here's the file:
https://1drv.ms/u/s!Ak18NDjxZnZr6kcHffa ... 9?e=fE6SEw
Many thanks,
Russell
Re: error messages with LCA and LPA with SnowRMM
Hi Russell
First, for the Latent Class analysis, the variables should be coded from 1 to maximum number, not from 0.
Second, for the Latent Profile analysis, the measure type of variables that is analyzing is continuous, not nominal.
I attached a file with the error fixed here.
Best Regards
Seol
First, for the Latent Class analysis, the variables should be coded from 1 to maximum number, not from 0.
Second, for the Latent Profile analysis, the measure type of variables that is analyzing is continuous, not nominal.
I attached a file with the error fixed here.
Best Regards
Seol
- Attachments
-
- temp3.omv
- (297.94 KiB) Downloaded 375 times
Re: error messages with LCA and LPA with SnowRMM
Many thanks Soel!
That's very kind of you to fix it as well as explain where I went wrong.
Best regards,
Russell
That's very kind of you to fix it as well as explain where I went wrong.
Best regards,
Russell