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

Re: st: Re: polychoric


From   Nick Winter <[email protected]>
To   [email protected]
Subject   Re: st: Re: polychoric
Date   Mon, 02 Feb 2004 14:24:12 -0500

You might be able to make good use of the -inspect- command; when run on a single variable, it seems to leave behind the number of unique values in r(N_unique)

--Nick Winter


At 01:35 PM 2/2/2004 -0500, you wrote:

> I'm very interested in your new procedure polychoric but I'm having
> some trouble with it.  I just downloaded v.1.3 and it is not
> recognizing datatype correctly.  Some binary paris are treated as
> continuous.  The rep78 and foriegn is done as polyserial instead as
> polychoric.  I am running Stata 8.2 on a Macintosh.  Do you have any
> suggestions as to what I'm doing wrong.

It's me who has been doing this wrong, no fault on your side. Update to
version 1.3.1 from my web page, and see Remarks section in the end of the
help file. It was -compress-ing the relevant variables to count the number
of categories properly, but then it is a modification of the data, and it
is not nice if an estimation command modified the data it uses. So I
commented the -compress- out. And it stopped working for the uncompressed
data believing that any float variable is continuous. I've decommented it,
but now I would need to work out how to keep the data file intact -- it
should be a pair of -preserve- and -restore-, but it'll take me some time
to figure out where they should go.

If it does not work now, let me know.

 ---                                    Stas Kolenikov
 --       Ph.D. student in Statistics at UNC-Chapel Hill
 - http://www.komkon.org/~tacik/  -- [email protected]

* This e-mail and all attachments to it are not intended to provide any
* reasonable point of view and was transmitted to you in error. It
* should be immediately deleted by all recipients unless they really
* enjoy communicating with the author :). Other restrictions apply.

*
*   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/
--------------------------------------------------------
Nicholas Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government [email protected] e
308 White Hall falcon.arts.cornell.edu/nw53 w
Cornell University
Ithaca, NY 14853-7901
*
* 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