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
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
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
THX! I will have a look.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.