SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  how to run a confirmatofy factor analysis?

    Posted Mon July 05, 2021 08:11 AM

    I want to run a confirmatory factor analysis using SPSS Lavaan- I did it already and it works, but now i get the trouble report: "Warning # 6894. Command name: BEGIN PROGRAM

    >The external program exited unexpectedly and lost its content, a new external

    >program will startup to execute the rest of job."

    How to solve this problem? Thank you






    #SPSSStatistics
    #Support
    #SupportMigration


  • 2.  RE: how to run a confirmatofy factor analysis?
    Best Answer

    Posted Mon July 05, 2021 01:09 PM

    The lavaan documentation says that it requires R 4.0. That means you need to be using SPSS Statistics version 28. What version are you using?

    I ran a simple model without a problem, but it sometimes happens that an error in the R code in BEGIN PROGRAM causes the R process to fail resulting in the message you are seeing. Try running small parts of the program to see if that reveals an issue.






    #SPSSStatistics
    #Support
    #SupportMigration


  • 3.  RE: how to run a confirmatofy factor analysis?
    Best Answer

    Posted Tue July 06, 2021 06:08 AM

    Thank you.

    I use SPSS Version 26 and have R 3.5 - usually it works within this combination.

    Running small parts of the program didn´t make change- still the same error.






    #SPSSStatistics
    #Support
    #SupportMigration


  • 4.  RE: how to run a confirmatofy factor analysis?
    Best Answer

    Posted Tue July 06, 2021 12:43 PM

    What happens if you just run this?

    begin program r.

    print(sessionInfo())

    end program.






    #SPSSStatistics
    #Support
    #SupportMigration