Statalist


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

RE: AW: st: AW: Quotes for scalar within local (was efficiently run three loops (or do without them))


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: AW: st: AW: Quotes for scalar within local (was efficiently run three loops (or do without them))
Date   Thu, 16 Apr 2009 17:04:09 +0100

Although Ronnie declared himself satisfied with the thread, what he was
trying to do still seemed puzzling to me. 

Just to add as a footnote, especially for anyone interested in the issue
of checking data, that -extremes- on SSC supports -if-, -in- and -by:-
and a variety of checks, to the extent that it seems to offer much of
what Ronnie seemed to be looking for. 

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

Ronnie Babigumira

True true, and Nick did propose something along those lines yesterday,
however (and I may be wrong), 
having the `i''s and `j''s gives me more documentation options so I can
produce something like this 
where product, unit, and price codes call come from these scalars

Potential error in the price for product 25 & unit 11
Average price is 777.7
   +------------------------------------------------+
   | houscode | qtr | fup_pdt | fup_unit | fup_unpx |
   |----------+-----+---------+----------+----------|
   |      407 |   2 |      25 |       11 |    15000 |
   +------------------------------------------------+

Anyway I think I can safely close this thread. As always, a great
learning experience (and a 
reminder that I should give back more to this great community)

[...] 


*
*   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   |   What's new   |   Site index