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

st: Orthog command in Stata


From   "student19767" <[email protected]>
To   [email protected]
Subject   st: Orthog command in Stata
Date   Wed, 26 Jan 2005 01:28:38 -0000

Hi,
I am trying to use orthog command for some of the variables in the 
data set. I am using the following command:

orthog x1 x2 x3, gen(u1 u2 u3) mat(R)
        matrix c = R[1...,"x1"]
        matrix c = c'    
        matrix score double samepr = c
        compare x1 samepr

The output I am getting is this:

				----------	difference	------
----
			count	minimum	average	maximum
						
samepr	missing	only	2
			----------
total			2

I am getting missing values in u2 and u3 while u1 is  [1 -1]`

Am I missing something here?

Thanks
Anurag 



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