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

st: missing chi-sq stat in streg

From   "Daniel H. Simon" <>
Subject   st: missing chi-sq stat in streg
Date   Sun, 06 Oct 2002 10:35:37 -0400

Hi - when I run streg, I often find that the model reports a missing value for the chi-sq statistic. There are no other missing values in the results. Is this indicative of a problem? Thanks. Daniel

At 11:59 AM 10/5/2002 -0700, you wrote:

The best way to handle ODBC connections to databases (including SQL Server) from within Stata, is to put a series of dbr or dbw (database read/database write) commands in a Stat/Transfer command file. For instance:

dbr datasource myoracle
dbr user scott
dbr password tiger
dbr table employee
copy odbc temp.dta

If the file were saved as, you could run it with stcmd as:


It is particularly handy to use the ODBC driver to prompt you for password and other connection information and then save the "connection string" in encrypted form for later re-use, as in:

dbr connstr <# saved.dat

which can replace everything above except the "dbr table" and copy commands.

All of this is explained in greater detail in the command processor documentation, particularly the section, "Running Batch Jobs with ODBC".



Steven Dubnoff
Circle Systems We make your data instantly usable.
Download Stat/Transfer from
1001 Fourth Avenue, #3200 (206) 682-3783
Seattle, WA 98154 Fax (206) 328-4788

* 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