[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Re: storing likelihood values
Interesting that you use the word array. Presumably
you mean "matrix"?
--- Kit Baum <email@example.com> wrote:
> On Jun 22, 2004, at 2:33 AM, Rafa wrote:
> > Alternatively you can generate new variables
> containing the log
> > likelihood,
> > you simple change local ll_`x' for gen ll_`x' in
> the above loop.
> 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
> * For searches and help try:
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
* For searches and help try: