Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: nlcheck - error: not sorted


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: nlcheck - error: not sorted
Date   Tue, 5 Jul 2011 14:14:37 +0200

On Tue, Jul 5, 2011 at 1:38 PM, Barbara Engels wrote:
> testing for non-linearity, I conduct the nlcheck test, putting the the nlcheck command and the independent variable in question right after the  regression.Stata, however, tells me the independent variable is "not sorted" (although it is ; and after another "sort" it is still "not sorted). Can anybody help? Is nlcheck, after all, an appropriate test for checking linearity?

-nlcheck- is a user written program so per the Statalist FAQ you must
tell us where you got this from. Also per the Statalist FAQ you must
tell use exactly what you typed and what Stata told you in return. The
emphasis is on _exactly_.

The Statalist FAQ is not there as a set of useless rules, it is there
to help you ask question that can be answered.

I ran the examples that where provided in the helpfile of -nlcheck-
which I just downloaded from SSC and it does not give me any problems.
So there must be something special about your data, your model, your
version of -nlcheck-, your version of Stata, or something else that
deviates from the help file examples. The trick is now to pin down
what that is...

-- Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index