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

# Re: st: One-sided test on difference between correlation coefficients

 From Michael Boehm To statalist@hsphsun2.harvard.edu Subject Re: st: One-sided test on difference between correlation coefficients Date Sun, 31 Jul 2011 10:33:59 +0200

```Thanks Austin,

Good idea, I will try that out.

Michael

On Sat, Jul 30, 2011 at 5:26 PM, Austin Nichols <austinnichols@gmail.com> wrote:
> Michael Boehm <michael.boehm1@gmail.com>:
> Note that GDP, not the unemployment rate, is the usual definition of
> "cyclical" (the unemployment rate might peak a year or more after a
> trough in GDP), not that I advocate using GDP. But why not use
>
> est sto r1
> est sto r2
> suest r1 r2
> test [r1_a]unem==[r2_n]unem
>
> Now you can also put other predictors on the right hand side.  You
> might also use state-specific unemployment rates and job offer counts,
> and cluster by state to allow for serial correlation.
>
> On Sat, Jul 30, 2011 at 11:09 AM, Michael Boehm
> <michael.boehm1@gmail.com> wrote:
>> Dear all,
>>
>> My coauthor and I are looking at the correlation between the
>> offers in the American Economic Association's "Job Offers for
>> Economists" publication. We are computing correlations of the kind:
>>
>>
>> -------------+---------------------------
>>                     |
>>                     |       274
>>                     |
>>                     |   0.0000
>>                     |        273       273
>>                     |
>>            unem |  -0.1222  -0.2580   1.0000
>>                     |   0.0432   0.0000
>>                     |        274       273       409
>>
>> Where unem is the unemployment rate and acadnewjobs_res and
>> non-academic new jobs, respectively, in a given month. We would like
>> to test whether the former are less cyclical than the latter, i.e.
>> pwcorr(nonacadnewjobs_res,unem). Does any of you have an idea how to
>> nicely do this in Stata?
>>
>> Thanks,
>> Michael
>
> *
> *   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/
>

*
*   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/
```