BookmarkSubscribeRSS Feed
aha123
Obsidian | Level 7

I would like to know how you create good predictor variables for a regression model.

Here is a scenario:

Suppose a web site would like to build a regression model to predict the conversion rate for each product listed in the web site. We have two price information. First is the web site's price for each product(PRICE). Second is the lowest price among all competitors(LOWEST_PRICE). There are many other variables which can be used as predictor variables. But let's focus on PRICE and LOWEST_PRICE here. I want to know if you will create additional predictor variables based on these 2. If so, how?

2 REPLIES 2
Reeza
Super User

Right off the bat, calculate the difference and the percent difference.

price - lowest_price = price difference

price difference/price = percent price

aha123
Obsidian | Level 7

Is there any guideline for creating derived predictor variables? If you know any articles or papers on this, please share.

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

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1845 views
  • 0 likes
  • 2 in conversation