ScratchData LogoScratchData
Back to PowerUpProduction123's profile

Mean Absolute Deviation Calculator.

POPowerUpProduction123•Created May 15, 2023
Mean Absolute Deviation Calculator.
2
2
19 views
View on Scratch

Instructions

After 5+ hours of work and 878 blocks, I now present to you... the Mean Absolute Deviation (MAD) Calculator! What is MAD? The mean absolute deviation of a dataset is the average distance between each data point and the mean. It gives us an idea about the variability in a dataset. (Khan Academy) How do you find MAD? First off, you start off by getting your values. My examples will be 85, 55, 100, and 40. Then, you find the mean of the data set. To find the mean, you add all the numbers, then divide by the value. For my example, 85+55+100+40=280, then 280/4=70 (mean). Then you find the distance between the value and the mean of the data set. You can use abs (absolute value) to make it easier. So you would do |85-70|, |55-70|, |100-70|, |40-70|. You get 15, 15, 30, and 30. Then, you find the mean of those numbers. 15+15+30+30=90, then 90/4=22.5. There you have it, the MAD: 22.5 100% of the code by me.

Project Details

Project ID851395727
CreatedMay 15, 2023
Last ModifiedMay 16, 2024
SharedMay 16, 2023
Visibilityvisible
CommentsAllowed