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   Maarten buis <>
Subject   Re: st: RE: RE: Re: manipulating matrix elements
Date   Wed, 29 Mar 2006 19:51:58 +0100 (BST)

In Nick's program replace the line 
H = sum(X :* ln(X))    
H = sum(X :* ln(X))  + ln(rows(X)*cols(X))

--- Steve Vaisey <> wrote:
> 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?

between 1/2/2006 and 31/3/2006 I will be
visiting the UCLA, during this time the
best way to reach me is by email

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214

+31 20 5986715

Yahoo! Photos  NEW, now offering a quality print service from just 8p a photo
*   For searches and help try:

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