Statalist


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

Re: st: Time series quadrature error


From   Mark Ludwig <mdludwig@csus.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Time series quadrature error
Date   Thu, 1 Oct 2009 19:57:39 -0700


On Oct 1, 2009, at 6:39 PM, Clive Nicholas wrote:

Mark Ludwig wrote:

I have built a dataset that combines monthly Gallup polls during the
presidential election season. To this I have added some additional variables
as controls (eg, the relevant CPI rate during the month each poll was
taken). I am attempting to run an xtlogit with one-period lags and get the
following error message:

number of quadrature points must be less than or equal to number of
observations.

I am not sure what's wrong ... I have more than 10,000 observations in the
dataset.

Section 3.3 of Statalist says:

"Say exactly what you typed and exactly what Stata typed (or did) in
response. N.B. exactly! If you can, reproduce the error with one of
Stata's provided datasets or a simple concocted dataset that you
include in your posting."

--
Clive Nicholas

[Please DO NOT mail me personally here, but at
<clivenicholas@hotmail.com>. Please respond to contributions I make in
a list thread here. Thanks!]

"My colleagues in the social sciences talk a great deal about
methodology. I prefer to call it style." -- Freeman J. Dyson.
*
*   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/

 sort id date

. tsset id date, monthly
       panel variable:  id (weakly balanced)
        time variable:  date, 2007m7 to 2008m11
                delta:  1 month

.
. xtlogit war income male PID education L.war_casualties L.dem_iraq_email L.GOP_iraq_email L.dem
> _iraq_web L.GOP_iraq_web L.media_iraq if tin(2007m9, 2008m3)
number of quadrature points must be less than or equal to number of obs
r(198);




*
*   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   |   What's new   |   Site index