%SIGE

<< Click to Display Table of Contents >>

Navigation:  Reference > Functions >

%SIGE

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

Form of use:

DW wvar = %SIGE (n1, x1, n2, x2),

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

For example, if 115 (46%) out of 250 respondents in area A are to be compared with 54 (36%) out of 150 respondents in area B we could use:

di $lev = %sige(250, 115, 150, 54),

to set $LEV to 95 because we can be 95% confident that there is a difference between the areas.

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