Statalist The Stata Listserver

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

st: RE: testing syntax on no observations

From   "Maarten Buis" <>
To   <>
Subject   st: RE: testing syntax on no observations
Date   Mon, 21 Aug 2006 18:07:47 +0200

You can test on less observations:
keep in 1/10


Maarten L. Buis
Department of Social Research Methodology 
Vrije Universiteit Amsterdam 
Boelelaan 1081 
1081 HV Amsterdam 
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z434 

+31 20 5986715

-----Original Message-----
From: []On Behalf Of evan roberts
Sent: maandag 21 augustus 2006 18:04
Subject: st: testing syntax on no observations

Is there a way to run do files (or ado files) on no observations to
test that there are no typographical errors that would cause the
program to stop?

People familiar with SAS will recognize this as analogous to being
able to set OPTION OBS = 0 at the beginning of a file to test the
syntax. The program will note that there are no observations, but
only actually report errors that would cause a submission with data
to fail (e.g; mis-named macros, loops that aren't closed etc.)

Thanks for any and all suggestions
Evan Roberts
Evan Roberts
Minnesota Population Center and Department of History
University of Minnesota
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index