BookmarkSubscribeRSS Feed
asterina
Calcite | Level 5

Hello,

Please can you let me know what you think?

I have a bunch of marketing campaign response curves, and I would like to write a macro that optimise a solution using a fixed constraint (e.g. fixed marketing spend). I think something like a proc nlmixed should do it but I wondered if anyone has any example code that I can use to learn more about how this can be done?

Many thanks in advance,

1 REPLY 1
gergely_batho
SAS Employee

Hi,

Could you describe the problem in more detail? Maybe with a small example?

Do you want to allocate marketing spends to different campaigns? Usually PROC OPTMODEL is the right tool to solve such problems.

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
  • 1 reply
  • 1624 views
  • 0 likes
  • 2 in conversation