Skip to content

Entropy calculation error (vector memory exhausted) #23

Description

@amyclairet

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:

  • Allocating more memory to R (does not work)
  • Running a model with ~25% of the original variables (does work)
  • Running a model with ~50% of the original variables (does work)
  • Running a model with ~75% of the original variables (does work)

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions