BookmarkSubscribeRSS Feed
viva0521
Fluorite | Level 6

Hi there,

I am trying to do some linear regression in SAS enterprise miner. When I add polynomial terms in my model, it seems miner only allow me to do up to 3 degree polynomial? Would anyone suggest how can I do more than 3 degree in SAS, thanks in advance!

Best,

Peiyu

4 REPLIES 4
Funda_SAS
SAS Employee

Hi Peiyu,

There is no limit on the number of polynomials in SAS/STAT linear modeling procedures including PROC REG.

For easy coding of polynomials, take a look at the EFFECT statement:

SAS/STAT(R) 13.2 User's Guide

Funda

viva0521
Fluorite | Level 6

Funda,

Thanks for your suggestion. I will check it out. By the way, you said "There is no limit on the number of polynomials in SAS/STAT linear modeling procedures including PROC REG.", do you mean there is no limit in SAS enterprise miner as well?  Please see attached pic below, whenever I tried to specify polynomial degree to 4 or 5, it will be forced set as 3. Any comment? Thanks.

screenshot.bmp

gergely_batho
SAS Employee

It seems there is a limit on the "Polynomial Degree" property in EM. If you want to include only some polynomial terms, try to use the Term Editor.

viva0521
Fluorite | Level 6

Batho,

I just want to test to see how my model looks like if higher polynomial degree was included. At the mean time, I still want to keep those non-polynomial terms. Thanks. 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 2880 views
  • 0 likes
  • 3 in conversation