Useful Statistical Tools

1 / 86

# Useful Statistical Tools - PowerPoint PPT Presentation

Useful Statistical Tools. February 19, 2010. Today’s Class. Aphorisms Useful Statistical Tools Probing Question Assignments Surveys. Aphorisms. “Get close enough to know the task, but stay far enough to see the patterns.” &quot;Humor happens, embrace it.“

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about 'Useful Statistical Tools' - kimberly

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### Useful Statistical Tools

February 19, 2010

Today’s Class
• Aphorisms
• Useful Statistical Tools
• Probing Question
• Assignments
• Surveys
Aphorisms

“Get close enough to know the task, but stay far enough to see the patterns.”

"Humor happens, embrace it.“

"Much like improv, prom night, and getting into fights, the key to good contextual inquiry is to always say yes.“

"Learn as though you would never be able to master it; hold it as though you would be in fear of losing it.“

"Until you learn to interpret openly, you open yourself to mis-interpretation.“

"To know an answer, you must ask a question. To know a truth, you must contextually inquire the right question.”

"Your participant does all the hard stuff. All you have to do is talk about it and check your work“

"You cannot learn if you already know, unless you first learn how to forget!“

"Listen to the people around you, including to those you know well -- but listen deeper.“

"Do, or do not. There is no try."

Any guesses
• From those who did not email in?
• Juelaila has won the first cookie
• There is one cookie remaining
Aphorisms

“Get close enough to know the task, but stay far enough to see the patterns.”

"Humor happens, embrace it.“

"Much like improv, prom night, and getting into fights, the key to good contextual inquiry is to always say yes.“

"Learn as though you would never be able to master it; hold it as though you would be in fear of losing it.“

"Until you learn to interpret openly, you open yourself to mis-interpretation.“

"To know an answer, you must ask a question. To know a truth, you must contextually inquire the right question.”

"Your participant does all the hard stuff. All you have to do is talk about it and check your work“

"You cannot learn if you already know, unless you first learn how to forget!“

"Listen to the people around you, including to those you know well -- but listen deeper.“

"Do, or do not. There is no try."

Aphorisms

“Get close enough to know the task, but stay far enough to see the patterns.”

"Humor happens, embrace it.“

"Much like improv, prom night, and getting into fights, the key to good contextual inquiry is to always say yes.“

"Learn as though you would never be able to master it; hold it as though you would be in fear of losing it.“

"Until you learn to interpret openly, you open yourself to mis-interpretation.“

"To know an answer, you must ask a question. To know a truth, you must contextually inquire the right question.”

"Your participant does all the hard stuff. All you have to do is talk about it and check your work“

"You cannot learn if you already know, unless you first learn how to forget!“

"Listen to the people around you, including to those you know well -- but listen deeper.“

"Do, or do not. There is no try."

