Statalist


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

Re: st: Enquiry From PhD Student


From   "Kyle K. Hood" <kyle.hood@yale.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Enquiry From PhD Student
Date   Thu, 05 Mar 2009 14:22:49 -0800

Just like any programming language, interpreted or compiled, Stata will not work if you do not use the correct syntax. Try to find some examples to help you figure out (a) what is the general syntax of the statements in Stata, for example, concerning where to put "if" (and whether Stata considers it to be an option, at all), and (b) how to interpret the help files. You should definitely have a working knowledge of Stata before sending questions to the list.

Obi Berko wrote:
Please

I found your e-mail on the web, when you provited an answer to some one

I am a PhD student and I have bought your book: Statistics with  Stata, Updated version 9


Please my problem is that I am working on a panel data of 12 year period starting from 1991 to 2002 and I am runing an independent sample t-test, but I want to limit my output to 2002.. However my sata 9.2 version tells me option not required when I type my command.

Here is is how I typed the command:

ttest, capital, by(exports) unequal level(95) if wave==12

the 12 means 2002, but results window tells me "option not required". Please if I want to run an independent sample t-test with a panel data and I want to limit it to a particular wave please what command should I use?



*
*   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/

--
Kyle Hood
Department of Economics
Yale University
New Haven, CT
website: http://www.econ.yale.edu/~kkh25

begin:vcard
fn:Kyle Hood
n:Hood;Kyle
org:Yale University;Economics
adr;dom:;;;New Haven;CT
email;internet:kyle.hood@yale.edu
tel;work:203-500-3235
x-mozilla-html:TRUE
url:http://www.econ.yale.edu/~kkh25
version:2.1
end:vcard




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