Skip to content

[Bug]: SEM: Error is Node Stack Overflow #2908

@kr-99

Description

@kr-99

JASP Version

0.19.0

Commit ID

No response

JASP Module

SEM

What analysis are you seeing the problem on?

while running the model for SEM analysis

What OS are you seeing the problem on?

Windows 10

Bug Description

jaspSem::SEM(
version = "0.19",
additionalFitMeasures = TRUE,
ave = TRUE,
errorCalculationMethod = "robust",
estimator = "dwls",
models = list(list(name = "Model 1", syntax = list(columns = list("JaspColumn_0_Encoded", "JaspColumn_1_Encoded", "JaspColumn_2_Encoded", "JaspColumn_3_Encoded", "JaspColumn_12_Encoded", "JaspColumn_13_Encoded", "JaspColumn_14_Encoded", "JaspColumn_7_Encoded", "JaspColumn_8_Encoded", "JaspColumn_9_Encoded", "JaspColumn_10_Encoded", "JaspColumn_16_Encoded", "JaspColumn_17_Encoded"), model = "certainty =~ JaspColumn_0_Encoded + JaspColumn_1_Encoded +JaspColumn_2_Encoded + JaspColumn_3_Encoded

graph =~ JaspColumn_12_Encoded + JaspColumn_13_Encoded + JaspColumn_14_Encoded

riskcalculation =~ JaspColumn_16_Encoded + JaspColumn_17_Encoded

numeracy =~ JaspColumn_7_Encoded + JaspColumn_8_Encoded + JaspColumn_9_Encoded + JaspColumn_10_Encoded

riskliteracy =~ certainty + graph + numeracy + riskcalculation

certainty ~ graph
graph ~ numeracy
numeracy ~ certainty
graph ~ riskcalculation
riskcalculation ~ numeracy
riskcalculation ~ certainty", modelOriginal = "certainty =~ certainty1 + certainty2 +certainty3 + certainty4

graph =~ graph1 + graph2 + graph3

riskcalculation =~ riskcalculation2 + riskcalculation3

numeracy =~ numeracy1 + numeracy2 + numeracy3 + numeracy4

riskliteracy =~ certainty + graph + numeracy + riskcalculation

certainty ~ graph
graph ~ numeracy
numeracy ~ certainty
graph ~ riskcalculation
riskcalculation ~ numeracy
riskcalculation ~ certainty"))),
naAction = "listwise",
pathPlot = TRUE,
pathPlotParameter = TRUE,
rSquared = TRUE,
standardizedEstimate = TRUE)
JASP SEM bug.docx

Expected Behaviour

I ran the same code in CFA and it modelled it correctly. But I am not able to run he analysis in SEM. I do not know what is the expected behavior.

Steps to Reproduce

  1. I pasted the following in the Model, and it wont run.
    certainty =~ certainty1 + certainty2 +certainty3 + certainty4

graph =~ graph1 + graph2 + graph3

riskcalculation =~ riskcalculation2 + riskcalculation3

numeracy =~ numeracy1 + numeracy2 + numeracy3 + numeracy4

riskliteracy =~ certainty + graph + numeracy + riskcalculation

certainty ~ graph
graph ~ numeracy
numeracy ~ certainty
graph ~ riskcalculation
riskcalculation ~ numeracy
riskcalculation ~ certainty

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Assignees

Labels

Bug: HighBugs that are negatively affecting the area of the program, but don't need immediate fix.Module: jaspSemOS: Windows 10

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions