A test for independence is applied to a contingency table with 3 rows and 5 columns for two nominal variables. The degrees of freedom for this test will be

It's 8 not 15. 15 is way off.

Degrees of freedom = (r - 1)(c - 1) ...where r = number of rows and c = number of columns.

To determine the degrees of freedom for a test for independence applied to a contingency table with 3 rows and 5 columns, we apply a formula.

The formula for degrees of freedom in a test for independence is given by:

df = (r - 1) * (c - 1)

where df represents the degrees of freedom, r represents the number of rows in the contingency table, and c represents the number of columns in the contingency table.

In this case, we have 3 rows and 5 columns, so we can substitute these values into the formula:

df = (3 - 1) * (5 - 1)
= 2 * 4
= 8

Therefore, the degrees of freedom for this test will be 8.

15