Concept:Karl Pearson's coefficient of correlation can be applied to both ungrouped and grouped data.Explanation:For ungrouped data, the formula uses direct sums of x and y values.For grouped data, the same concept is extended using frequency distributions and class midpoints.Hence, it is defined for both types.Answer:Both.