Question: Question 6: Simulate 1500 values of the test statistic by simulating taking a sam- ple under the null hypothesis multiple times and assign this collection

Question 6: Simulate 1500 values of the test statistic by simulating taking a sam- ple under the null hypothesis multiple times and assign this collection of test statistics to chol_simulated_stats. Put the test statistics into a one column table with 1500 rows called chol_simulated_table. Note: Your code might take a couple of minutes to run. In [ ] : chol_simulated_stats = make_array () for i in range (1500) : sim_stat = simulate_chol_change_null () chol_simulated_stats = np. append (chol_simulated_stats, sim_stat) chol_simulated_table = Table () . with_column( 'Simulated Test Statistics', chol_simulated In [ ]: _ = ok . grade ('q4_1_6')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
