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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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