Another thing simple analysis like this don’t account for is the amount of completions under pressure. Which is impossible to do without watching tale
This is part of the reason I think that PFF has become popular as they actually look at each play

secondly. This analysis punishes a QB for throwing the ball away when under pressure. As it would decreases his completion % but raise his att/sacks

what is the actual goal of your analysis? Determine how easy or hard it is to sack a certain qb? Cuz I think your first analysis is fine att/sack does that

Or is to determine the best an while under pressure?