# The SURVEYPHREG Procedure

#### Testing the Global Null Hypothesis

The following statistics are available to test the global null hypothesis . Let d be the usual degrees of freedom computed from the survey data by using the number of strata, clusters, or replicate weights; and let p be the number of estimable parameters in the null hypothesis . For more information about computing d, see the section Degrees of Freedom.

The likelihood ratio test is expressed as

where L() denotes the partial pseudo-likelihood described in the section Partial Likelihood Function for the Cox Model and denotes the estimated regression parameters. The p-value is computed by using a chi-square distribution with p degrees of freedom. The likelihood ratio statistic is sensitive to the scaling of the weights. The usual assumptions that are required for a likelihood ratio test do not hold for the pseudo-likelihood that is used by PROC SURVEYPHREG (Rao, Scott, and Skinner 1998), leading to other methods of testing the global null hypothesis, such as the Wald test discussed in the following paragraph.

The Wald test uses the variance estimator that accounts for complex sampling such as stratification, clustering, and unequal weighting. Let , where is the estimated regression parameters and is the estimated covariance matrix for . You can request the Wald tests that are described in the following table by using the DF= option in the MODEL statement.

Numerator

Denominator

Value of DF=

Test Request

Test Statistic

Degrees of Freedom

Degrees of Freedom

NONE

Chi-square

Q

p

v

Customized F

vQ/pd

p

v

DESIGN

Q/p

p

d

DESIGN (v)

Q/p

p

v

(dp+1)Q/pd

p

dp+1

(v-p+1)Q/pv

p

v-p+1