Example #1: One-Way Independent Groups Design. An example based on a study by Forster, Liberman and Friedman (2004) from the

Similar documents
TABLE 4.1 POPULATION OF 100 VALUES 2

Appendix B STATISTICAL TABLES OVERVIEW

fruitfly fecundity example summary Tuesday, July 17, :13:19 PM 1

Using Statistics To Make Inferences 6. Wilcoxon Matched Pairs Signed Ranks Test. Wilcoxon Rank Sum Test/ Mann-Whitney Test

TRINITY COLLEGE DUBLIN THE UNIVERSITY OF DUBLIN. Faculty of Engineering, Mathematics and Science. School of Computer Science and Statistics

Lecture 2. Review of Linear Regression I Statistics Statistical Methods II. Presented January 9, 2018

MIT ICAT M I T I n t e r n a t i o n a l C e n t e r f o r A i r T r a n s p o r t a t i o n

Effect of Sample Size and Method of Sampling Pig Weights on the Accuracy of Estimating the Mean Weight of the Population 1

Performance of the Mean- and Variance-Adjusted ML χ 2 Test Statistic with and without Satterthwaite df Correction

9.3 Tests About a Population Mean (Day 1)

Investigating the Concordance Relationship Between the HSA Cut Scores and the PARCC Cut Scores Using the 2016 PARCC Test Data

APPLICATION OF RELIABILITY GROWTH MODELS TO SENSOR SYSTEMS ABSTRACT NOTATIONS

Solar Kit Lesson #13 Solarize a Toy

Antonio Olmos Priyalatha Govindasamy Research Methods & Statistics University of Denver

Linking the Georgia Milestones Assessments to NWEA MAP Growth Tests *

DRIVING PERFORMANCE PROFILES OF DRIVERS WITH PARKINSON S DISEASE

Linking the Kansas KAP Assessments to NWEA MAP Growth Tests *

Post 50 km/h Implementation Driver Speed Compliance Western Australian Experience in Perth Metropolitan Area

THERMOELECTRIC SAMPLE CONDITIONER SYSTEM (TESC)

Important Formulas. Discrete Probability Distributions. Probability and Counting Rules. The Normal Distribution. Confidence Intervals and Sample Size

2018 Automotive Fuel Economy Survey Report

The Evolution of Side Crash Compatibility Between Cars, Light Trucks and Vans

The application of the 95% Confidence interval with ISAT and IMAGE

Linking the Virginia SOL Assessments to NWEA MAP Growth Tests *

Bioconductor s sva package

CHANGE IN DRIVERS PARKING PREFERENCE AFTER THE INTRODUCTION OF STRENGTHENED PARKING REGULATIONS

Follow this and additional works at:

Testing for seasonal unit roots in heterogeneous panels using monthly data in the presence of cross sectional dependence

Linking the North Carolina EOG Assessments to NWEA MAP Growth Tests *

Non-contact Deflection Measurement at High Speed

Linking the Alaska AMP Assessments to NWEA MAP Tests

5. CONSTRUCTION OF THE WEIGHT-FOR-LENGTH AND WEIGHT-FOR- HEIGHT STANDARDS

Insights into experiences and risk perception of riders of fast e-bikes

Linking the New York State NYSTP Assessments to NWEA MAP Growth Tests *

The following output is from the Minitab general linear model analysis procedure.

Linking the Indiana ISTEP+ Assessments to the NWEA MAP Growth Tests. February 2017 Updated November 2017

Table 2: Tests for No-Cointegration Empirical Rejection Frequency of 5% Tests

Motor Trend MPG Analysis

STEERING ENTROPY AS A MEASURE OF IMPAIRMENT

Gains in Written Communication Among Learning Habits Students: A Report on an Initial Assessment Exercise

two populations are independent. What happens when the two populations are not independent?

[Insert name] newsletter CALCULATING SAFETY OUTCOMES FOR ROAD PROJECTS. User Manual MONTH YEAR

Technical Papers supporting SAP 2009

Stat 572 Sampling Theory & Practice Homework 4

Higher National Unit Specification. General information for centres. Electrical Motors and Motor Starting. Unit code: DV9M 34

PVP Field Calibration and Accuracy of Torque Wrenches. Proceedings of ASME PVP ASME Pressure Vessel and Piping Conference PVP2011-

