-
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.