Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: chi squared matrix


From   "Amy Dunbar" <Amy.Dunbar@business.uconn.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Re: chi squared matrix
Date   Tue, 23 Nov 2004 10:05:23 -0500

This is just a comment regarding something n.j.cox@durham.ac.uk wrote:
>I am not clear why Stata does not regard the last matrix
as symmetric. 

I believe Nick was referring to the following:
mat li pval

pval[5,5]
           i1         i2         i3         i4         i5
i1  1.524e-23  .90369711  .28195568   .5464936  .45622921
i2  .90369711  1.524e-23  .47066711  .22864426  .51488065
i3  .28195568  .47066711  1.524e-23  .15738391   .6243488
i4   .5464936  .22864426  .15738391  1.524e-23  .31643784
i5  .45622921  .51488065   .6243488  .31643784  1.524e-23

When I ran the program, my output showed the following:

. mat li pval

symmetric pval[5,5]
	i1         i2		i3		i4		i5
i1  1.524e-23
i2  .71177073  1.524e-23
i3  .24091847  .23566281	1.524e-23
i4  .16491549  .55345377	.83506637	1.524e-23
i5   .8427192  .08038425	.9211625	.32666272
1.524e-23

Amy Dunbar
UConn

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index