2013 PLS Alumni/ae Survey: Overall Evaluation of the Program

Linking the Mississippi Assessment Program to NWEA MAP Tests

2018 Linking Study: Predicting Performance on the Performance Evaluation for Alaska s Schools (PEAKS) based on MAP Growth Scores

Oregon DOT Slow-Speed Weigh-in-Motion (SWIM) Project: Analysis of Initial Weight Data

Effect of Police Control on U-turn Saturation Flow at Different Median Widths

International Journal of Scientific & Engineering Research, Volume 4, Issue 11, November ISSN

The Emerging Risk of Fatal Motorcycle Crashes with Guardrails

POWER FLOW SIMULATION AND ANALYSIS

TSFS02 Vehicle Dynamics and Control. Computer Exercise 2: Lateral Dynamics

Linking the Indiana ISTEP+ Assessments to NWEA MAP Tests

Linking the Florida Standards Assessments (FSA) to NWEA MAP

Test-Retest Analyses of ACT Engage Assessments for Grades 6 9, Grades 10 12, and College

Collective Traffic Prediction with Partially Observed Traffic History using Location-Based Social Media

DRIVER SPEED COMPLIANCE WITHIN SCHOOL ZONES AND EFFECTS OF 40 PAINTED SPEED LIMIT ON DRIVER SPEED BEHAVIOURS Tony Radalj Main Roads Western Australia

SAN PEDRO BAY PORTS YARD TRACTOR LOAD FACTOR STUDY Addendum

Analyzing Crash Risk Using Automatic Traffic Recorder Speed Data

An Evaluation on the Compliance to Safety Helmet Usage among Motorcyclists in Batu Pahat, Johor

Nondestructive Detection and Quantification of Blueberry Bruising using Near-infrared (NIR) Hyperspectral Reflectance Imaging

Alcohol Ignition Interlocks: Research, Technology and Programs. Robyn Robertson Traffic Injury Research Foundation NCSL Webinar, June 24 th, 2009

Cost-Efficiency by Arash Method in DEA

EXTENDING PRT CAPABILITIES

Road Safety Status of AEC Countries

ECSE-2100 Fields and Waves I Spring Project 1 Beakman s Motor

Calibration Laboratory Assessment Service CLAS Certificate Number Page 1 of 5

Real-time Bus Tracking using CrowdSourcing

A REPORT ON THE STATISTICAL CHARACTERISTICS of the Highlands Ability Battery CD

PREDICTION OF FUEL CONSUMPTION

Integrating remote sensing and ground monitoring data to improve estimation of PM 2.5 concentrations for chronic health studies

HOW MUCH DRIVING DATA DO WE NEED TO ASSESS DRIVER BEHAVIOR?

SUBJECT AREA(S): Amperage, Voltage, Electricity, Power, Energy Storage, Battery Charging

OKLAHOMA CORPORATION COMMISSION REGULATED ELECTRIC UTILITIES 2017 RELIABILITY SCORECARD

Linking the PARCC Assessments to NWEA MAP Growth Tests

Distribution Uniformity of Multi Stream Multi Trajectory Rotary Nozzles Spaced Below Recommended Distance

Data envelopment analysis with missing values: an approach using neural network

CHAPTER 3: THE CHARACTERISATION OF MAGNETIC PARTICLE TYPE (GRADE) WITH RESPECT TO OIL PICK-UP

Chapter 9 Real World Driving

Development of Motor-Assisted Hybrid Traction System

GEOMETRICAL PARAMETERS BASED OPTIMIZATION OF HEAT TRANSFER RATE IN DOUBLE PIPE HEAT EXCHANGER USING TAGUCHI METHOD D.

Sample size determination and estimation of ships traffic stream parameters

Basic SAS and R for HLM

Evaluation of Intelligent Transport Systems impact on school transport safety

Article: Sulfur Testing VPS Quality Approach By Dr Sunil Kumar Laboratory Manager Fujairah, UAE

BAC and Fatal Crash Risk

Online appendix for "Fuel Economy and Safety: The Influences of Vehicle Class and Driver Behavior" Mark Jacobsen

Method for the estimation of the deformation frequency of passenger cars with the German In-Depth Accident Study (GIDAS)