• "Do, or do not. There is no try.“
• "Until you learn to interpret openly, you open yourself to mis-interpretation.“
Let’s discuss
• A few of these aphorisms
• Do you think that they help us understand the idea and practice of contextual inquiry better?
• “Get close enough to know the task, but stay far enough to see the patterns.”
• "Much like improv, prom night, and getting into fights, the key to good contextual inquiry is to always say yes.“
• "Until you learn to interpret openly, you open yourself to mis-interpretation.“
• "Your participant does all the hard stuff. All you have to do is talk about it and check your work“
• "You cannot learn if you already know, unless you first learn how to forget!“
Today’s Class
• Aphorisms
• Useful Statistical Tools
• Probing Question
• Assignments
• Surveys
Useful Statistical Tools
• Power Analysis
• Meta-Analysis
• Imputation
Power Analysis
• A set of methods for determining
• The probability that you will obtain a statistically significant result, assuming a true effect size and sample size of a certain magnitude
Or
• The reverse
• Given a certain true effect size, and a desired probability of obtaining a statistically significant result, what sample size is needed?
Why? When?
• Why might a researcher want to do each type of power analysis?
• When might a researcher want to do each type of power analysis?
When used
• Effect size + Power --> Sample Size
• Usually used before running study to pick sample size
• Effect size + Sample Size --> Power
• Usually used after running study to explain to thesis committee why more subjects are needed
Power analysis
• Can be computed from
• “Effect Size”/ Cohen’s d
• (M1 – M2)/ (pooled SD, e.g. s)
• r
• Difference in two r values
• And several other metrics
Power analysis
• Can be computed for
• Single-group t-test
• Two-group t-test
• Paired t-test
• F test
• Sign test
• Etc., etc., etc.
Mathematical Details
• Differ for different statistical tests and metrics
• Possible to do this in online power calculators
What is a good value for power?
• Conventionally, power = 0.80 is treated as “good”
• Kind of a magic number
Play with calculator
• http://www.cs.uiowa.edu/~rlenth/Power/
• Two-sample t-test
Volunteer #1
• If the true effect size is 0.5 s, how big a sample do you need to achieve Power = 0.8?
Volunteer #2
• If the true effect size is 0.2 s, how big a sample do you need to achieve Power = 0.8?
Volunteer #3
• If your control condition gains 20 points pre-post
• And your experimental condition gains 40 points pre-post
• And the pooled standard deviation is 30 points
• And you have 20 students in each condition
How can statistical power be increased?
• Both in theory, and in real life
How can statistical power be increased?
• Increase difference in means
How can statistical power be increased?
• Increase difference in means
• Make your control condition worse
• Some researchers make the mistake of picking a control condition that’s impossibly good
• ScienceAssistments versus ScienceAssistments, with one less potential IV
• This doesn’t mean you should fish for a control condition that is absurdly awful
• DrScheme versusLearning programming through interpretive dance
• Miley’s World versusLearning math through reading textbooks
How can statistical power be increased?
• Increase difference in means
• Make your control condition worse
• Some researchers make the mistake of picking a control condition that’s impossibly good
• ScienceAssistments versus ScienceAssistments, with one less potential IV
• This doesn’t mean you should fish for a control condition that is absurdly awful
• DrScheme versusLearning programming through interpretive dance
• Miley’s World versusLearning math through reading textbooks written in Danish
How can statistical power be increased?
• Reduce standard deviation
• What methods have we discussed in class that could help us do this?
How can statistical power be increased?
• Reduce standard deviation
• What methods have we discussed in class that could help us do this?
• Stratification
Meta-Analysis
• Very important point, right up front
• There is meta-analysis
• And then there are the statistical techniques used in meta-analysis
• Much broader in application than just classical meta-analysis!
Meta-Analysis
• In the classic sense, integrating across a set of previous studies, to attempt to find an overall effect size or significance of finding across all those studies
Examples
• Kulik & Kulik (1991) computer-aided instruction does 0.3 s better than traditional instruction
• Cohen, Kulik, & Kulik (1982) found that expert tutors do 2.3 s better than traditional instruction; novice tutors only do 0.4 s better than traditional instruction
Process of doing a meta-analysis
• Find all the studies on topic of interest
• Find measure of interest (effect size or statistical significance)
• Integrate across studies
Challenges
• What might make it difficult to
• Find all the studies on topic of interest
• ?
Challenges to Finding all Studies
• Knowing what terminology to use in literature review – many phenomena have many names
• Gaming the system, Systematic Guessing, Hint Abuse, Help Abuse, Executive Help-Seeking, Letaxmaning, Off-Task Gaming Behavior, Player Transformation, Goal Structure Misalignment
Challenges to Finding all Studies
• “File-Drawer Effect”
• Papers with null results get rejected by conference program committees and journal reviewers
• Papers with null results don’t get submitted in the first place
Find measure of interest
• Statistical significance
• If you can find a p, you can turn it into a Z, and you’re good to go
• Using Z formula in Excel, or a Z-p table
• Set direction on Z to be consistent
• E.g. all studies with finding X are positive
• All studies with finding not-X are negative
Find measure of interest
• Effect size
• Transform values into correlations or Cohen’s d values
Why might you…
• Why might you want to do meta-analysis on effect size versus statistical significance?
Integrating Across Studies
• Two cases
• Studies are independent
• Studies are non-independent
Studies are Independent
• By far the statistically easier case
Aggregating significance tests
• Stouffer’s Z
• For N studies, each with Z value

