Today’s program Herwart / Axel: Kiva intro (the Galak et al. paper) Follow-up questions Non-response (and respondent list) Multi-level models in Stata.

Slides:



Advertisements
Similar presentations
Introduction Describe what panel data is and the reasons for using it in this format Assess the importance of fixed and random effects Examine the Hausman.
Advertisements

Multilevel modelling short course
ASSUMPTION CHECKING In regression analysis with Stata
AMMBR - final stuff xtmixed (and xtreg) (checking for normality, random slopes)
AMMBR from xtreg to xtmixed (+checking for normality, random slopes)
Advanced MMBR Conjoint analysis. Advanced Methods and Models in Behavioral Research Conjoint analysis -> Multi-level models You have to understand: -What.
Toolkit + “show your skills” AMMBR from xtreg to xtmixed (+checking for normality, and random slopes, and cross-classified models, and then we are almost.
Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Copyright © 2009 Pearson Education, Inc. Chapter 29 Multiple Regression.
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
Xtreg and xtmixed: recap We have the standard regression model (here with only one x): but think that the data are clustered, and that the intercept (c.
Multiple Regression Fenster Today we start on the last part of the course: multivariate analysis. Up to now we have been concerned with testing the significance.
Random effects estimation RANDOM EFFECTS REGRESSIONS When the observed variables of interest are constant for each individual, a fixed effects regression.
Advanced Methods and Models in Behavioral Research – 2014 Been there / done that: Stata Logistic regression (……) Conjoint analysis Coming up: Multi-level.
Regression Part II One-factor ANOVA Another dummy variable coding scheme Contrasts Multiple comparisons Interactions.
AMMBR from xtreg to xtmixed (+checking for normality, and random slopes, and cross-classified models, and then we are done in terms of theory)
Chapter 3 Producing Data 1. During most of this semester we go about statistics as if we already have data to work with. This is okay, but a little misleading.
School of Veterinary Medicine and Science Multilevel modelling Chris Hudson.
Chapter 12 Simple Regression
Class 5: Thurs., Sep. 23 Example of using regression to make predictions and understand the likely errors in the predictions: salaries of teachers and.
Lecture 19: Tues., Nov. 11th R-squared (8.6.1) Review
Statistics for the Social Sciences
Clustered or Multilevel Data
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
Topic 3: Regression.
Role and Place of Statistical Data Analysis and very simple applications Simplified diagram of a scientific research When you know the system: Estimation.
Finding help. Stata manuals You have all these as pdf! Check the folder /Stata12/docs.
Linear Regression 2 Sociology 5811 Lecture 21 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
3nd meeting: Multilevel modeling: introducing level 1 (individual) and level 2 (contextual) variables + interactions Subjects for today:  Intra Class.
ECON 6012 Cost Benefit Analysis Memorial University of Newfoundland
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Chapter 13: Inference in Regression
Chapter 11 Simple Regression
One-Factor Experiments Andy Wang CIS 5930 Computer Systems Performance Analysis.
Typical paper follow-ups Paper is wrong (in the sense of a real mistake) There is an alternative explanation for the analytical results. You test that.
Advanced Methods and Models in Behavioral Research – 2010/2011 AMMBR course design CONTENT METHOD Y is 0/1 conjoint analysis logistic regression multi-level.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Introduction Multilevel Analysis
Dealing with data All variables ok? / getting acquainted Base model Final model(s) Assumption checking on final model(s) Conclusion(s) / Inference Better.
Statistics and Quantitative Analysis U4320 Segment 12: Extension of Multiple Regression Analysis Prof. Sharyn O’Halloran.
Assignment 2: remarks FIRST PART Please don’t make a division of labor so blatantly obvious! 1.1 recode - don't just delete everything that looks suspicious!
Causal inferences During the last two lectures we have been discussing ways to make inferences about the causal relationships between variables. One of.
Multiple Regression The Basics. Multiple Regression (MR) Predicting one DV from a set of predictors, the DV should be interval/ratio or at least assumed.
From Theory to Practice: Inference about a Population Mean, Two Sample T Tests, Inference about a Population Proportion Chapters etc.
Multilevel Linear Models Field, Chapter 19. Why use multilevel models? Meeting the assumptions of the linear model – Homogeneity of regression coefficients.
Various topics Petter Mostad Overview Epidemiology Study types / data types Econometrics Time series data More about sampling –Estimation.
Corinne Introduction/Overview & Examples (behavioral) Giorgia functional Brain Imaging Examples, Fixed Effects Analysis vs. Random Effects Analysis Models.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Regression Part II One-factor ANOVA Another dummy variable coding scheme Contrasts Multiple comparisons Interactions.
Lecture 7: What is Regression Analysis? BUEC 333 Summer 2009 Simon Woodcock.
Chapter 13 Multiple Regression
STA 286 week 131 Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression.
ICCS 2009 IDB Workshop, 18 th February 2010, Madrid 1 Training Workshop on the ICCS 2009 database Weighting and Variance Estimation picture.
Lecture 10: Correlation and Regression Model.
Assumption checking in “normal” multiple regression with Stata.
KNR 445 Statistics t-tests Slide 1 Introduction to Hypothesis Testing The z-test.
Statistics for the Social Sciences Psychology 340 Spring 2010 Introductions & Review of some basic research methods.
Advanced MMBR Conjoint analysis (1). Advanced Methods and Models in Behavioral Research Conjoint analysis -> Multi-level models You have to understand:
Advanced Methods and Models in Behavioral Research – 2009/2010 AMMBR course design CONTENT METHOD Y is 0/1 conjoint analysis logistic regression multi-level.
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Multiple Regression Learning Objectives n Explain the Linear Multiple Regression Model n Interpret Linear Multiple Regression Computer Output n Test.
Advanced MMBR Conjoint analysis. Advanced Methods and Models in Behavioral Research Conjoint analysis -> Multi-level models You have to understand: -What.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Methods of multivariate analysis Ing. Jozef Palkovič, PhD.
Module II Lecture 1: Multiple Regression
Bivariate & Multivariate Regression Analysis
Regression Analysis Module 3.
One-Factor Experiments
Presentation transcript:

Today’s program Herwart / Axel: Kiva intro (the Galak et al. paper) Follow-up questions Non-response (and respondent list) Multi-level models in Stata

Your follow-up questions See Galak_etal_follow_ups.rtf Advanced Methods and Models in Behavioral Research – 2012

Issues Consider doable in short vs long term Consider doable with the same or similar data, and on the same or another site Consider topic (it should not be Kiva) Not just... “this might also be interesting” Advanced Methods and Models in Behavioral Research – 2012

Typical paper follow-ups Paper is wrong There is an alternative explanation for the analytical results Paper’s conclusion might be dependent on design/measurement/analysis. Redo with different kind of design/measurement/analysis Paper is right, but conclusions limited to a given time or place or context Paper argues that X’s of a given kind are important  you check several other X’s of that kind, or  you check several X’s of a different kind Relative importance of (kinds of) X’s A connection X  Y is given with a “theory” behind it. You check that theory behind it in more detail (typically with another kind of design/measurement/analysis).

Finding other papers on the topic Look at the references in the original paper Search for Kiva related papers (either in Google scholar or directly in Web of Science / Scopus...) Search for more general key-words: “micro- financing” & “decision-making” Other literature: try “matching” (e.g. Literature on online dating), other sites with similar setup (e.g. eBay), persuasion and trust, charitable giving...

New analysis/paper: conjoint experiment Tests importance of stimuli directly (allows comparison of importance of different stimuli + choice of stimuli) (also note the analysis on magnitude of donation in Galak et al., and their complicated analysis of the similarity argument) Population consists largely of non-donors No real money involved...

Non-response analysis Not all of the ones invited are going to participate Think about selective non-response: some (kinds of) individuals might be less likely to participate. How might that influence the results? sample

Back to the (multi-level) statistics... Advanced Methods and Models in Behavioral Research – 2012

AMMBR course design CONTENT METHOD Y is 0/1 conjoint analysis logistic regression multi-level methods our own survey

Advanced Methods and Models in Behavioral Research – 2012 MULTI – LEVEL ANALYSIS

Advanced Methods and Models in Behavioral Research – 2012 Multi-level models or... dealing with clustered data. One solution: the variance component model Bayesian hierarchical models mixed models (in SPSS) hierarchical linear models random effects models random coefficient models subject specific models variance component models variance heterogeneity models

Advanced Methods and Models in Behavioral Research – 2012 Clustered data / multi-level models Pupils within schools (within regions within countries) Firms within regions (or sectors) Vignettes within persons

Advanced Methods and Models in Behavioral Research – 2012 Two issues with clustered data Your estimates will (in all likelihood) be too precise: you find effects that do not exist in the population [further explanation on blackboard] You will want to distinguish between effects within clusters and effects between clusters [see next two slides]

Advanced Methods and Models in Behavioral Research – 2012 On individual vs aggregate data For instance: X = introvertX = age of McDonald’s employee Y = school resultsY = like the manager

Advanced Methods and Models in Behavioral Research – 2012 Had we only known, that the data are clustered! So the effect of an X within clusters can be different from the effect between clusters! Using the school example: lines represent schools. And within schools the effect of being introvert is positive!

Advanced Methods and Models in Behavioral Research – 2012 MAIN MESSAGES Be able to recognize clustered data and deal with it appropriately (how you do that will follow) Distinguish two kinds of effects: those at the "micro-level" (within clusters) vs those at the aggregate level (between clusters) (and... do not test a micro-hypothesis with aggregate data)

Advanced Methods and Models in Behavioral Research – 2012 A toy example – two schools, two pupils Overall mean(0) Two schools each with two pupils. We first calculate the means. Overall mean= (3+2+(-1)+(-4))/4= exam score School 2School 1 (taken from Rasbash)

Advanced Methods and Models in Behavioral Research – 2012 Now the variance Overall mean(0) exam score School 2School 1 The total variance is the sum of the squares of the departures of the observations around mean divided by the sample size (4) = ( )/4=7.5

Advanced Methods and Models in Behavioral Research – 2012 The variance of the school means around the overall mean exam score School 2School 1 Overall mean(0) The variance of the school means around the overall mean= ( (-2.5) 2 )/2=6.25 (total variance was 7.5)

Advanced Methods and Models in Behavioral Research – 2012 The variance of the pupils scores around their school’s mean exam score School 2School The variance of the pupils scores around their school’s mean= ((3-2.5) 2 + (2-2.5) 2 + (-1-(-2.5)) 2 + (-4-(-2.5)) 2 )/4 =1.25

Advanced Methods and Models in Behavioral Research – > So you can partition the variance in individual level and school level How much of the variability in pupil attainment is attributable to factors at the school and how much to factors at the pupil level? In terms of our toy example we can now say 6.25/7.5= 82% of the total variation of pupils attainment is attributable to school level factors 1.25/7.5= 18% of the total variation of pupils attainment is attributable to pupil level factors And this is important; we want to know how to explain (in this example) school attainment, and appararently the differences are at the school level more than the pupil level

Advanced Methods and Models in Behavioral Research – 2012 Standard multiple regression won't do YD1D2D3D4D5id… ……………3 +2……………3 -3……………4 +4……………4 ………………… So you can use all the data and just run a multiple regression, but then you disregard the clustering effect, which gives uncorrect confidence intervals (and cannot distinguish between effects at the cluster vs at the school level) Possible solution (but not so good) You can aggregate within clusters, and then run a multiple regression on the aggregate data. Two problems: no individual level testing possible + you get less data points. So what can we do?

Advanced Methods and Models in Behavioral Research – 2012 Multi-level models The usual multiple regression model assumes... with the subscript "i" defined at the case-level.... and the epsilons independently distributed with covariance matrix I. With clustered data, you know these assumptions are not met.

Advanced Methods and Models in Behavioral Research – 2012 Solution 1: add dummy-variables per cluster So just multiple regression, but with as many dummy variables as you have clusters (minus 1)... where, in this example, there are j+1 clusters. IF the clustering is (largely) due to differences in the intercept between persons, this might work. BUT if there are only a handful of cases per person, this necessitates a huge number of extra variables

Advanced Methods and Models in Behavioral Research – 2012 Solution 2: split your micro-level X-vars Say you have: then create: and add both as predictors (instead of x 1 ) Make sure that you understand what is happening here, and why it is of use.

Advanced Methods and Models in Behavioral Research – 2012 Solution 3: the variance component model In the variance component model, we split the randomness in a "personal part" and a "rest part"

Advanced Methods and Models in Behavioral Research – 2012 Now: how do you do this in Stata? [note to CS: use age and schooling as examples to split at restaurant level] relevant commands xtset and xtreg bys : egen = mean( ) gen dvarB = - convenience commands tab, gen()drop orderdes editsum

Advanced Methods and Models in Behavioral Research – 2012 Up next How do we run the "Solution 1”, "Solution 2”, and “Solution 3” analysis and compare which works best? What about assumption checking? Random intercept we now saw, but how about random slopes?

Advanced Methods and Models in Behavioral Research – 2012 When you have multi-level data (2 levels) 1.If applicable: consider whether using separate dummies per group might help (use only when this does not create a lot of dummies) 2.Run an empty mixed model (i.e., just the constant included) in Stata. Look at the level on which most of the variance resides. 3.If applicable: divide micro-variables in "group mean" variables and "difference from group mean" variables. 4.Re-run your mixed model with these variables included (as you would a multiple regression analysis) 5.(and note: use regression diagnostics secretly, to find outliers and such)

To Do Make an invitation list using the Excel template that I will send to you later this week (don’t invite anyone just yet!) Make sure you understand the multi-level concept with random intercepts (that is: c 0 varies per cluster), and know how to do it in Stata Try the assignment on the website. Next week we will work on that data in class. Check out the practice data “motoroccasion8March2012.dta” on the website as well. It’s practice data. Advanced Methods and Models in Behavioral Research – 2012

Data: TVSFP on influencing behavior Advanced Methods and Models in Behavioral Research – 2012

Online already (though not visible) motoroccasion8March2012.dta Online already (though not visible) motoroccasion8March2012.dta