VSP 7.0: Remedial Investigations (RI) of UXO Prone Sites & Visual Sample Plan

Column Name Type Description Year Number Year of the data. Vehicle Miles Traveled

PERFORMANCE AND ACCEPTANCE OF ELECTRIC AND HYBRID VEHICLES

Lecture 3: Measure of Central Tendency

1. Tolerance Allocation to Optimize Process Capability

Using ABAQUS in tire development process

Dynamic characteristics of railway concrete sleepers using impact excitation techniques and model analysis

Effects of speed distributions on the Harmonoise model predictions

Electromagnetic Fully Flexible Valve Actuator

Transcription:

Example #1: One-Way Independent Groups Design An example based on a study by Forster, Liberman and Friedman (2004) from the Journal of Personality and Social Psychology illustrates the SAS/IML program for a oneway independent groups design. These authors recruited 42 undergraduate students for a study on perception and concentration (p.181). Students were divided into three groups of equal size; the groups were given different thought exercises to perform before completing a set of 12 puzzles; students were asked to imagine solving a series of puzzles in the distant future, near future, or they were in a control group where they solved puzzles without any introduction. The dependent variable was the number of puzzles that each student correctly completed (out of 12). We simulated a set of data with means and variances similar to those reported by Forster et al. (2004), but exhibiting significant departure from a normal distribution (the degree of departure from normality of the original data set is not known). Following is a sample set of WJGLM code that might be used to analyze these data. Explanation of the code is presented following this listing. It should be noted that it is not necessary to run all of the code at one time, although this is the approach that has been used to generate the results. For example running the code from Y = { to the end of the first RUN WJGLM; will produce only the ADF solution using least squares estimators. y = {7, 5, 8, 9, 8, 8, 7, 7, 6, 2, 9, 7, 8, 7, 1, 0, 12, 5, 12, 5, 6, 8, 7, 5, 5, 5, 1, 12, 2, 5, 5, 6, 5, 5, 8, 7, 8, 6, 5, 7, 7, 5}; nx={14 14 14}; c={1-1 0, 1 0-1}; print 'Test For Overall Group Effect - ADF Solution'; 1

print 'Test For Overall Group Effect - ADF Solution With Default 20% Trimming'; opt2=1; seed=403899; print 'Test For Overall Group Effect - ADF Solution With Trimming & Bootstrap'; c={1-1 0}; print 'contrast J1 vs J2 - ADF Solution'; print 'Contrast J1 Vs J2 - ADF Solution With Trimming'; c={1 0-1}; print 'Contrast J1 Vs J3 - ADF Solution'; print 'Contrast J1 Vs J3 - ADF Solution With Trimming'; c={0 1-1}; print 'Contrast J2 Vs J3 - ADF Solution'; 2

print 'Contrast J2 Vs J3 - ADF Solution With Trimming'; c={1-1 0, 1 0-1, 0 1-1}; print 'Pairwise Contrasts - ADF Solution With Trimming/Bootstrapping'; opt2=1; run bootcom; c = {1-1 0}; print 'Effect Size Estimate For J1 Vs J2 - ADF Solution With Trimming'; opt2=1; c = {1 0-1}; print 'Effect Size Estimate For J1 Vs J3 - ADF Solution With Trimming'; c={0 1-1}; print 'Effect Size Estimate For J2 Vs J3 - ADF Solution With Trimming'; loc1=0; loc2=0; quit; The first two SAS/IML statements define the dataset and the number of observations in each group: y = {7, 5, 8, 9, 8, 8, 7, 7, 6, 2, 9, 7, 8, 7, 1, 0, 12, 5, 12, 5, 6, 8, 7, 5, 5, 5, 1, 12, 2, 5, 5, 6, 5, 5, 8, 7, 8, 6, 5, 7, 7, 5}; nx={14 14 14}; 3

