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

From |
kokootchke <kokootchke@hotmail.com> |

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

Subject |
st: Compute mean for groups leaving one member out |

Date |
Fri, 23 Oct 2009 01:38:35 -0400 |

Dear all: I have a panel dataset of 40 countries at quarterly frequency from 1990:1 to 2006:4. I would like to compute the average of a variable (called icrg) for all countries in a given time period. My problem is that in doing this computation, I would like to leave one country out of the calculation. For example, in period 1990:1 for Mexico, I would like to compute the average of icrg for ALL other countries in this period EXCLUDING Mexico. Could you suggest a simple way of doing this? Thank you very much. Best, Adrian _________________________________________________________________ Windows 7: It helps you do more. Explore Windows 7. http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen3:102009 * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**st: AW: Compute mean for groups leaving one member out***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**st: AW: Compute mean for groups leaving one member out***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**References**:**st: Random walk simplex***From:*"Akshay Shanker" <Akshay.Shanker@standards.org.au>

- Prev by Date:
**st: Random walk simplex** - Next by Date:
**st: AW: Compute mean for groups leaving one member out** - Previous by thread:
**st: Random walk simplex** - Next by thread:
**st: AW: Compute mean for groups leaving one member out** - Index(es):

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