Thanks, Maarten. According to the published style
rules, Maarten's extra * operator should be presented
with surrounding spaces.
Steve: Now you have to make Maarten and myself co-authors
on your paper(s) from this project.
Buis, Cox and Vaisey sounds good to me. Alphabetism rules KO!
BTW, the "standardized" entropy still sounds pretty non-standard
to me, but thanks for the references.
Nick
[email protected]
Maarten buis
> In Nick's program replace the line
> H = sum(X :* ln(X))
> with
> H = sum(X :* ln(X)) + ln(rows(X)*cols(X))
Steve Vaisey
> > One further question though. In the program you wrote, Nick, the
> > entropy calculation isn't standardized. How could it be
> modified to add
> > ln(number of cells) to the final value?
*
* 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/