At this time of year, when final exams and final class projects are being assigned, I doubt anyone will do your work for you, but if you post your data and what you have managed to accomplish so far, perhaps someone will give you a hint or two.
Also, a little context would be useful. What problem are you trying to solve?
People starting "from scratch" may want to know the reference for these formulas. These are equations 4.35 (p. 104), 4.34 (p. 103) and 4.33 (p. 103), copied from the monograph
Härdle, W., Müller, M., Sperlich, S., and Werwatz, A. (2004), Nonparametric and Semiparametric Models, Berlin: Springer.
Have you even tried? If so, show us what you have attempted.
Someone throwing me a general question phrased like that generally gets a billing invoice later.
The formula implies the existence of n value pairs for variables Y and X plus what appears to be a scaling factor m. So where are the values you want this applied to?
SAS has several procedures that uses splines Transreg, GAM TPSpline plus graphics options.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.