[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: storing likelihood values
On Jun 22, 2004, at 2:33 AM, Rafa wrote:
A Very Bad Idea. Variables should not be used to contain scalars unless
you have some arithmetic of that sort in mind. Imagine that one could
have a couple of million observations; the overhead of storing the same
number that many times (when all one wants is the number, stashed
somewhere) is stupendous. Use macros, as suggested, or stuff the LLF
values into cells of an array if you'd like to be able to produce a
nice table from them. (Shameless plug: findit outtable).
Alternatively you can generate new variables containing the log
you simple change local ll_`x' for gen ll_`x' in the above loop.
* For searches and help try: