9
$\begingroup$

I plot something to make a point to myself or someone else. Usually, a question starts this process, and often the person asking hopes for a particular answer.

How can I learn interesting things about the data in a less biased way?

Right now I'm roughly following this method:

  1. Summary statistics.
  2. Stripchart.
  3. Scatter plot.
  4. Maybe repeat with an interesting subset of data.

But that doesn't seem methodical or scientific enough.

Are there guidelines or procedures to follow that reveal things about the data I wouldn't think to ask? How do I know when I have done an adequate analysis?

$\endgroup$

3 Answers 3

6
$\begingroup$

There's a whole field of exploratory data analysis (EDA), and an excellent book on this subject called Exploratory Data Analysis, by John W. Tukey.

I like that you are using graphs - there are many other graphs that can be useful, depending on your data - how many variables? What nature are the variables (Categorical? Numeric? Continuous? Counts? Ordinal?)

One graph that is often useful for data with multiple variables is a scatterplot matrix.

You can look for various types of outliers, which are often interesting points.

But I don't think this whole process can be made really methodical and scientific - exploration is what comes BEFORE the methodical and scientific approaches can be brought in. Here, I think the key aspect is playfulness.

$\endgroup$
5
  • $\begingroup$ (+1) Can you provide a link to the mentioned book ? $\endgroup$
    – steffen
    Commented Jul 11, 2011 at 8:08
  • $\begingroup$ EDA from the Engineering and Statistics Handbook itl.nist.gov/div898/handbook/eda/eda.htm. $\endgroup$
    – Selden
    Commented Jul 11, 2011 at 21:18
  • $\begingroup$ @Peter Flom 13 variables are produced by comparing two sets of output produced by a program running on two sets of input. The program runs periodically. Variables are ordinal, category, category, category, category, count, count, count, count, numeric, numeric, count, and count. The names are id, machineA, inputA, machineB, inputB, new, same, missing, newP, missingP, lengthA, lengthB, scoreA, scoreB. But the decision to compare only the most recent output is also my good/bad idea. $\endgroup$
    – Selden
    Commented Jul 11, 2011 at 21:37
  • $\begingroup$ The book is actually called Exploratory Data Analysis (not EDA) it's by John W. Tukey (my memory tricked me because the cover of my edition is labeled EDA) Link: amazon.com/Exploratory-Data-Analysis-John-Tukey/dp/0201076160/… $\endgroup$
    – Peter Flom
    Commented Jul 12, 2011 at 11:54
  • $\begingroup$ @selden Well, ID is probably not a useful variable. Between two categorical variables you can look at mosaic plots; between a categorical and a numeric, parallel boxplots can be good. $\endgroup$
    – Peter Flom
    Commented Jul 12, 2011 at 11:56
1
$\begingroup$

If you have chronological data i.e.time series data then there are "knowns" and waiting to be discovered are the "unknowns" . For example if you have a sequence of data points for 10 periods such as 1,9,1,9,1,5,1,9,1,9 then based upon this sample one can reasonably expect 1,9,1,9,... to arise in the future. What data analysis reveals is that there is an "unusual" reading at period 6 even though it is well within +-3 sigma limits suggesting that the DGF did not hold. Unmasking the Inlier/Outlier allows us to reveal things about the data. We also note that the Mean Value is not the Expected Value. This idea easily extends to detecting Mean Shifts and/or Local Time Trends that may have been unknown before the data was analyzed ( Hypothesis Generation ). Now it is quite possible that the next 10 readings are also 1,9,1,9,1,5,1,9,1,9 suggesting that the "5" is not necessarily untoward. If we observe an error process from a suitable model that exhibits provable non-constant variance we might be revealing one of the following states of nature: 1) the parameters might have changed at a particular point in time ; 2. There may be a need for Weighted Analysis (GLS) ; 3. There may be a need to transform the data via a power transform; 4. There may be a need to actually model the variance of the errors. If you have daily data good analysis might reveal that there is a window of response (lead,contemporaneous and lag structure) around each Holiday reflecting consistent/predictable behavior. You might also be able to reveal that certain days of the month have a significant effect or that Fridays before a Monday holiday have exceptional activity.

$\endgroup$
0
$\begingroup$

Datamining could be broken down into two categories. If you are interested in measuring the effect of a data set/variables on a specific variable then this would be considered supervised learning. For deep and exploratory learning with no objective you are undergoing unsupervised learning.

Graphing and statistical analysis of the data (understanding distributions and gaining intuition) are the first steps.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.