Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: r(198). obs must be between..


From   "luis casanova" <lcasanova@utdt.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: r(198). obs must be between..
Date   Tue, 31 Jan 2006 16:07:36 -0300

Hello,
I've tried to perform some regressions with the following
command
  foreach var_def in paris def_sp_host new_def cutoff cut_to_treat {
xi: areg lfdi_1 lgdph lgdps cu_fta i.year i.scode_year, abs(pairid)
robust
outreg using filename_`var_def'.doc, nolabel se coefastr 3aster replace

xi: areg lfdi_1 lgdph lgdps lrer_hs cu_fta i.year i.scode_year,
abs(pairid) robust
outreg using filename_`var_def'.doc, nolabel se coefastr 3aster append

xi: areg lfdi_1 lgdph lgdps lrer_hs cu_fta `var_def'l0 i.year
i.scode_year, abs(pairid) robust
}
  Stata responds with
  r(198); obs must be between 5616 and 104857597
  I' m not sure what's the problem (I thought that maybe not enough
memory has been allocated to Stata).
  I'm not sure how to solve this? Can anyone help me with this?
  Thanks..
  Luis


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