The name is absent



18


Stata Technical Bulletin


STB-57


Options

label(genotypes) requests that labels are used in the output of the genotype frequency table.

binvar requests that the standard errors from a binomial distribution are reported for each allele frequency. These standard
errors are calculated under the assumption that the population is under HWE. By default, standard errors that do not require
this assumption are reported.

Remarks

genhwcci performs asymptotic tests for HWE for genotypic counts of cases given the controls are under HWE. It also
estimates the disequilibrium coefficient (D) and its standard error for genotypic counts of cases and controls, separately. See
Methods and formulas for details.

Example

Helzlsouer et al. 1998 conducted a case-control study for the association of CYP17 polymorphism and breast cancer, in
which 109 cases and 113 controls were collected. We test the hypotheses whether the cases and controls are under
HWE, separately.
Given the controls are under
HWE, we test whether the cases are under HWE. An immediate command is used for testing the
HWE.

. genhwcci 41 47 21 37 58 18, label(AA AB BB)

Genotype          Case         Control           Total

------------+-------------------------------+-------------

AA I              41                 37   I              78

AB I              47                 58   I             105

BB I              21                 18   I              39

------------+-------------------------------+-------------
total I            109               113  I            222

Case

Allele     Case

Frequency

Std. Err.

A I        129

B I         89

0.5917

0.4083

0.0350

0.0350

————————————⅛-———————————

total I       218

1.0000

Estimated disequilibrium coefficient

Hardy-Weinberg Equilibrium Test :

Pearson chi2 (1) = 1.261
likelihood-ratio chi2 (1) = 1.258
Exact significance prob =

Control

Allele Control     Frequency

(D) =

SE =

Pr=
Pr=

=   0.0260

=   0.0232

0.2614

0.2620

0.3204

Std. Err.

A I        132

B I         94

0.5841

0.4159

0.0318

0.0318

——————————+—-----------

total I       226

1.0000

Estimated disequilibrium coefficient (D) =

SE =

Hardy-Weinberg Equilibrium Test :

Pearson chi2 (1) = 0.360 Pr=
likelihood-ratio chi2 (1) = 0.361 Pr=
Exact significance prob =

Test HO: cases under HWE: (given controls
likelihood-ratio chi2 (2) =    1.285 Pr=

= -0.0137

=   0.0227

0.5487

0.5481

0.6983

under HWE)
0.5260

The label () option is used to label the genotypes in the table. The order of the genotypes is in the same order as given in the
syntax.

For this example, there is no significant evidence that the genotypic counts of cases and controls are not under HWE. Even
given the controls are under
HWE, there is still no significant evidence that the cases are not under HWE.



More intriguing information

1. THE CHANGING RELATIONSHIP BETWEEN FEDERAL, STATE AND LOCAL GOVERNMENTS
2. The name is absent
3. Lending to Agribusinesses in Zambia
4. Expectations, money, and the forecasting of inflation
5. Qualification-Mismatch and Long-Term Unemployment in a Growth-Matching Model
6. The name is absent
7. Artificial neural networks as models of stimulus control*
8. The name is absent
9. Chebyshev polynomial approximation to approximate partial differential equations
10. The name is absent
11. Female Empowerment: Impact of a Commitment Savings Product in the Philippines
12. Monetary Policy News and Exchange Rate Responses: Do Only Surprises Matter?
13. Does South Africa Have the Potential and Capacity to Grow at 7 Per Cent?: A Labour Market Perspective
14. On the job rotation problem
15. International Financial Integration*
16. Optimal Rent Extraction in Pre-Industrial England and France – Default Risk and Monitoring Costs
17. Neighborhood Effects, Public Housing and Unemployment in France
18. The name is absent
19. Secondary school teachers’ attitudes towards and beliefs about ability grouping
20. The name is absent