dlinzer / poLCA

Polytomous Variable Latent Class Analysis (R package)
https://dlinzer.github.io/poLCA/
48 stars 17 forks source link

Entropy calculation error (vector memory exhausted) #23

Open amyclairet opened 2 years ago

amyclairet commented 2 years ago

Hello,

I'm using poLCA in my research at the moment & have had some issues using the poLCA.entropy() function. Specifically, when I attempt to run my entire model through this function, vector memory is exhausted.

I have tried:

I am working with data from roughly 1,900 participants across 15 variables. I cease being able to calculate entropy once 12 variables are included in the model.

Is this a known issue? Is there a maximum amount of data which can be input to poLCA for entropy to be calculated?

I am running R version 4.0.3 in R Studio version 1.4.1103 on macOS Monterey (12.2.1).

Thank you!