Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Nick Cox <njcoxstata@gmail.com> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Log of the mean vs mean of the log |

Date |
Wed, 23 Apr 2014 12:46:45 +0100 |

I think people need much more context to advise well, including precisely what you are ranking and why any function or functional of ranks is a natural dependent variable. What's wrong with number of downloads? I would expect as at least a zeroth approximation to be using a log scale for that, but that implies to me a Poisson model as starter, not that you need to calculate any logged quantity at all. Nick njcoxstata@gmail.com On 23 April 2014 09:51, Estrella Gomez <estrellastata@gmail.com> wrote: > Hi, > > I have a variable that is the number of downloads in a country at the > song level, so each observation is song & artist & number of downloads > & country & rank. I want to aggregate this at the country level and > introduce the sum of the ranks as dependent variable in a gravity > equation. I have aggregated taking the sum of the ranks and then the > logarithm of this sum. My question is: is this correct or should I > instead take first the logarithm of the ranks at the song level and > then take the sum of this logarithms? I am not very clear on the > difference between the sum of the log ranks and the log of the sum of > the ranks > > Thank you very much, > Estrella > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: Log of the mean vs mean of the log***From:*Estrella Gomez <estrellastata@gmail.com>

- Prev by Date:
**st: Log of the mean vs mean of the log** - Next by Date:
**Re: st: Log of the mean vs mean of the log** - Previous by thread:
**st: Log of the mean vs mean of the log** - Next by thread:
**Re: st: Log of the mean vs mean of the log** - Index(es):