# Statistical test for finding the effect magnitude of different causes

I am fairly new to statistics and would wish to find out if there is a statistical test that tells me the magnitude/contribution/importance of different causes over a perceived effect.

For example, let's say that we have different flaws, and these different flaws all contribute to an error count. The flaws are the causes, and the error count is the effect of those causes. Each flaw contributes more or less to the total error count.

Is there any statistic tool that computes, with a certain degree of confidence, what would be the magnitude of each flaw in the final error count? Which flaw contributes the most to the error?

The data looks like this (header and one example row):

flaw1 flaw2 flaw3 error_count
30    20    60        8


Thanks