SAS Nonlinear Regression Procedure – PROC NLIN & PROC TRANSREG

Stay updated with latest technology trends
Join DataFlair on Telegram!!

1. Objective

We looked at different types of analysis for SAS/STAT and the procedures used for performing it in our previous SAS/STAT tutorial. Today, we will be looking at another type of analysis, called SAS Nonlinear regression and how can we use Nonlinear regression in SAS/STAT. Our focus here will be to understand the PROC NLIN and PROC TRANSREG that can be used for SAS Nonlinear regression with the example.
So, let’s start with SAS Nonlinear Regression.

SAS Nonlinear Regression

SAS Nonlinear Regression

2. What is SAS Nonlinear Regression?

SAS Nonlinear regression is a form of regression analysis in which data is fit to a model and then expressed as a mathematical function. Regression analysis is the study of the relationship between variables. The SAS Nonlinear Regression implies curved relationships.
In this, the dependent or criterion variables are modeled as a non-linear function of model parameters and one or more independent variables. The reason that these models are called nonlinear regression is that the relationships between the dependent and independent parameters are not linear.
Let’s Discuss Features of SAS/STAT in detail
SAS non-linear regression fitted curve looks like the one shown below-

SAS Nonlinear Regression

SAS Nonlinear Regression

3. Nonlinear Regression Procedures in SAS

Following procedures use to compute SAS nonlinear regression of a sample data. Let us explore it.
Read about 8 Procedures for Calculating Analysis of Variance in SAS/STAT


The NLIN procedure in SAS/STAT is used for fitting nonlinear regression models. In this, it estimates the parameters by using the method of nonlinear least squares or weighted nonlinear least squares. The NLIN procedure is specially used for segmented models.
The NLIN procedure uses the following four algorithms (methods):

  • steepest-descent or gradient method
  • Newton method
  • Modified Gauss-Newton method
  • Marquardt method

These can be specified in the METHOD= option.
A Syntax of PROC NLIN-


The PROC NLIN, PARAMETERS, and MODEL statements are required.
Let’s Know about Different Categorical Data Analysis Procedure
PROC NLIN Example-

proc nlin method=gauss;
   parms hosepower=135
   model mpg_highway = (horsepower/cylinders);

The DATA=option specifies that the SAS data set are used in the analysis.
The METHOD=option directs PROC NLIN to use the GAUSS iterative method.
The PARMS statement declares the parameters and specifies their initial values.

SAS Nonlinear Regression

Nonlinear Regression in SAS- PROC NLIN

SAS Nonlinear Regression

Nonlinear Regression in SAS- PROC NLIN


We have already discussed this procedure in detail. You can refer to the SAS Market Research tutorial for the complete tutorial.

So, this was all about SAS Nonlinear Regression Tutorial. Hope you like our explanation.

4. Conclusion

Hence, this was a complete description and a comprehensive understanding of the NLIN procedure offered by SAS/STAT nonlinear regression. Hope you all enjoyed it. Stay tuned for more interesting topics in SAS/ STAT. Furthermore, for any query, post your doubts in the comment section below.

Related Topic- Group Sequential Design and Analysis 

For reference 

Your opinion matters
Please write your valuable feedback about DataFlair on Google | Facebook

1 Response

  1. Azam says:

    I am a SAS user and really like to understand all parameters listed in the results tables, which are not clear. I appreciate if you can add links to the table results interpretation.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.