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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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