-
Notifications
You must be signed in to change notification settings - Fork 29
Description
JASP Version
0.19.1
Commit ID
No response
JASP Module
SEM
What analysis are you seeing the problem on?
SEM
What OS are you seeing the problem on?
macOS Silicon
Bug Description
I am learning how to conduct structural equation modeling analysis. I am following the example that is being shown in the following video: https://www.youtube.com/watch?v=fno5LC5cKdM. I am using the data set included with JASP - Political Democracy.
When I include the following syntax, the analysis works.
#latent variables
ind60 =~ x1 + x2 + x3
dem60 =~ y1 + y2 + y3 + y4
dem65 =~ y5 + y6 + y7 + y8
#regressions
dem60 ~ alphaind60
dem65 ~ directind60 + beta*dem60
#effects of interest
indirect := alpha * beta
total := indirect + direct
proportion := indirect/total
#residual covariances
y1 ~~ y5
y2 ~~ y4 + y6
y3 ~~ y7
y4 ~~ y8
y6 ~~ y8
But when I click on the "Standardized estimates" option in Output options, I receive the following error message. "This analysis terminated unexpectedly, Error in x$[[<-
(i, value): Did not get a vector or list as column..
Stack trace
withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)
analysis(jaspResults = jaspResults, dataset = dataset, options = options)
.semParameters(modelContainer, dataset, options, ready)
.semParameterTables(modelContainer[['results']][['object']][[1]], NULL, params, options, ready, modelContainer, dataset)
[[<-
(*tmp*
, 'std.nox', value = NULL)
[[<-.jaspTableR
(*tmp*
, 'std.nox', value = NULL)
x$.enclos_env$private$setField(field, value)
[[<-
(*tmp*
, field, value = NULL)
.local(x, i, j, ..., value = value)
x$[[<-
(i, value)"

Expected Behaviour
It should include the standardized estimates in the output.
Steps to Reproduce
Error disappears when I unclick "Standardized Estimates" and it reappears when I click on "standardized estimates"
Log (if any)
No response
More Debug Information
Yes, I am
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.