Thanks Tom,
Of course it cannot cope with fractions. But as the author of the ado file
used this very example in the help file I did forget the 4th commandment of
applied econometrics "Thou shalt inspect thy data" (Kennedy 2003: 396) and
didn't check for that :)
Thanks a lot.
Christian Holz
Department of Sociology, Anthropology and Applied Social Sciences
University of Glasgow Scotland, U.K.
-----Urspr�ngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Steichen,
Thomas J.
Gesendet: 07 July 2005 15:29
An: [email protected]
Betreff: st: RE: Error in -mca- and -coranal- (correspondence analysis)
Christian --
-mca- cannot cope with the non-integer values of headroom.
Try
.. gen hd = 10 * headroom
.. mca foreign rep78 hd, d(3)
Tom
Thomas J. Steichen
[email protected]
----------------------------------------------------------------------------
Facts do not cease to exist because they are ignored. - Aldous Huxley
----------------------------------------------------------------------------
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Christian Holz
> Sent: Thursday, July 07, 2005 10:09 AM
> To: [email protected]
> Subject: st: Error in -mca- and -coranal- (correspondence analysis)
>
>
> Dear Stata-Listers,
>
> I have to perform some correspondence analyses and did
> therefore download the mca.ado and coranal.ado of Philippe
> Van Kerm (University of Namur, BE) from stata.com.
> Unfortunately both ados always produce an error r(198)
> "operator invalid" after the output of the principal inertia
> components. Obviously there is something wrong in the ado
> file itself. Is it possible that I experience a version
> incompatibility here (the ados were written for version 5 -
> I, myself, use 8.2)? Did anyone experience the same problem
> and found a solution/workaround? Here the example from the
> help files for -mca- and the output I get:
>
> . sysuse auto
> (1978 Automobile Data)
>
> . mca foreign rep78 headroom, d(3)
> --------------------------------------------------------------
> --------------
> --
>
> MULTIPLE CORRESPONDENCE ANALYSIS
>
> --------------------------------------------------------------
> --------------
> --
>
>
> Total Inertia : 0.431
>
> Principal Inertia Components :
>
> Inertia Share Cumul
> Dim1 0.308 0.713 0.713
> Dim2 0.060 0.138 0.851
> Dim3 0.039 0.090 0.941
> headr_1: operator invalid
> r(198);
>
>
> Help is as always very much appreciated!
> Cheers,
>
> Christian Holz
> Department of Sociology, Anthropology and Applied Social
> Sciences University of Glasgow Scotland, U.K.
>
> *
> * 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/
>
-----------------------------------------
CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s),
contains information that may be confidential, protected by the attorney-
client or other legal privileges, and/or proprietary non-public
information. If you are not an intended recipient of this message or an
authorized assistant to an intended recipient, please notify the sender by
replying to this message and then delete it from your system. Use,
dissemination, distribution, or reproduction of this message and/or any of
its attachments (if any) by unintended recipients is not authorized and
may be unlawful.
*
* 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/
*
* 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/