I imagine that you can get a Newey-West flavour t-test for means just
as a Newey-West flavour regression on an indicator variable.
I have no idea what a Newey-West test for comparing medians would look
like. What data generating process do you have in mind?
Nick
njcoxstata@gmail.com
On 7 April 2013 20:38, vikramfinavker1 <vikramfinavker@gmail.com> wrote:
> Can any one please guide me how do i get Newey-West adjusted ttest for
> difference in mean and median? In my data i have ten groups based on their
> extent of using derivatives. So Group 1 is with the lowest usage of
> derivatives and group 10 is highest usage of derivatives. Now i want to
> compare the mean difference of these groups.
*
* 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/