File Exchange > Data Analysis >    General Linear Regression

Author:
OriginLab Technical Support
Date Added:
10/25/2016
Last Update:
4/25/2023
Downloads (90 Days):
589
Total Ratings:
1
File Size:
118 KB
Average Rating:
File Name:
GLR.opx
File Version:
1.10
Minimum Versions:
License:
Free
Type:
App
Summary:

Perform regression to study the relationship between a response variable and categorical or continuous independent variables.

Screen Shot and Video:
Description:

PURPOSE
This tool can be used to perform linear regression with categorical or continuous independent variables. And it can also be used for ANCOVA by creating dummy variables for categorical independent variables. Features include:

  • Support custom model with interaction terms.
  • Use calculated coefficients for predictions.
  • Output effects test result to determine which effects are significant.
  • Create fitted plot and diagnostic graphs.

INSTALLATION
Download the file GLR.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.
NOTE: This tool requires OriginPro.

OPERATION

  1. Click the General Linear Regression icon in the Apps Gallery window to open the dialog.
  2. In the Input tab, choose a column for Dependent Variable, and columns for Continuous and Categorical Independent Variables.
    Either Continuous or Categorical can be empty, but they can't both be empty. 
    If Categorical data is chosen, Reference Factor Level for each column can be specified.
  3. In the Settings tab, Model Type provides two options: Main Effects and Custom Model.
    If Custom Model is chosen, you can add any main effects and interaction terms to the model in the opened dialog. You can also modify the model by clicking the button on the right of Model box. Include Intercept option specifies whether to include the intercept parameter in the regression. Coding Type is used to define the coding scheme for categorical independent variables. Type (1, 0) estimates the difference between each level mean and the reference level's mean while (-1, 0, 1) estimates the difference between each level mean and the overall mean.
  4. In the Quantities tab, check options to control which results to output in the report sheet, including Fit Parameters (Standard Error, Confidence Limits, t-Value and Prob>|t|), Fit Statistics (Residual Sum of Squares, Reduced Chi-Sqr, R Value, R-Square and Adj. R-Square) and Effect Tests.
  5. In the Fits and Diagnostics tab, specify whether to output Confidence Limits of Fitted Y, Residuals (Regular, Standardized, Studentized and Studentized Deleted) and Influence (Leverages, Cook's Distance and Atkinson's T).
  6. In Plots tab, specify whether to create Fitted Plot and Residual Plot. Residual plot is a four-panel graph including residual vs row order plot, histogram of residual, residual vs fitted Y plot and P-P plot for residual. And Residual Type can be specified.
  7. Click OK button, a report sheet, a report data sheet and a plot data sheet will be created.

NOTES

  1. If a row in input data contains one or more missing values, the entire row will be excluded from the analysis.
  2. Only the entire column is supported for input data. 
  3. Data Filter is not supported in the analysis.

Updates:

v1.1 4/20/2023 Updated to make it compatible with Origin 2023b.

Reviews and Comments:
02/19/2023leewei41