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

From |
Ronan Conroy <rconroy@rcsi.ie> |

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

Subject |
Re: st: significance of mean and median |

Date |
Tue, 25 Nov 2008 10:22:24 +0000 |

On 24 Nov 2008, at 11:55, Bastian Steingros wrote:

After creating the descriptive statistics of my sample I want toshow that the mean of a certain variable is statistically significant.For example the mean of var1 is 0,45. Now I want to show that thepositive sign is significant.

. sysuse auto (1978 Automobile Data) . regress mpg

------------------------------------------------------------------------------

------------------------------------------------------------------------------

Similarly, quantile regression will test that the median is zero . qreg mpg Iteration 1: WLS sum of weighted deviations = 330.13202 Iteration 1: sum of abs. weighted deviations = 330 Iteration 2: sum of abs. weighted deviations = 328

Raw sum of deviations 328 (about 20)

------------------------------------------------------------------------------

------------------------------------------------------------------------------

Ronan Conroy ================================= rconroy@rcsi.ie Royal College of Surgeons in Ireland Epidemiology Department, Beaux Lane House, Dublin 2, Ireland +353 (0)1 402 2431 +353 (0)87 799 97 95 +353 (0)1 402 2764 (Fax - remember them?) http://rcsi.academia.edu/RonanConroy P Before printing, think about the environment * * 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**:**RE: st: significance of mean and median***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**RE: st: significance of mean and median***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**References**:**st: significance of mean and median***From:*"Bastian Steingros" <Steingros@gmx.de>

- Prev by Date:
**Re: st: RE: tabstatmat: are there difference between lab version vs non-lab versions? or a bug?** - Next by Date:
**RE: st: significance of mean and median** - Previous by thread:
**Re: RE: st: RE: significance of mean and median** - Next by thread:
**RE: st: significance of mean and median** - Index(es):

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