BookmarkSubscribeRSS Feed
plf515
Lapis Lazuli | Level 10

Hi and HNY

 

I am using SAS 9.4 TS 1M5 on Windows.

 

If I run

title;
proc quantreg ci=sparsity/iid algorithm=interior(tolerance=5.e-4)  data=sashelp.bweight order=internal plots = none;
   model Weight = MomWtGain/quantile = (0.25, .5, .75);
run;

then I get some slightly puzzling results.

 

For each quantile (25, 50, 75) we have

a. The actual quantiles which are 3062.0   3402.0  and 3720.0

b,  The predicted values at mean, which are 3068.02, 3394.93 and 3719.04

c. The intercepts which are  3062.0, 3389.46 and 3714.0

 

Sometimes they are exactly the same, sometimes slightly different. 

 

Why is that?

1 REPLY 1
PGStats
Opal | Level 21

I think the confusion comes from the fact that MomWtGain is roughly centered around zero (it has median=0). Thus the intercept roughly coincides with the mean of MonWtGain.

PG

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 519 views
  • 3 likes
  • 2 in conversation