DataLeaguebeta

The four-fold agreement measure

number15 pts

For 52 weeks, an ice cream shop tracked whether the mean temperature and ice cream sales rose or fell compared with the previous week. The result:

Sales roseSales fell
Temperature rose218
Temperature fell617

In 38 weeks (21+1721 + 17) both variables moved in the same direction, in 14 weeks (8+68 + 6) in opposite directions.

Compute the four-fold measure (concordant−discordant)/n(\text{concordant} - \text{discordant}) / n to two decimal places.

Both a decimal point and a decimal comma are accepted.