Statalist The Stata Listserver

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

RE: st: RE: RE: Re: manipulating matrix elements

From   "Nick Cox" <>
To   <>
Subject   RE: st: RE: RE: Re: manipulating matrix elements
Date   Wed, 29 Mar 2006 20:46:56 +0100

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.  


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:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index