The weakest links are at the lowest end of movie budgets. In one case (low-budget horror), there is even a slight negative correlation. This includes movies such as Paranormal Activity and Terrifier, where atmosphere, novelty, or shock value mattered more than tidy story logic. (The connection here is weak, so we shouldn’t over-read this result).
“Writing is the process by which you realize that you do not understand what you are talking about. Importantly, writing is also the process by which you figure it out.”