Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: 2 questions


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: 2 questions
Date   Fri, 6 Jun 2008 17:43:00 +0200

As for the first question, what are you hoping to achieve by explicitly
subscripting with _n? The result without subscript should be the same as _n
simply contains the row number of  the observation in question. You need to
make the circumstances clearer for the list.

Secondly, put an asterisk -*- in front of anything you intend as a comment. 

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tunga Kantarci
Sent: Friday, June 06, 2008 4:57 PM
To: [email protected]
Subject: st: 2 questions

Hello,

I would like to ask two independent questions:


1. The second of the following two commands return an error message.
But for some other _n it works fine.
What may be the problem? 

count if fillq439[_n] == 3850
count if fillq439[_n] == 7000*0.55


2. On the command window, what is the syntax to indicate Stata not to
consider a command line?

For instance, there should be something like if I write the command between
backslashes, stat does skip that line without producing any output?

(like in between /* sum variablename /*)






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

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