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

Re: st: Enquiry From PhD Student

From   "Kyle K. Hood" <>
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:

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:

Kyle Hood
Department of Economics
Yale University
New Haven, CT

fn:Kyle Hood
org:Yale University;Economics
adr;dom:;;;New Haven;CT

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