Question: confidence _ interval _ action = np . percentile ( bs _ action _ reps, [ 2 . 5 , 9 7 . 5 ]
confidenceintervalaction nppercentilebsactionreps,
confidenceintervaladventure nppercentilebsadventurereps,
# Inspect the confidence intervals
printconfidenceintervalaction
printconfidenceintervaladventure
The confidence intervals from the bootstrap method for the intercept and coefficient do not contain the value zero, as we have already seen that lower and upper bounds of both confidence intervals are positive. These tell us that it is likely that the adjusted gross is significantly correlated with the action and adventure genres.
From the results of the bootstrap analysis and the trend plot we have done earlier, we could say that Disney movies with plots that fit into the action and adventure genre, according to our data, tend to do better in terms of adjusted gross than other genres. So we could expect more Marvel, Star Wars, and liveaction movies in the upcoming years!
# should Disney studios make more action and adventure movies?
moreactionadventuremovies #CODE HERE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
