%SIGD

<< Click to Display Table of Contents >>

Navigation:  Reference > Functions >

%SIGD

This function is used to test two proportions to see if they are significantly different and returns the %significance level.

See also %SIGE.

Form of use:

DW wvar = %SIGE (n1, x1, nT, xT),

where the four arguments can by any arithmetic expression including table cells.

For example, if 6 (8%) out of 75 respondents in area A are to be compared with 120 (15%) out of 800 respondents in all areas (including area A) we could use:

di $lev = %sige(75, 6, 800, 120),

to set $LEV to 92 because we can be 92% confident that there is a difference between the area A and the other areas.

The formula is the same as that used for format SIG1.