BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
CheerfulChu
Obsidian | Level 7

 Dear Experts

 

I have two questions:

Q1

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect039...

 

what is the square bracket in STDR means? What does the STDR means? Is it same as ri / sqrt( 1/(n-1) * sum ri^2 ) where ri is the ith residual computed as yi - yi hat.

 

Q2.

          proc reg data=work.cfs0x1 noprint;

            model &alpname = &regvars/noint;

            weight glswgt;

            output out=&tmp_ds p=pred_alpha_x stdr=stdr_alpha_x;

          run;

 

          data work.cfs0x1;

            merge work.cfs0x1(in=in_1)

              &tmp_ds(in=in_2);

              &alpname = (&alpname - pred_alpha_x) / stdr_alpha_x;

          run;

 

Do you know what is the meaning for calculating  &alpname = (&alpname - pred_alpha_x) / stdr_alpha_x ? I read that people called it regression neutralization. I dont see how it really does.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

I'm not sure what you mean by the square bracket. Can you please highlight it here:

http://documentation.sas.com/?docsetId=statug&docsetVersion=14.2&docsetTarget=statug_reg_details25.h...

 

Note that I'm using the latest documentation since the old one did not render properly in my browser.

 

I think if you follow the chain of links it leads you to a detailed page with explanation of the statistics, I just don't have time to go down that rabbit hole right now. 

View solution in original post

1 REPLY 1
Reeza
Super User

I'm not sure what you mean by the square bracket. Can you please highlight it here:

http://documentation.sas.com/?docsetId=statug&docsetVersion=14.2&docsetTarget=statug_reg_details25.h...

 

Note that I'm using the latest documentation since the old one did not render properly in my browser.

 

I think if you follow the chain of links it leads you to a detailed page with explanation of the statistics, I just don't have time to go down that rabbit hole right now. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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