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

Hi,

I am trying to conduct a Z test in SAS, which means compare the regression cofficients between two subsample.

model:

Y=b0+b1*x1+b2*x2...+bn*xn+error

the Z statistic goes like this

Z=(b1_sub1-b1_sub2)/sqrt(var(b1_sub1)+var(b1_sub2));

this statistic follows a chi-square distrubution, I think. (well, frankly, I am not sure on this)

If I want to get the P-value, what should I do?

BTW, this test is proposed by Clogg, C., E. Petkova, and A. Haritou. 1995. Statistical methods for comparing regression coefficients

between models. American Journal of Sociology

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
art297
Opal | Level 21

Take a look at: http://support.sas.com/kb/22/896.html

Plus, one can often discover how to use SAS to do most tests at: http://support.sas.com/kb/30/333.html

rpg163
Calcite | Level 5

THX! I will have a look.

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