File Exchange > Data Analysis >    Design of Experiments

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

DOE: Design an experiment, fit a model to experimental data, and find best factor settings that optimize responses.

Screen Shot and Video:


This DOE app helps you determine the relationship between factors affecting a process and the output of that process.

You can use it to design an experiment, analyze experimental data and optimize output.


  • Various types of designed experiments to help you create a design.
  • Customization of design table by replication, randomization, blocking, etc.
  • Fit of mathematical model to data from test runs.
  • Diagnostic statistics and graphs to help you interpret the results.
  • Optimization of response after defining factor constraints.

      Updates since OriginPro 2024:

  • Support available design for 2-level factorial and central composite design (with default parameters).
  • Save and load design parameters for Power and Sample Size and Create Design.

       Please read this blog to learn the updates.



The app requires R software (minimum required version 3.4.1) and packages (rsm, FrF2, qpcR).

For Origin version older than 2020b:

  1. Install R or upgrade it before installing the App (download R from here).
  2. Download the file DOE.opx, and drag-and-drop the file onto Origin workspace to install the App.
  3. The App will start downloading dependent R packages. Wait a few minutes until it is completed.

For Origin 2020b and later versions:

  1. Run Origin as administrator. Download the file DOE.opx and install it by choosing Tools->Package Manager->Tools->Install a Package.
  2. After App installation, a pop-up dialog will ask if you agree to download and install R software before it proceeds. (If automatic downloading fails, you can install the App again or download R from here.)
  3. Still in Admin mode, click the installed DOE in Apps Gallary window once to install dependent R packages for DOE. Wait a few minutes until it is completed.

Note: If downloading packages fails, a pop-up dialog will ask you to copy 2 lines of commands from Results Log and run them in R to complete downloading packages. 
          If you reinstall or upgrade R after installing the app, it would not work properly. Please reinstall the app.


Click the app icon to open the dialog with 4 buttons. Click one of them to open a dialog. 

  • Power and Sample Size

    Determine sample sizes before creating a design. Calculate power for a given sample size or sample sizes for given power values.

  • Create Design

    Identify factors and levels for each factor. Use techniques of the design to create a design table that makes the experiment cost-effective. Conduct a series of experiments and collect response data for each run in the table. The following types of design are supported.

    • Factorial Design
      • 2-Level Factorial
      • Plackett-Burman
      • General Full Factorial
    • Response Surface Design
      • Central Composite
      • Box-Behnken
  • Analyze Design

    Fit a model to data collected using the design. Evaluate which factors have a significant impact on the response. You can interpret the relationship between factors and response through a variety of analytical tools and graph tools.

  • Optimize Response

    Determine what levels of factors should be to achieve a desired response. You can choose goals like minimize, maximize and target to optimize. Put constraints on factor levels before optimization.

Help File

This app provides a help file that introduces design of experiments and explains dialog settings. Click ? button in dialog or press F1 to open it.

Sample OPJU File

This app provides a sample OPJU file and a data file. Right click on the app icon in the Apps Gallery window, and choose Show Samples Folder from the short-cut menu. A folder will open. Drag-and-drop the project file DOE Sample.opju from the folder onto Origin. The Notes window in the project shows detailed steps.
Note: If you wish to save the OPJU after changing, it is recommended that you save to a different folder location (e.g. User Files Folder).



v1.39:6/6/2024 Remove alr3 package.
v1.38:5/8/2024 Fix hint bug of custom generator.
v1.37:12/23/2023 Fix central composite design bugs.
v1.36:12/18/2023 Fix incorrect coefficients tag.
v1.35:12/05/2023 Update help file.
v1.34:11/22/2023 Remove setting file upon uninstallation.
v1.33:11/14/2023 Support available design list (default parameters) for 2-level factorial and central composite design. Support saving and loading design parameters.
v1.26:5/24/2022 Fix ANOVA table bugs. Fix crash issue caused by R v4.2.
v1.22: Fix optimization plot issue.
v1.21:Fix bugs of response values in contour and surface plots.
v1.2: fix alr3 package download issue.
v1.1: Automatically download and install R software after App installation. Need Origin 2020b or later version.

Reviews and Comments:


01/22/2023arnold.katungisaperfect app

10/18/2022221109170To use in the master degree

04/24/2022yukiOriginlabTo user who left a comment on 04/24/2022:
Could you please submit a new ticket, and send us the opju file you are working on and the steps to reproduce the issue via the ticket:
OriginLab Technical Support

04/24/2022 always resulting an error leading to closing the program, while trying to analyze the results

02/18/2022yukiOriginlabHi Archit_iitd,
You can construct the equation based on the coded coefficients table of the report sheet by yourself. The coded coefficients should multiply coded factor levels(-1 or 1) when you calculate the fitted values.
If you have any more suggestions to show the equation better, please submit a ticket and tell us more details:
OriginLab Technical Support

02/18/2022Archit_iitdI am not able to get the Regression equation of the fitted data points from the design of experiment analysis. Kindly Let me know if it is available somewhere.

03/03/2021yukiOriginlabHi glarteyyoung,
Could you try to open R console via menu Connectivity: R console? If you fail to open this, you can try to fix as this quick help:

OriginLab Technical Support

03/03/2021glarteyyoungGreat tool. but still ask to intall R software.