File Exchange > Data Analysis >    Structural Equation Modeling

OriginLab Technical Support
Date Added:
Last Update:
Downloads (90 Days):
Total Ratings:
File Size:
333 KB
Average Rating:
File Name:
File Version:
Minimum Versions:

Perform structural equation modeling optimization.

Screen Shot and Video:

  • Purpose
    This app is for structural equation modeling optimization.

  • Installation
    Download the file Structural Equation Modeling.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps gallery window.

    Note: If originpro package is not the latest version, please upgrade it. Click menu Connectivity: Python Packages... to open Python Packages dialog. And then select originpro, and then click Upgrade button to upgrade it.
  • Operation
    Click the app icon from the Apps gallery window. Then a dialog will pop up with multiple tabs. And then specify the data and model, and change other settings in dialog accordingly, then click OK button.

  • Dialog Settings

    • Data Tab: This tab is for specifying data, including input data and prediction data.

      • Input Data: In this box, you can choose the data for the model. The data is from column, and the column can be from Project, Current Folder (Include Subfolders), Current Workbook and Current Worksheet. For each column been selected as input data, it needs to have an identifier, which needs to be the same with the variable name defined in model. And this identifier can be in Long Name, Units, or Comments. When you filter the data by Columns in dropdown, the available columns will be listed in the left Available Columns table, and those have been selected as input data will be listed in the right Selected Columns table.

      • Prediction Data: In this box, you can change the status of Perform Prdiction checkbox to make a prediction or not. If checked, the similar options as Input Data will be shown for prediction data selection.

    • Model Tab: This tab is for model definition. The algorithm of this app is using semopy, and the model definition syntax follows the instruction in this page.

      • Specify Description By: This dropdown is used to tell how to get the model. From File is to load the model description from a file, and Typing is to write the model description in the Description text area below, and Definition will help you to define the model according to the relations, operations and constraints.

      • Description: Show the description of the model. When Specify Description By is Typing, this text area is editable for writing the description manually.

      • Definition: This is a box shown when Specify Description By is Definition, and provides the convenience to defining a model according to the concepts of model mentioned in syntax page. The concepts include relations (regression, measurement, covariance), operations and constraints (latent, ordinal, start value, bound, constraint).

      • Model Parameters: This box provides parameter settings for model, including Mimic lavaan and Baseline Model. If Mimic lavaan is checked, output variables are correlated and not conceptually identical to indicators. lavaan treats them that way, but it's less computationally effective. And if Baseline Model is checked, the model will be set to baseline model. Baseline model here is an independence model where all variables are considered to be independent with zero covariance. Only variances are estimated.

    • Setting Tab: This tab is some settings for the fitting procedure.

      • Fit: In this box, you can select objective function to minimize and optimization method.

        • Objective Function to Minimize: Option include MLW, FIML, ULS, GLS, WLS, and DWLS.

        • Optimization Method: Choose a method for optimizing the model, and available methods include Nelder-Mead, Powell, CG, BFGS, Newton-CG, L-BFGS-B, TNC, COBYLA, SLSQP, Trust-Constr, DogLeg, Trust-NCG, Trust-Exact, and Trust-Krylov.

      • Factor scores Estimation: Check to perform factor scores estimation.

      • Estimate Standardized Coefficients: Check to also output the standardized coefficients.

    • Statistics Tab: This tab provides the options for statistical calcuation of the input data. For more details, please refer to Quantities and Computation Control.

    • Output Tab: Provides options for where to output the results, in New Sheet or sheets in New Book.

    • OK and Cancel Buttons: Click OK button to perform the structural equation modeling optimization, and output the results and close dialog, and click Cancel button to close the dialog only.


2023/4/25 v1.2 Fix installation issue
2024/1/22 v1.3 Support for estimating standardized coefficients

Reviews and Comments:
05/15/2024cornelius.chisambi.42sThis is just too brief. I do not understand. Please put a video and explain into details as well as how to use the results.

05/15/2024cornelius.chisambi.42sThis is just too brief. I do not understand. Please put a video and explain into details as well as how to use the results.

10/10/2023OriginlabHi, heng1998

There is a tutorial on this page. Could you see whether you can follow the steps on the tutorial? It would help if you can provide us your data and detailed error you met so that we can further identify your problem.

10/09/2023heng1998I can't use it. Even after downloading and installing the required packages according to the specified requirements, I am still unable to use the structural equation modeling feature.

05/07/2023OriginLabHi aruntram,
We have fixed a similar issue in the newest version, please upgrade your app to the newest version and have a try.

05/06/2023aruntramThe app is not working. Phyton package is needed . Please resolve this issue

03/15/2023906506938The app is fine. Which version of python is used inside.

03/15/2023906506938The app is fine. Which version of python is used inside.

06/29/2022Origin SunHope to have a video tutorial

05/04/2022abilalPlease provide some explanation/tutorial/case study video if possible. Thanks