Page 1 of 1

Latent Class Error: arguments imply differing number of rows

Posted: Mon Nov 15, 2021 3:06 pm
by Ahmed_Hossain
Error message
Error message
download.png (19.72 KiB) Viewed 11000 times
Please help me with this problem. I tried snowRMM (Latent Class Analysis) with the Jamovi latest version software (2.2.2 current). I have a dataset consisting of 3129 rows and 18 columns/variables (6 = ordinal, 12 = nominal). When I add all the variables, an error message pops up:

"arguments imply differing number of rows: 3,4,2,5,7"

I know what it means, but how to solve this problem?
Please help. :blush:

Re: Error: arguments imply differing number of rows

Posted: Tue Nov 16, 2021 3:08 am
by seol
Hi

Could you send me an email(snow@cau.ac.kr) with a .omv file that occurs errors?

Cheers
Seol

Re: Error: arguments imply differing number of rows

Posted: Wed Nov 17, 2021 4:38 pm
by Ahmed_Hossain
Seol
Sure. I have sent you an email from ahmed.hossain1@louisiana.edu.
I have attached the database as well as the .omv file.
Please let me know any updates you have.

Re: Error: arguments imply differing number of rows

Posted: Wed Nov 17, 2021 4:56 pm
by Ahmed_Hossain
Seol
There were some issues with my ahmed.hossain1@louisiana.edu email.
I have sent it from my Gmail address (ahmedhossain090001@gmail.com).
Hope you received it.

Re: Latent Class Error: arguments imply differing number of

Posted: Fri Nov 19, 2021 8:49 am
by seol
Hi Ahmed_Hossain

The error might be occured due to the text dataset. Therefore, you have to change text dataset into integer values(from 1 to maximum number) as nominal variable format and run LCA analysis. I also attached sample dataset within poLCA R package. This sample data will help.

Cheers
Seol