nag_binary_factor_service (g11sbc) is a service function which may be used prior to calling
nag_binary_factor (g11sac) to calculate the frequency distribution of a set of dichotomous score patterns.
When each of
individuals responds to each of
dichotomous variables the data assumes the form of the matrix
defined below
where the
take the value of
or
and
, for
, denotes the score pattern of the
th individual. nag_binary_factor_service (g11sbc) calculates the number of different score patterns,
, and the frequency with which each occurs. This information can then be passed to
nag_binary_factor (g11sac).
None.
Exact.
Not applicable.
The time taken by nag_binary_factor_service (g11sbc) is small and increases with .
This example counts the frequencies of different score patterns in the following list:
Score Patterns |
000 |
010 |
111 |
000 |
001 |
000 |
000 |
110 |
001 |
011 |