Restructuring Dyadic Data

Slides:



Advertisements
Similar presentations
Specification Issues in Relational Models David A. Kenny University of Connecticut Talk can be downloaded at:
Advertisements

University of Connecticut
University of Connecticut
Dyadic Analysis: Using HLM
Actor-Partner Interdependence Model or APIM David A
DataToText: A Consumer-Oriented Approach to Data Analysis David A. Kenny University of Connecticut University of Connecticut
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop SPSS general commands Overview.
Dr. Engr. Sami ur Rahman Data Analysis Lecture 6: SPSS.
General Linear Models The theory of general linear models posits that many statistical tests can be solved as a regression analysis, including t-tests.
Using k to Estimate and Test Patterns in the APIM David A. Kenny February 17, 2013.
Test of Distinguishability
An Introduction to the Social Relations Model David A. Kenny.
EPUNet Training Course 2005 Day 2 Tutors: Olaf Jürgens and Christian Schmitt Berlin, April 11th to April 15th 2005.
10. NLTS2 Documentation Overview. 1 Prerequisites Recommended modules to complete before viewing this module  1. Introduction to the NLTS2 Training Modules.
Getting the Most Out of the Statistical Consultant Research Round Table 3: By David Newman.
Social Relations Model: Estimation Distinguishable Dyads
Understanding SPSS Michael Rose, Graduate Assistant David Dysart, Graduate Assistant Salena Soria, IR Casual Worker Workshop Series October 10,
APIM with Distinguishable Dyads: SEM Estimation
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Calculating AIA Alpha in Excel - M. Parent, Open the SPSS data set on which you want to run the alpha analysis.
APIM with Between- and Within Dyads Outcomes David A. Kenny December 11, 2014.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
Collection and Analysis of Data CPH 608 Spring 2015.
Introduction to Multilevel Modeling Using SPSS
Organizing Your Data for Statistical Analysis in SPSS
Introduction to SPSS Edward A. Greenberg, PhD
Illustrating DyadR Using the Truth & Bias Model
Growth Curve Models Using Multilevel Modeling with SPSS David A. Kenny January 23, 2014.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Splitting Files PowerPoint Prepared by Alfred.
Data Liberation Training 2001 Complex Files: Pasting and Cutting with SPSS Université de Montréal Wendy Watkins April 24, 2001.
Instruction Guides for David Howell’s Textbook Examples Boxplots and Stem-and-Leaf Plots Sign Test using the Binomial Distribution.
One-with-Many Design: Introduction David A. Kenny June 11, 2013.
Introduction to SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
Introduction to SPSS Prof. Ramez Bedwani. Outcomes By the end of this lecture, the student will be able to Know definition, uses and types of statistics.
Actor-Partner Interdependence Model or APIM
 Muhamad Jantan & T. Ramayah School of Management, Universiti Sains Malaysia Data Analysis Using SPSS.
Perform Descriptive Statistics Section 6. Descriptive Statistics Descriptive statistics describe the status of variables. How you describe the status.
Analysis Introduction Data files, SPSS, and Survey Statistics.
Stuff I Have Done and Am Doing Now David A. Kenny.
Understanding SPSS Brandon Aragon, Research Technician Eric Cazares, Graduate Assistant Claudia Alvarado, Graduate Assistant Workshop Series October.
DICHOTOMOUS KEYS. WHAT IS A DICHOTOMOUS KEY?  When a biologist wants to identify a plant or animal they have found, they often use an identification.
Using SPSS Next. An Introduction SPSS (the Statistical Package for the Social Sciences)
Definitions in Dyadic Data Analysis David A. Kenny February 18, 2013.
Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai Dependent t-Test PowerPoint Prepared by Alfred P.
Understanding SPSS Workshop Series February 18, 2016.
第 8 章 PowerPoint 2003 的使用 1 PowerPoint 2003 窗口简介 2 PowerPoint 2003 演示文稿的创建与放映 3 幻灯片的基本操作.
How to Create an On-Line Certificate of Veterinary Inspection (CVI) in VSPS for Accredited Veterinarians.
Data Workshop H397. Data Cleaning  Inputting data  Missing Values  Converting String Variables  Creating Scales  Creating Dummy Variables.
Workshop Series May 17, 2017 Brandon Aragon
Introduction to Marketing Research
APIM with Distinguishable Dyads: MLM Estimation by Interactions
Dr. Siti Nor Binti Yaacob
Introduction to SPSS.
By Dr. Madhukar H. Dalvi Nagindas Khandwala college
APIM with Distinguishable Dyads: MLM Estimation (in development)
APIM with Indistinguishable Dyads: MLM Estimation
Claire A. Wood1, Heather M. Helms2, & W. Roger Mills-Koonce2
DEPARTMENT OF COMPUTER SCIENCE
Dr. Siti Nor Binti Yaacob
SPSS OUTPUT & INTERPRETATION
SPSS OUTPUT & INTERPRETATION
SPSS Overview COM 631/731.
APIM with Indistinguishable Dyads: SEM Estimation
Defining, Measuring, and Dealing with Nonindependence
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
Social Relations Model: Estimation of Relationship Effects
إحصاء تربوي الفصل الأول: المفاهيم الأساسية الإحصائية
Chapter Fourteen Data Preparation.
Presentation transcript:

