About 320,000 results
Open links in new tab
  1. Simple Linear Regression - SAS Support

    Suppose that a response variable can be predicted by a linear function of a regressor variable . You can estimate , the intercept, and , the slope, in for the observations .

  2. How to Perform Simple Linear Regression in SAS - Statology

    Dec 27, 2021 · We’ll to fit a simple linear regression model using hours as the predictor variable and score as the response variable. The following code shows how to create this dataset in SAS: data exam_data; input hours score; datalines; run; /*view dataset*/ proc print data=exam_data; Next, we’ll use proc reg to fit the simple linear regression model:

  3. 3 Ways to Run a Simple Linear Regression in SAS [Examples]

    Oct 15, 2021 · In SAS you run a simple linear regression with PROC REG, PROC GLM, or the Linear Models task in SAS Studio. We discuss all 3 methods.

  4. How to Use PROC REG in SAS (With Example) - Statology

    Apr 12, 2023 · You can use PROC REG in SAS to fit linear regression models. You can use the following basic syntax to fit a simple linear regression model : proc reg data = my_data; model y = x; run ;

  5. Linear Regression with SAS - ListenData

    How to Calculate Linear Regression in SAS. In SAS, there are multiple ways to build a linear regression model, and the procedures for linear regression are as follows: PROC REG; PROC GLM; PROC GLMSELECT; PROC REG : Linear Regression. The following code uses the PROC REG procedure to build a linear regression model.

  6. Linear Regression | SAS Data Analysis Examples - OARC Stats

    Linear regression, also called OLS (ordinary least squares) regression, is used to model continuous outcome variables. In the OLS regression model, the outcome is modeled as a linear combination of the predictor variables.

  7. SAS Help Center: Simple Linear Regression

    Simple Linear Regression (View the complete code for this example .) Suppose that a response variable Y can be predicted by a linear function of a regressor variable X .

  8. As you read, learn and become experienced with linear regression you will find there is no one correct way to build a model. The method suggested here is to help you better understand the decisions required without having to learn a lot of SAS programming.

  9. Regression with SAS Chapter 1 – Simple and Multiple Regression

    We will illustrate the basics of simple and multiple regression and demonstrate the importance of inspecting, checking and verifying your data before accepting the results of your analysis.

  10. Linear Regression - SAS Help Center

    Apr 15, 2025 · By using weight as the dependent variable and height as the independent variable, you can perform a linear regression analysis on this data. Note: This step is available only if your site licenses SAS Studio Analyst or SAS Studio Engineer.