jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
59 stars 29 forks source link

cfa[Bug]: #2865

Closed ajames0001 closed 3 months ago

ajames0001 commented 3 months ago

JASP Version

0.19.0

Commit ID

No response

JASP Module

Factor

What analysis are you seeing the problem on?

No response

What OS are you seeing the problem on?

macOS Silicon

Bug Description

CFA stopped image

Expected Behaviour

CFA OUTPUT

Steps to Reproduce

  1. RE-RUN happens every time
  2. ...

Log (if any)


Confirmatory Factor Analysis

Model fit

Chi-square test -- Baseline model |   | 85742.086 |   | 276 |   |   |   |   Factor model |   | 4366.981 |   | 249 |   | < .001 |     Note. The estimator is DWLS and the test statistic is scaled.shifted because there are categorical variables in the data. You may consider changing the standard error method to 'robust'.
This analysis terminated unexpectedly.

Error in diag(scales) %*% truevar: non-conformable arguments

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)

.cfaTableReliability(jaspResults, options, cfaResult)

semTools::compRelSEM(cfaResult[['lav']], return.total = TRUE)

omegaCat(truevar = commonCov, denom = totalCov, threshold = threshold[[b]][myIndNames], scales = latScales[[b]][myIndNames])

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

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.
juliuspfadt commented 3 months ago

@ajames0001 thanks for creating the issue. This is a duplicate of https://github.com/jasp-stats/jasp-issues/issues/2294. We cant fix if the maintainer of the R-package does not fix it.