two clinical psychiatrists assessed five patients for depression, one using the Beck depression inventory and tyhe other using the Hamilton rating scale for depression. the scores recorded for each scale are given in the following table:

(a) are the two depression scales related? a regression analysis in R gave the following output:
&3.7070&3.8433\\Beck&0.7327 &0.1704\end{array}<br />
)
Residual standard error: 3.498 on 3 degrees of freedom
Based on this analysis, perform a hypothesis test for association between the Hamilton and Beck scales
(b) Kendall's

is a nonparametric measure of correlation based on concordant and discordant pairs. two points
 )
and
)
are concordant if the signs of

and

match; otherwise they are discordant. for example, in this data, the pair (20, 22) and (11, 14) are concordant while the pair (20, 22) and (22, 17) are discordant.
given the numbers of concordant and discordant pairs, c and d, respectively, Kendall's

is defined by
})
the difference divided by the total number of pairs. calculate the value of

for the relationship between the Hamilton and Beck scales in the data above.
(c) based on the value from (b), use this approximation to perform a hypothesis test for association between the Hamilton and Beck scales based on Kendall's

.