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, is already up and running.

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

Re: st: error: xtile2 & Stata 12

From   Nick Cox <>
Subject   Re: st: error: xtile2 & Stata 12
Date   Thu, 15 Dec 2011 17:18:14 +0000

-xtile2- is from SSC, as you are asked to explain.

The short answer is evidently No. But my guess is that you can fix
this program by inserting on a separate line

version 7

after the line

program define xtile2

The problem, I guess, is that the syntax in

if "`nquantiles'"!=""{local nq "n(`nquantiles')"}

is only allowed under version control, and -xtile2- omits a -version-
statement, which you should supply.

If this guess is wrong, you should naturally say so.


On Thu, Dec 15, 2011 at 4:56 PM, Andrea Bennett <> wrote:

> Does there exist an alternative for xtile2 that is
> running under Stata 12? I always get the program error:
> matching close brace not found, r(198).
*   For searches and help try:

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