Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: nlcheck - error: not sorted

From   Maarten Buis <>
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

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index