Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: RE: How to generate Stata recursive cycles and simultaneous regressions?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: How to generate Stata recursive cycles and simultaneous regressions?
Date   Thu, 24 Jun 2010 19:11:25 +0100

Question 1: look at the help for -egen, seq()-. 

I don't understand Question 2. 

Nick 
n.j.cox@durham.ac.uk 

Maria Auxiliadora López

Good day to all I have a question on how to schedule two series of numbers in Stata 10, and simultaneously n regressions for the series of n numbers specified in the following statements:

1 - How to generate two series, a series R = 1111, 2222, 3333, 4444, 5555, in this case bounded up to number 5 but as it could generate for n numbers (in modules of repetition of 4 times, this comes as consider T = 4 (fixed), and the other doubt generate series of numbers is t = 1234, 1234, 1234, 1234, 1234.1234 ,......, as generate this series in Stata "n" times .
 
2 "And the other query is that since I have 5 variables arranged in columns of the form y1 y2 y3 y4 y5 followed by the variables x1 x2 x3 x4 x5, what I want is to estimate simultaneously the regression type x1 y1, x2 y2 to y5 xn yn x5 ...... and at the same time make a hypothesis test for the slope, the issue is not how to make this statement in STATA Stata or rather set this command.


*
*   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   |   Site index