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

st: Re: polychoric

From   Stas Kolenikov <>
Subject   st: Re: polychoric
Date   Tue, 3 Feb 2004 09:53:05 -0500 (EST)

--- In, Philip Ryan <philip.ryan@a...> wrote:
> You should be cautious using -inspect- to return the number of unique
> values.  It runs out of steam after 99 distinct values and thereafter
> reports r(N_unique) as missing.  This may cause problems in your
> program.  -tabulate- (then look at r(r) ) is a better option, but it too
> has limits.
> Nick Cox and Gary Longton have a useful FAQ on the subject and point to
> some user-written solutions:

Thanks for clarification, Phil. The way I utilize the results is

if r(N_unique)>9 {

so missing is OK to me.

An overall question to the users of -polychoric-: if there are ten or more
categories, I assume the variable is continuous enough to use the moment
correlations. I can make that number an option. Is it needed to anybody
who wants the polychoric correlations of 20 categories x 20 categories?

 ---                                    Stas Kolenikov
 --       Ph.D. student in Statistics at UNC-Chapel Hill
 -  --

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

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index