SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
Junwang09
Calcite | Level 5

Usually t-test is applied to test the significance of coefficient estimates. But HPGENSELECT uses chi-square test (see table below). Why?

 

Parameter Estimates from HPGENSELECT

Parameter

DF

Estimate

Standard Error

Chi-Square

Pr > ChiSq

Intercept

1

3.405338

0.142788

568.768

<.0001

4 REPLIES 4
Junwang09
Calcite | Level 5

Reeza, thanks a lot for your help. I try to understand that how Chi-square can be used to test the significance of coefficient. Do you have any reference? thanks!

Rick_SAS
SAS Super FREQ

You are correct that for OLS regression and normally distributed errors you can use t tests. However, HPGENSELECT is most closely related to the GENMOD procedure, not the GLM procedure. For generalized linear models, the errors are not normally distributed and the solution technique is maximum likelihood estimation. The docs for PROC LOGISTIC and PROC GENMOD mention that confidence intervals are based on the likelihood ratio, and the statstic that is used has an asymptotic chi-square distribution:

LOGISTIC: http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_logistic_det...

GENMOD: http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_genmod_detai...

Junwang09
Calcite | Level 5

Thanks for your reply. The links you attached is very helpful.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1648 views
  • 0 likes
  • 3 in conversation