In the first statement, the commas used to separate the individual data points delineate the rows of Y, so that Y is a column vector with 42 elements. The order of entry for Y and NX corresponds; the first n 1 rows of Y correspond to the first element of NX, the next n 2 rows of Y correspond to the second element of NX, and so on. The C matrix to test the omnibus effect defines a set of linearly independent contrasts among the groups: c={1-1 0, 1 0-1}; To produce the results for the omnibus test using the ADF solution with leastsquares estimators, the following statements are also needed: print Test For Overall Group Effect- ADF Solution'; To produce the omnibus test using the ADF solution and the default option of 20% symmetric trimming, the C matrix remains the same, but the following statements are used in place of the statements defined above: print Test For Overall Group Effect ADF Solution With Trimming'; If one only wanted the ADF solution and the default option of 20% symmetric trimming the code would be y = {7, 5, 8, 9, 8, 8, 7, 7, 6, 2, 9, 7, 8, 7, 1, 0, 12, 5, 12, 5, 6, 8, 7, 5, 5, 5, 1, 12, 2, 5, 5, 6, 5, 5, 8, 7, 8, 6, 5, 7, 7, 5}; nx={14 14 14}; 4

c={1-1 0, 1 0-1}; print 'Test For Overall Group Effect - ADF Solution With Default 20% Trimming'; To produce the omnibus test using the ADF solution with 20% trimming and bootstrapping, C remains the same, but the following statements are used in place of the statements defined above: print Test For Overall Group Effect ADF Solution With Trimming And Bootstrapping'; opt2=1; seed=403899; To ensure reproducibility of results, we have specified a value for the starting seed for the bootstrap. Once one starting value has been assigned for a bootstrap procedure, it is not necessary to specify another value for any subsequent calls that appear before the QUIT statement. The default value for NUMSIM_B (i.e., B = 999) was adopted. If an omnibus hypothesis is rejected, researchers are often interested in examining focused comparisons among the means, particularly pairwise comparisons. To perform all possible pairwise comparisons using the ADF solution, the RUN WJGLM statement is issued J(J -1)/2 times, and C is redefined before each invocation. The program code to produce results for the ADF solution when the usual least-squares means are adopted is: c={1-1 0}; print 'Contrast J1 Vs J2 - ADF Solution'; 5

c={1 0-1}; print 'Contrast J1 Vs J3 - ADF Solution'; c={0 1-1}; print 'Contrast J2 Vs J3 - ADF Solution'; If one adopts the ADF solution with robust estimators and the default 20% symmetric trimming, the following program code is used: c = {1-1 0}; print 'Contrast J1 Vs J2 - ADF Solution With Trimming'; c = {1 0-1}; print 'Contrast J1 Vs J3 - ADF Solution With Trimming'; c={0 1-1}; print 'Contrast J2 Vs J3 - ADF Solution With Trimming'; 6

To produce pairwise comparisons when the ADF solution with trimming is used in combination with the bootstrap, the BOOTCOM module is invoked in order to control the FWER for the set of contrasts. This module is invoked only a single time because C defines the entire set of contrasts for which FWER control is required. The following program code is used: c={1-1 0, 1 0-1, 0 1-1}; print 'Pairwise Contrasts - ADF Solution With Trimming & Bootstrapping'; opt2=1; run bootcom; The default values of NUMSIM_BC (i.e., B = 699) and ALPHA were selected in this invocation of the program. To compute ES estimates and empirical 95% CIs based on trimmed means and Winsorized variances for each possible pairwise comparison, the following program code is used (assuming the default scaling factor of.642 is adopted): c = {1-1 0}; print 'Effect Size Estimate For J1 Vs J2 - ADF Solution With Trimming'; c = {1 0-1}; print Effect Size Estimate For J1 Vs J3 - ADF Solution With Trimming'; c={0 1-1}; print 'Effect Size Estimate For J2 Vs J3 - ADF Solution With Trimming'; 7

loc1=0; loc2=0; For the first two ES estimates, by default the standard deviation for group 1 is used as the standardizer. For the third estimate, for demonstration purposes we have specified the standardizer to be the square root of the average of the variances for the two groups in the contrast. If it was of interest to control the FWER for the set of ES estimates, then the program user could specify a Bonferroni-corrected value for ALPHA. For example, setting α = 05/3 (i.e., a 98.3% CI) for each ES, the program code would be: c = {1-1 0}; print 'Effect Size Estimate For J1 Vs J2 - ADF Solution With Trimming'; alpha =.01667; c = {1 0-1}; print Effect Size Estimate For J1 Vs J3 - ADF Solution With Trimming'; alpha =.01667; c={0 1-1}; print 'Effect Size Estimate For J2 Vs J3 - ADF Solution With Trimming'; alpha =.01667; loc1=0; loc2=0; 8

