Calculate a simple linear regression with intercept for the two variables specified and
This example contains no validation of macro parameters
data | input dataset | |
x | variable for x axis, must be numeric | |
y | variable for y axis, must be numeric | |
out | output dataset, contains variables &x, &y and &yhat | |
yhat | name of the variable with estimated values | |
parms | output dataset with regression parameters | |
report | report file (file extension must be .rtf) |
Definition in file regression.sas.
Go to the source code of this file.