Guidelines for asking data-analysis questions
Created 30 Jun 2016 • Last modified 20 Jul 2016
Please follow these few guidelines when asking a question about data analysis, whether on Cross Validated or elsewhere. These details may seem unnecessary, but providing them is likely to get you better, more complete, and more useful advice (partly by avoiding what's called the XY problem).
- Clarify which of these things you're doing:
- Working on a homework problem
- Learning about data analysis, statistics, or machine learning on your own
- Analyzing data as part of a scientific research project
- Analyzing data to solve a real-world problem
- Describe your situation completely.
- Clarify whether you already have data or you're in some kind of planning phase (or both).
- If you're doing a scientific research project, describe the research goal (e.g., estimating the maximum running speed of an average cheetah, or developing a better treatment for people with a fear of elevators).
- Describe the design of your study. How many times was each subject (or other unit of analysis) measured on each variable, and which measurements happened when? Are there any groups subjects are organized into, whether naturally (like countries or schools) or artificially (like treatment conditions or therapy groups)?
- If you're trying to solve a real-world problem, describe what you're trying to accomplish (e.g., predict how American Congressmen will vote on a certain bill, or design a banner ad that maximizes clicks per impression).
- Mention your (expected) sample size, and name and describe every variable (or, if you have a very large number of variables, count them and describe their overall organization).
- If your question is about one or a few particular variables, provide plots.
- Providing your raw data, or even just a few rows of your raw data, is always helpful.