When you use a DOMAIN statement to request a domain analysis, the procedure computes the requested statistics for each domain.
For a domain D, let be the corresponding indicator variable:
|
Let
|
The requested statistics for variable y in domain D are computed by using the new weights v.
The estimated mean of y in the domain D is
|
where
|
The variance of is estimated by
|
where, if , then
|
|
|
|
|
|
|
|
|
and if , then
|