Restructuring Dyadic Data David A. Kenny

Background Dyadic Data Structures Individual One record for each person Own person’s variables Dyad One record for the dyad Both persons’ variables Pairwise View: http://davidakenny.net/webinars/Dyad/General/DDS/DDS.html

The Problem You have one data structure and you want to convert to another. individual to dyad individual to pairwise dyad to pairwise Other conversions are trivial and can be accomplished either by deleting cases or renaming variables. 3

Dyad ID For restructuring individual data, a unique identification number for each pair of persons is needed. For longitudinal standard design, the “DyadID” is for each time point for each dyad. 4

Usual Strategies to Restructure Restructuring by entering the data the “right” way. Cut and paste Computer programs Built in routines to restructure SPSS: davidakenny.net/webinars/powerpoints/Dyad/General/Restructuring.pdf

New Strategies to Restructure R programs Individual to pairwise Individual to dyad Dyad to pairwise Apps SPSS macro (no longer maintained)

R Restructuring Programs Written in R Co-written with Thomas Ledermann of Utah State University Information available at http://davidakenny.net/doc/RDDD.pdf

Details Installing R davidakenny.net/doc/InstallR.pdf Three programs ItoP.R: Individual to pairwise davidakenny.net/kkc/c1/ItoP.R ItoD.R: Individual to dyad http://davidakenny.net/kkc/c1/ItoD.R DtoP.R: Dyad to pairwise davidakenny.net/kkc/c1/DtoP.R

General R Program RDDD Description: davidakenny.net/doc/RDDD.pdf Program: davidakenny.net/progs/RDDD.R

Descriptive Information for Dyad Dataset   Descriptive Information for Dyad Dataset The dataset c:/ai.sav has been transformed from an individual to a dyad dataset called c:/dyad.csv. The distinguishing variable is Gender, and it has two levels, Wives (-1) and Husbands (1). There are 148 dyads and 296 individuals, 148 Wives and 148 Husbands. There are no missing data on any of the variables in the dataset. There are 7 variables, 1 between-dyad variable, 1 within-dyad variable, and 5 mixed variables. The one between-dyad variable is Years Married, and the one within-dyads variable is Gender. The within-dyads variable, Gender, is a dichotomy and could be used as a distinguishing variable. The descriptive statistics for the variables as individuals are contained in Table 1 and the descriptive and inferential statistics as dyads are contained in Table 2.

Table 1: Descriptive Statistics for Individuals (All Variables) Variable Mean sd Minimum Maximum Intra. r Years Married -0.000 7.707 -11.214 15.036 1.000 Gender 0.000 1.002 -1.000 1.000 -1.000 Self Positivity 4.186 0.412 2.600 5.000 0.087 Other Positivity 4.264 0.498 2.600 5.000 0.235 Satisfaction 3.605 0.496 1.167 4.000 0.618 Tension 2.431 0.687 1.000 4.000 0.319 Similar Hobbies 0.078 0.646 -1.000 1.000 0.281  

  Table 2: Inferential and Descriptive Statistics for Dyads (Mixed Variables) Mean sd Variable Wives Husbands p Wives Husbands p r p Self Positivity 4.291 4.082 <.001 0.409 0.390 .568 .157 .056 Other Positivity 4.246 4.281 .490 0.523 0.474 .225 .234 .004 Satisfaction 3.591 3.618 .451 0.530 0.462 .034 .623 <.001 Tension 2.520 2.341 .006 0.709 0.655 .306 .340 <.001 Similar Hobbies 0.189 -0.034 <.001 0.587 0.684 .052 .321 <.001   All calculations are based on 148 cases. Degrees of freedom for the test of mean difference are 147 and for the test of standard deviation difference and the test of the correlation are 146.

Restructuring Apps Uses the Ledermann & Kenny R programs Adaptation to apps done with the assistance of Robert Ackerman Web-based, no need to download R or to install R. Answer prompts Results Text on the screen Restructured data that can be downloaded Link: http://davidakenny.net/RDDD.htm

ItoP Illustration

SPSS Macros Steps Download the macro. Run the macro. Open the dataset. Create the call. Run the call. Macros pairwise.sps http://davidakenny.net/kkc/c1/pairwise.sps indtodyad.sps http://davidakenny.net/kkc/c1/indtodyad.sps

Calls (red is required) pairwise.sps Pairwise dyadid = dyad i1 = 'A' i2 = 'P' directory = 'c:\'. indtodyad.sps IndToDyad dyadid = dyad distvar = gender i1 = 'F' i2 = 'M' directory = 'c:\'.

Issues 2 records per dyad No string variables for most methods The “Individual to Dyad” restructuring programs always produce a new variable called “partnum” (one member is given a “1” and the other a “2”) which can be useful in analyses.

Thomas Ledermann & Rob Ackerman! Additional Readings Kenny, D. A., Kashy, D. A., & Cook, W. L. Dyadic data analysis. New York: Guilford Press, Chapter 1. Ledermann, T., & Kenny, D. A. (2014). A toolbox with programs to restructure and describe dyadic data. Journal of Social and Personal Relationships, online. View as a webinar (small charge) Special thanks to Thomas Ledermann & Rob Ackerman! 22