hfgolino / EGAnet

43 stars 9 forks source link

Group estimation fails #125

Closed loxavia closed 1 year ago

loxavia commented 1 year ago

HI I am getting an error when I try to estimate the group network, population works fine. I have a dataset of 550 observations, 29 groups and in each four measurement points, also the data is 12 columns.

Here is the error

Computing derivatives using GLLA... |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=02s Estimating the dimensionality structure using EGA... Level: Group...Error in names(data.groups) <- paste0("Group", group.memb) : 'names' attribute [25] must be the same length as the vector [24]

hfgolino commented 1 year ago

Hi,

We have a new version of the package that will be released soon which fixes all bugs.

You can test it using the following code:

devtools::install_github("hfgolino/EGAnet", ref = "no-cpp")

Also, take note that 4 measurement points are probably not enough. You can try to set the number of embedded dimensions to 2, but that might not work as well.

Cheers,

Hudson

Hudson Golino Associate Professor Department of Psychology

E @. @.>

University of Virginia

1023 Millmont St, Office 115 Charlottesville, VA 22903

Em sex., 4 de ago. de 2023 às 03:00, Saqr @.***> escreveu:

HI I am getting an error when I try to estimate the group network, population works fine. I have a dataset of 550 observations, 29 groups and in each four measurement points, also the data is 12 columns.

Here is the error

Computing derivatives using GLLA... |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=02s Estimating the dimensionality structure using EGA... Level: Group...Error in names(data.groups) <- paste0("Group", group.memb) : 'names' attribute [25] must be the same length as the vector [24]

— Reply to this email directly, view it on GitHub https://github.com/hfgolino/EGAnet/issues/125, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFLKGYUQUAUNG3M7KCNPCTXTSFWJANCNFSM6AAAAAA3DXIJQM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AlexChristensen commented 1 year ago

Closing due to inactivity

Resolution: The update to 2.0.0 removed the need for parallelization in the Group estimation of dynEGA; therefore, this issue should no longer exist in the latest versions of the package