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

st: modifying a data set for multiple regression analysis


From   [email protected]
To   [email protected]
Subject   st: modifying a data set for multiple regression analysis
Date   Sun, 06 Apr 2003 11:03:10 -0400

As a fairly new Stata user trying to do more tasks within Stata, I have 2
questions about preparing a data set for a regression analysis.  Any help
would be greatly appreciated.

First, I have a data set with variables v1, v2,...,v6.  I would like to
create a large new data set giving counts of each value of v1 for all
combinations of v2,...,v6.  Have thought of going back to Microsoft tools
and doing this with a query, but I'd prefer to do it all in Stata.

Second, my reason for this request is that I want to regress counts of v1
values using some of v2,...,v6 as predictors.  Are there features of Stata
specifically intended for this procedure?

Thanks very much in advance,
Howard Burkom
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index