Furthermore, if the program user elected not to adopt a scaling factor when computing an effect size estimate with robust estimators, then an additional line of code would be inserted in each call to the program. For example, for the first ES estimate (assuming a 98.3% CI), the code would be: c = {1-1 0}; print 'Effect Size Estimate For J1 Vs J2 - ADF Solution With Trimming'; scale=0; alpha=.01667; Finally, we note that the program is not limited to computing an estimate of the ES and confidence intervals for a pair of means. An ES estimate could be computed for the contrast of the average of the first two means and the third mean. In this case, one would specify the contrast matrix as: c = {0.5 0.5-1}; It should be noted that although the syntax, c = {1 1-2}; would work equally well for a hypothesis test, if the goal is to estimate the ES for the average of the first two means and the third mean, the syntax is required. c = {0.5 0.5-1}; Means and standard errors (SEs) for least-squares and robust estimators for this one-way design are reported in Table 1. The omnibus test statistic based on leastsquares estimators is T WJ /c = 1.80, with 2 and 24.16 df (p =.1875). With 20% 9

symmetric trimming the corresponding results are T /c = 4.98 with 2 and 16.11 df (p =.0208). When a bootstrap critical value is used to assess statistical significance of the omnibus test, p = 0.0210. Table 1: Means and SEs for least-squares and trimmed estimators (20% symmetric trimming) for a one-way independent groups design Least-squares Least-squares Trimmed Winsorized SE mean SE mean Distant-future (J1) 7.00 0.48 7.30 0.30 Near-future (J2) 6.00 1.06 5.90 1.46 Control (J3) 5.78 0.42 5.80 0.36 WJt For the ADF solution with the usual least-squares means, the program produces the following results for the three pairwise comparisons: groups 1 vs. 2 (distant future/near future): T WJ /c = 0.74 with 1 and 18.14 df (p =.4009); groups 1 vs. 3 (distant future/ control): T WJ /c = 3.61 with 1 and 25.57 df (p =.0688); groups 2 vs. 3 (near future/control): T WJ /c = 0.04 with 1 and 17.02 df (p =.8531). For the ADF solution with robust estimators, the program gives the following results: distant future/near future: T WJt/c = 0.88 with 1 and 9.78 df (p =.3717); distant future/control: T WJt/c = 10.09 with 1 and 17.51 df (p =.0054); distant future/ control: T /c = 0.004 with 1 and 10.09 df (p =.9484). Keselman, Cribbie and Holland (2004) present a number of methods to control the FWER, the probability of committing at least one Type I error for multiple significance tests, when a theoretical critical value is adopted. In this case, we apply Fisher's twostage procedure which provides exact FWER control because there are only three levels of the grouping variable. Since the stage one omnibus test was rejected (based WJt 10

on robust estimators), each of the individual pairwise tests is assessed at α =.05. Accordingly, only the second comparison can be declared statistically significant. The BOOTCOM program gives as output the same and df results as the ADF solution with trimming, but specifies an empirical critical value to evaluate the pairwise comparisons. For this example, with the seed specified above, the critical value is 6.11, which means that only the second pairwise comparison (for groups 1 and 3) is judged to be statistically significant. T WJt/c Finally, the robust ES estimates and their 95% CIs are as follows (using a scaling factor): for groups 1 vs. 2 (distant future/near future) the estimate is 1.12 (-0.78, 3.74); for groups 1 vs. 3 (distant future/ control) the estimate is 1.20 (0.05, 2.84); for group 2 vs. 3 (near future/control) the estimate is 0.03 (-0.80, 0.81). A 98.3% CI (i.e., controlling the FWER to α =.05 for the set of ES estimates) for the first ES is (-1.63, 4.82) if a scaling factor is used. If a scaling factor is not used, the estimate and 98.3% CI for the first ES is 1.75 (-2.13, 7.64). 11

Reference Forster, J., Liberman, N., & Friedman, R.S. (2004). Temporal construal effects on abstract and concrete thinking: consequences for insight and creative cognition. Journal of Personality and Social Psychology, 87, 2, 177-189. 12