MPO 581 Class number 11/27   Feb 23, 2011

Topic:

*Scripting (IDL one-liners) for automating plotting calls and EDA

*Correlation and line or curve (model) fitting. Hsieh Ch1 handed out.

*Variance decomposition I: multidimensional averages and deviations


Today's material: 

  1. Power tool for homework: if you can type it once, you can loop to build a string and do it N times. 
  2. Degrees of freedom, # independent samples, accounting for serial correlation or autocorrelation or oversampling, information content, etc. Fewest number of bins that can hold (most of) the variance.
  3. Decomposition of variance (Analysis of Variance)
    1. into orthogonal categories
      1. Example: Variance decomposition into averages and deviations: 2D (t and p in atm. soundings)
      2. Actually, any model + residual?
      3. Example: sines and cosines
Note: To conserve well, you must use real variance, NOT the population estimator (N-1 version aka "sample variance").
I had to write my own:
    function variance_n, array
        return, mean(double(array)^2) - mean(double(array))^2
    end

    4. Line fitting by least squares vs. LAD applets from wikipedia page on Least absolute deviations (LAD)
    5. Correlation and dependence (wikipedia)
    6. Pearson correlation


HW2 - Multivariate Mayhem!  datasets and tools updated. 


Open questions, assignments, and loose ends for next class:

Testable questions about today's material:s