Skip to content

[Crash]: SEM Code not working #3869

@surabhiroy10-gif

Description

@surabhiroy10-gif

System Info

This is what JASP is showing :
This analysis terminated unexpectedly.

Error in names(indirect_effects) <- effect_names: 'names' attribute [2169] must be the same length as the vector [136]

Stack trace
tryCatchOne(expr, names, parentenv, handlers[[1]])

doTryCatch(return(expr), name, parentenv, handler)

withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)

analysis(jaspResults = jaspResults, dataset = dataset, options = options)

.semFitTab(jaspResults, modelContainer, dataset, options, ready)

.semComputeResults(modelContainer, dataset, options)

.semEffectsSyntax(originalSyntax, syntaxTable, regressions, dataset, options)

To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports

This. is my code : # Measurement model
Care_latent =~ CareP1 + CareP2 + CareP3
Face_latent =~ FaceP1 + FaceP2 + FaceP3 + FaceP4
IndSelfCon_latent =~ SelfConP1_Ind1 + SelfConP2_Ind2 + SelfConP3_Ind3
InterSelfCon_latent =~ SelfConP4_Inter1 + SelfConP5_Inter2
Stress_latent =~ StressP1 + StressP2 + StressP3
ActiveCoping_latent =~ ActiveCopingP1 + ActiveCopingP2
AvoidantCoping_latent =~ AvoidantCopingP1 + AvoidantCopingP2
EmotionalCoping_latent =~ EmotionalCopingP1 + EmotionalCopingP2
Attitude_latent =~ AttitudeP1 + AttitudeP2 + AttitudeP3
Intention_latent =~ Intention1 + Intention2 + Intention3
PBC_latent =~ PBC1 + PBC2 + PBC3
Stereotype_latent =~ StereotypeP1 + StereotypeP2 + StereotypeP3 + StereotypeP4

Structural paths

Face_latent ~ Stereotype_latent + Care_latent + IndSelfCon_latent + InterSelfCon_latent
Stress_latent ~ IndSelfCon_latent + InterSelfCon_latent + Care_latent + ActiveCoping_latent + AvoidantCoping_latent + EmotionalCoping_latent
ActiveCoping_latent ~ Stereotype_latent + Face_latent + Care_latent + IndSelfCon_latent + InterSelfCon_latent
AvoidantCoping_latent ~ Stereotype_latent + Face_latent + Care_latent + IndSelfCon_latent + InterSelfCon_latent
EmotionalCoping_latent ~ Stereotype_latent + Face_latent + Care_latent + IndSelfCon_latent + InterSelfCon_latent
Attitude_latent ~ ActiveCoping_latent + AvoidantCoping_latent + EmotionalCoping_latent + Stereotype_latent + Face_latent + Care_latent + IndSelfCon_latent + InterSelfCon_latent
Intention_latent ~ Attitude_latent + ActiveCoping_latent + AvoidantCoping_latent + EmotionalCoping_latent + Care_latent + PBC_latent + IndSelfCon_latent + InterSelfCon_latent

log file below

Metadata

Metadata

Assignees

Labels

CrashIssues that are causing unexpected termination, and crashesModule: jaspSem

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions