Average Absolute Deviation?
30 ビュー (過去 30 日間)
古いコメントを表示
What is the coding in matlab to find the AAD?
0 件のコメント
回答 (3 件)
John D'Errico
2016 年 3 月 16 日
1. Compute the deviation. (You have not said what the deviation is from, so I cannot answer that.)
2. Compute the absolute value of the deviations. abs will suffice.
help abs
3. Use mean to compute the average.
help mean
Image Analyst
2016 年 3 月 16 日
編集済み: Image Analyst
2016 年 3 月 16 日
We usually find the median absolute deviation is a better measure https://en.wikipedia.org/wiki/Median_absolute_deviation because the measure itself is less affected by outliers.
On a global basis you can do
mad = median(abs(array(:) - median(array(:))))
We often use it to find outliers in the data.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Descriptive Statistics and Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!