BookmarkSubscribeRSS Feed
Frank_Zhao
Calcite | Level 5

I know that there is couples of procedures can fit spline regression models such as PROC TRANSREG,  PROC GLIMMIX, PROC TPSPLINE and so on.

What is the different between them?  Could you please list other procedures?

Also, is there some procedures that can be used to reduce the number of variables in spline model?  For example,  I use Proc Transreg.  The model statement is MODEL IDENTITY(Y) = SPLINE(X1 X2 X3 X4 ... X10),  I try to remove all insignificant variables by some selection methods.

I did not find that the options such as Backward, Stepwise can be used for Transreg.  Is there any other procedures I can use for this purpose?

Thank you.el

2 REPLIES 2
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

Here is a good place to get started for more information:

Nonparametric Regression

And now with the EFFECT statement, you can get splines with several other procedures. But watch out, these splines would not necessarily be penalized smoothing. That is, if you put a spline effect in the model statement in GLIMMIX, it would fit a spline, but there would be no shrinkage of the parameters towards zero. You can get splines in GLIMMIX with random statements that are penalized/smoothing. Check out the radial smoothing example in the User's Guide.

As far as variable selection involving splines, I suggest the GLMSELECT procedure. If you have four variables, x1, x2, x3, x4, with splines for the first two (as an example):

...

effect splx1=spline(x1);

effect splx2=spline(x2);

model y = splx1 splx2 x3 x4 / selection = ___________;

There are many, MANY, options here, both for EFFECT and for selection.

Frank_Zhao
Calcite | Level 5

Thank you, Dear Ivm,

Your suggestion is very helpful.  I will try later due to the exam season. 

Have a great day

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1352 views
  • 0 likes
  • 2 in conversation