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

Re: st: maximum number of exogenous variables in ivtobit?


From   "Brian P. Poi" <bpoi@stata.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: maximum number of exogenous variables in ivtobit?
Date   Wed, 30 Nov 2005 10:58:30 -0600 (CST)

On Wed, 30 Nov 2005, Adrienne L wrote:

Greetings statalistserv,

I am using ivtobit.  When I include more than 35 exogenous variables,
I get the following error: "invalid syntax."  I've tried different
combinations of the 35 variables and have made sure that of there is a
value in each of my variables for each observation.  I am running
Stata/SE 9.0.  Originally I thought that it was incompatibility with
the * wildcard (such a question was posted previously on this
listserv), but if I limit my wildcard to < 35 variables, there is no
error.
Specifically I am running the following:
ivtobit y _Ix2*  _Ix3* _Ix4*  _Ix5* _Ix6*  _Ix7* (x1=x8)
[pweight=weight], ll ul cluster(village)

Neither ivreg or ivprobit (when y is converted to binary) have the
"invalid syntax" problem

This could be a bug in the syntax parsing of -ivtobit-.

If Adrienne could send me (privately) a dataset and short do-file to replicate the problem, I would be happy to look into it.

-- Brian Poi
-- bpoi@stata.com

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index