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

st: Missing Values in Matrices


From   "Nick Winter" <nwinter@policystudies.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Missing Values in Matrices
Date   Tue, 24 Sep 2002 15:18:45 -0400

I accidentally stumbled on the following behavior, in which Stata seems
to be allowing a missing value in a matrix:

	. di 1e309
	.

	. mat x=1e309

	. mat list x

	symmetric x[1,1]
	        c1
	r1  1.#INF

	. di x[1,1]
	.

	. gen myvariable=x[1,1]
	(1141 missing values generated)

	. query born
	11 June 2002

I'm working with the 11 Jun 2002 Windows executable.

Does this work on other platforms?  Is this supported behavior?  Did I
miss something?

Thanks

Nick Winter

-----------------------------------------------------------
 Nicholas Winter, Ph.D.                     P 202.939.5343
 Policy Studies Associates                  F 202.939.5732
 1718 Connecticut Avenue, NW     nwinter@policystudies.com
 Washington, DC 20009-1148           www.policystudies.com
----------------------------------------------------------- 

*
*   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