SZ

sqrt(N)

Example
• Five studies on the effects of taking gym class on mathematics performance
• Two studies found positive effect of taking gym class, p= 0.02, p=0.06
• Three studies found negative effect of taking gym class, p=0.05, p=0.11, p=0.75
• One-tailed Z table on the next slide
Aggregating correlations
• Convert r to Fisher z’
• For N studies, each with z’ value
• Sz’
• N
• Then convert the result back to r
Why Fisher z’?
• Equal differences between any two Fisher z’ values are equal in significance
• Whereas r is uneven
• From r=0.8 to 0.9 is a bigger difference in significance than r=0.2 to r=0.3
• So transformation is necessary to weight all differences in correlation equally
Example
• Five studies on the effects of learning computer programming on popularity
• Two studies found positive correlation, r = 0.1, r= 0.3
• Three studies found negative correlation, r = - 0.8, r = - 0.6, r = - 0.7
• Fisher z’ table on the next slide
Studies are non-independent
• Generally taken to mean that same sample (at least in part) is involved
• The case where there is non-independence due to similar (or the same) learning materials is generally not considered, as inter-correlation is low and difficult to compute
Math is “complex”
• Strube’s (1985) Adjusted Z is used instead of Stouffer’s Z in these cases
• Accounts for correlation of different data points for the same subject
• Similar approach for effect size
Non-independence in modeling
• Take the case where you are studying whether an EDM model is statistically significantly different than chance
• N actions involving M students
• It is extremely invalid to do a statistical significance test involving N actions
• Assumes each action is independent of each other action
• But it biases towards non-significance to collapse the N data points into one data point per student
Solution
• Do separate statistical significance test within each student (actions can be treated as independent of each other, once student is accounted for)
• Then use Stouffer’s Z to aggregate across students
To see examples…
• There is not time to discuss the math in detail today, but see examples in
• Baker, Corbett, & Aleven (2008)
• Baker, Corbett, Roll, & Koedinger (2008)
Imputation
• In data sets with large amounts of data per data point
• For instance, extremely long surveys or demographic data
• It is common to have small amounts of missing data in each data point
• E.g. variable 17 missing for students 1, 14, 90, 112, 202, 477
In these cases…
• It may be undesirable to throw out every data point that has a missing response
• You might end up losing 30-40% of your data, or more, and biasing your data
• For instance, people who occasionally fail to respond to survey items probably differ systematically from people who dilligently and carefully answer every question
Imputation
• For each data point missing a value
• Find a set of “similar” data point that is not missing that value
• Similar data point has low absolute difference across non-missing variables
• Randomly choose one of the non-missing values to fill in the missing data
Multiple Imputation
• Create 3-10 data sets in this fashion
• Then for all the missing data, find the mean (and SD) across all imputed data sets
• Use the no-longer-missing data in future analyses
An alternative: regression imputation
• Find set of linear regression functions predicting each variable from all other variables
• Use this function to fill in missing data
• Multiple Imputation
• Regression Imputation
• Throwing out all data points with missing variables
Today’s Class
• Aphorisms
• Useful Statistical Tools
• Probing Question
• Assignments
• Surveys
Probing Question
• Observation: Relatively few researchers use power analysis when designing their studies.
• Why?
• Are they making a mistake?
Today’s Class
• Aphorisms
• Useful Statistical Tools
• Probing Question
• Assignments
• Surveys
Assignment #5
• Any questions?
Today’s Class
• Aphorisms
• Useful Statistical Tools
• Probing Question
• Assignments
• Surveys