Over this and the next couple of problems, you will work to build up a program that calculates central tendencies for two columns of data located in the covid19.csv file(originally from the CDC website).
For this problem, focus on calculating the variance for the 1st Dose Allocations column. Variance is how far a set of numbers is spread out from their mean value. Once you have added the variance action block, run the program. The following is the output you should expect to get.
Central Tendencies of the following Column: 1st Dose Allocations Mean: 62061.63265306125 Median: 38025.0 Standard Deviation: 81206.03894539685 Variance: 6594420761.20131 Kurtosis: 0.0
Coding:
Hotkey Shortcuts
Move BlocksUP or DOWN or TAB
Run Program ALT + SHIFT + R
Stop Program ALT + SHIFT + S
Hide Tray ALT + SHIFT + X
Zoom In ALT + +
Zoom Out ALT + -
Open Help ALT + SHIFT + H
Navigate to Tray ALT + 1
Navigate to Blocks ALT + 2
Enter Navigation Mode SHIFT + ENTER
Blocks
Hint
Great job!
Try again
The previous solution has been added to this program so the only calculation you will add is the variance block. Add the variance action block after the select action and before the output blocks. In the next problem, you will calculate one more measure of central tendencies.
Central Tendencies of the following Column: 1st Dose Allocations
Mean: 62061.63265306125
Median: 38025.0
Standard Deviation: 81206.03894539685
Variance: 6594420761.20131
Kurtosis: 0.0