2.3. Write a simple function to compute the median absolute deviation (used in robust statistics; see Chapter

Question:

2.3. Write a simple function to compute the median absolute deviation (used in robust statistics; see Chapter 8) median [x - JLl with default JL the sample median.

S-PLUS users should compare their answer with the function mad.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Modern Applied Statistics With S-Plus

ISBN: 9781489928191

1st Edition

Authors: W. N. Venables, B. D. Ripley

Question Posted: