Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

re: st: genhw error


From   David Airey <[email protected]>
To   [email protected]
Subject   re: st: genhw error
Date   Tue, 23 Oct 2007 09:01:42 -0500

.

I am not seeing the same problem with genhw. I'm Stata MP OS X.

-Dave

. which genhw
/Users/dairey/Library/Application Support/Stata/ado/plus/g/genhw.ado
*! version 7.0.0 14mar2005

. codebook her2_189187_1 her2_189187_2

------------------------------------------------------------------------ --------
her2_189187_1 HER2_189187_1
------------------------------------------------------------------------ --------

type: string (str1)

unique values: 2 missing "": 35/2394

tabulation: Freq. Value
35 ""
1940 "C"
419 "T"

------------------------------------------------------------------------ --------
her2_189187_2 HER2_189187_2
------------------------------------------------------------------------ --------

type: string (str1)

unique values: 2 missing "": 35/2394

tabulation: Freq. Value
35 ""
883 "C"
1476 "T"

. genhw her2_189187_1 her2_189187_2
Genotype | Observed Expected
------------+-----------------------------
CC | 871 844.57
CT | 1081 1133.87
TT | 407 380.57
------------+-----------------------------
total | 2359 2359.00

Allele | Observed Frequency Std. Err.
------------+--------------------------------------
C | 2823 0.5983 0.0073
T | 1895 0.4017 0.0073
------------+--------------------------------------
total | 4718 1.0000

Estimated disequilibrium coefficient (D) = 0.0112

Hardy-Weinberg Equilibrium Test:
Pearson chi2 (1) = 5.128 Pr= 0.0235
likelihood-ratio chi2 (1) = 5.118 Pr= 0.0237
Exact significance prob = 0.0233




*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index