3 under 6'2 = 2/3 (wilson, brees) have been great. Taylor so/so 67%
6 at 6'2" = 2/6 above average (rodgers, dalton). 1 good but not enough years (prescott) and 1 good in spot duties (fitz). I'll give you 3/6 = 50%
6 at 6'3" = 3/5 above average (cousins, stafford, i'll give you a coinflip on cutler and carr) cutler was bad but played along time. Carr is up and coming but not over the hump. = 60%
10 at 6'4 = 5/10 (ryan, smith, brady and i'll give you luck and eli) but eli is bad. Goff too young and winston / mariota unproven. Even if you take goff it's 6/10 = 50 or 60%
6 at 6'5 = 5/6 (palmer, newton, wentz, rivers, rothlisberger) = 83%
1 at 6'6 = Flacco = cointoss if he's good or not. 1 at 6'8 = Osweiler and he was terrible. Let's call this the over 6'5 club and that is 1/2 or 50%
Looks to me like you want someone under 6' or at 6'5 and no taller. No conclusive evidence that height makes difference unless you are in the middle of the pack and the odds don't favor you selecting good qb in the 6'2 to 6'4 range.
Link: https://gooddeedseats.com/all-starting-nfl-quarterback-heights/