Statalist


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

Re: st: Correlate command question


From   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: Correlate command question
Date   Mon, 4 Feb 2008 14:44:11 -0500

Joe--
You are including a string var.  Try

sysuse auto
encode make, g(m)
drop make
corr

On Feb 4, 2008 10:34 AM, Joe Trubisz <[email protected]> wrote:
> I'm sure I did this before, but maybe I didn't.
> I'm running version 9.2 on MacOSX.
>
> I seem to remember that if you give 'correlate' without any args, you
> get a full
> correlation matrix. Well, I just did it using auto and I got the
> following:
>
> . use auto
> (1978 Automobile Data)
>
> . correlate
> no observations
> r(2000);
>
> . display _N
> 74
>
> .
>
> Did the behavior change or is the help command giving me bad info?
>
> Joe
*
*   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