Robust Methods of Performing One Way RM ANOVA in R

Size: px
Start display at page:

Download "Robust Methods of Performing One Way RM ANOVA in R"

Transcription

1 Robust Methods of Performing One Way RM ANOVA in R Wilcox s WRS package (Wilcox & Schönbrodt, 2014) provides several methods of testing one-way repeated measures data. The rmanova() command can trim means and the rmanovab() can trim means and perform bootstrap procedures on data where only one variable contains repeated measures. Both of these commands want as input an entire dataset. As always, Wilcox s commands need data in the wide form, but since we already have those forms all we will need to do to get the data ready is to remove any variables that are not going to be used in the analysis, such as the column that indexes which participant the data came from. With the Murphy (2004) data in the murphy.wide dataset form, we could test the hypothesis that there was no difference between verb similarity for regular verbs. That hypothesis would involve only one repeated measure. Notice that we cannot add in a between-group independent variable (such as group). Here s how I would prepare the data for use in one of these Wilcox commands: murphy.wrs<-murphy.wide[,2:4] #specify all rows (blank before comma), and columns 2 through 4 #if you needed to get non-adjacent columns, simple use c: murphy.wide[, c(2, 4, 6)] names(murphy.wrs) 1

2 With the data in the correct form I can run an RM ANOVA with 20% trimmed means like this: rmanova(murphy.wrs, tr=.2, grp=0) #did you open the WRS package? The argument grp is used if you have several levels of your variable that you want to pick out and compare. For example, if you had 5 levels but only wanted to compare levels 2, 4 and 5, just write grp=c(2,4,5). Here I don t need it so I wrote 0. The output is a little scattered so I ve edited it together here. There is a warning in the output (the original is 5 lines long but says the same thing 5 times!) that I don t have any standard deviation in my score. This is because with means trimming, I ve cut off the little bit of variation there was in the regular verbs for the Prototypical and Intermediate verbs, as you can see by the scores in $tmeans. Thus, this dataset is probably not a good one to use with means trimming (you can try it with tr =.1 or 0 and see that no warnings appear), but anyway, the results of this test show that there was a statistical difference for verb similarity in the regular verbs (remember, I only used 2

3 regular verbs here), F1,35 = 9.72, p =.004. The last two values, $ehat and $etil, are used by the algorithm to adjust the degrees of freedom due to means trimming, and thus probably do not need to be reported. To perform post-hoc tests on this same data, since I have 3 levels of variables and don t know where the differences lie, I can use the following command (I m going to cut the trimming down to 10% because of my lack of variation problem): rmmcp(murphy.wide, tr=.1) The results show test values, p-values, and confidence intervals for the comparisons. These are interpreted in the normal way and show differences between the Prototypical and Distant, and also between the Intermediate and Distant verb similarities, but the lower level bound of the CI is extremely close to zero and I would probably argue that there were no practically interesting differences (see the pairdepb( ) command below for an example of how to analyze the results). To try out the bootstrapped command, let s take Lyster s (2004) data, which we also have in the wide form. We ll again need to cut it down first to only those variables we want analyzed. names(lyster.wide) 3

4 I only want to analyze the repeated measure of Time on the Completion (cloze) task, so I ll pick out columns 6, 7 & 8. lyster.wrs<-lyster.wide[, 6:8] In addition, let s say that I decided I really didn t want the Comparison (control) group in there, so we want to cut out those rows that have the Comparison group. This is tricky because the Comparison group is repeated several times over the Time variable, so we can t just, say, cut out the last however number of rows that belong to Comparison. To subset the dataset, we need to know the exact name of the level we want to get rid of in the rows (and I ll need to go back to the lyster.wide since it has the information about Conditions in it): OK, got it, now let s cut down the dataset to one that only has rows that are not those of Comparison. The!- symbol means not equal to. While I m at it, I ll combine it with only including columns 6 through 8. lyster.wrs<-lyster.wide[lyster.wide$cond!= Comparison, 6:8] Run the str( ) command again to verify that your dataset has been cut down. Mine now has 129 observations whereas the original lyster.wide had

5 Now let s run a one-way ANOVA with means trimming and bootstrapping (bootstrap-t) to answer the question of whether there was an effect for Time on the scores from the completion task: rmanovab(lyster.wrs, tr=.1, alpha=.05, grp=0, nboot=2000) The default for the number of bootstrap samples is 599, but you can change it. You can also change the default alpha level. The grp argument means the same thing it meant above. Here is the output (again, edited for space): This output is smaller than that of the first command, and just gives us a test statistic (79.07) and the critical value for this statistic (3.36). Obviously, the test statistic is much larger than the critical value, which means that we can reject the null hypothesis and conclude that there are differences for different times. This is not much good to know without further information, so Wilcox has some further tests that will help us see where the differences lie. The following command performs post-hocs for the bootstrap-t oneway ANOVA used above: pairdepb(lyster.wrs, nboot=2000) 5

6 We are most interested in looking at confidence intervals, so we will look at ci.lower and ci.upper. Since the levels of the variable are pretest, immediate posttest and delayed posttest, we know that Group 1 vs. Group 2 is pretest vs. immediate posttest. Here the mean difference between the groups is 6.84 points, with a 95% CI of [-8.52, ]. In a test where scores ranged from about 10 to 40, a minimum of 5 points of difference (the lower limit of the CI) seems like a good-sized effect. For the comparison between the pretest and the delayed posttest, the situation is similar, although not quite as strong: mean difference = 5.58, CI [-7.29, -3.87]. Lastly, the difference between the pretest and posttest is similar although the reversed signs alert us to the fact that there was a decline in scores from immediate to delayed posttest, mean difference = 1.25, CI [0.14, 2.36]. The lower limit of the CI is in fact so close to zero we might conclude that there is no difference in practical terms. Robust Methods of Performing RM ANOVA with Between group Independent Variables in R In the previous section I cut down my sample datasets to fit into a one-way ANOVA mold to demonstrate some of Wilcox s commands, but that it not necessary as Wilcox 6

7 also has commands to analyze data that include one or more independent variables along with one or more repeated measure independent variable. Wilcox and other authors call this type of ANOVA a between-within ANOVA because it has between-group variables as well as within-group variables. You ll notice that the names of the commands use a b for between-group and a w for within-group variables. The syntax for a command that analyzes one between-group variable and one withingroup variable is: bwtrim(j, K, x, tr=0.2, grp=c(1:p)) where J is the number of levels of the between-groups independent variable, K is the number of levels of the repeated-measures (within-group) variable, and x is the data in matrix or list mode. The argument grp is used if you have several levels of your variable that you want to pick out and compare. For example, if you had 5 levels but only wanted to compare levels 2, 4 and 5, just write grp=c(2,4,5). Obviously the trick to using the command is to make sure your data is in the right format. For data in the wide format, such as the lyster.wide data, the command bw2list(x, grp.col, lev.col) can convert the data into the format the Wilcox command needs: 7

8 Lyster1=bw2list(lyster.wide, 2, c(6:8)) where the first argument is the dataset, the second argument is the column indicating the between-group variable, and the third argument indicates which columns the withingroup data is stored in. If you look at Lyster1 you ll see 6 lists, and I don t know where the number 6 comes from, but as it turns out, down below when I try it using lyster.long it comes out exactly the same way so I guess it s OK! Now in the correct format, we can run the trimmed means RM ANOVA: bwtrim(4, 3, Lyster1, tr=.1) where 4 = the number of levels of Condition (between-groups) and 3 = the number of levels of Time (within-groups).the output shows test statistics and significance levels for main effects and then interactions (output rearranged for space): You would interpret the output by noticing that the interaction between Group and Time has a test statistic of F = 14.31, with p< Both main effects are also statistical. 8

9 If you started with a dataset in the long format, you will also need to massage the data into the correct form. Here we ll use the more familiar fac2list( ) command, where the first argument is the response variable and the second argument lists the columns where (in order) the between-groups variable is found and then the within-groups variable is found. Here s how I would do it for lyster.long: Lyster2=fac2list(lyster.long[,4], lyster.long[,c(2, 3)]) When I look at this data I have 12 lists, which is more like what I thought I should have gotten above, since I have 4 3 levels. Then I can compare the 10% trimmed means with the command: bwtrim(4, 3, Lyster2, tr=.1) and the results are the same as above. A different command can perform a bootstrap-t analysis with trimmed means for the same data: tsplitbt(4,3, Lyster2, tr=.1, alpha=.05, nboot=599) #here I have left the default number of bootstraps 9

10 As with the bootstrap command in the previous section of this paper, the results (rearranged for space) come back not with test statistics and p-values but rather with test values and critical values. If the test value for the interaction or main effect is greater than the critical value, you may reject the null hypothesis and assume a statistical effect for the interaction or main effect. For the Lyster dataset, we understand that the interaction between Condition and Time is statistical, as well as the main effects of Condition and Time. If you wanted to do further investigation you could break the analysis down to look at the effects of Condition at just one Time (this is a simple interaction effect, and you would go back to what I demonstrated in the first section of this paper). The command for a design that includes two within-group independent variables and can trim means is: wwtrim(j, K, x, grp=c(1:p), p=j*k, tr=.2, bop=f) which would essentially act just like the bwtrim( ) command except that both J and K represent levels of within-group variables. From previous Wilcox commands I assume that p=j*k is a check on the number of levels and you don t need to worry about it (nor write it in your command), but I don t know what bop = F is. 10

11 Wilcox has commands for three-way designs. If you have a design with J K L factors where J and K are between-group variables and L is a within-group variable, you can use the function: bbwtrim(j, K, L, x, grp=c(1:p), tr=.2) To get your data into the correct format, use the bbw2list(x, grp.col, lev.col) command. This works the same way as we saw for the bw2list( ) command above, where the first argument is the dataset, the second argument is the column indicating the between-group variable, and the third argument indicates which columns the within-group data is in. The only difference now is that the argument grp.col should have two values to indicate which columns contain data of the between-group factors. For the analysis of one between-group variable and 2 within-group variables, just the name changes a bit: bwwtrim(j, K, L, x, grp=c(1:p), tr=.2) The Murphy (2004) dataset fills this description, so we ll try to get the data from that dataset into the right format and try the command out. The command bw2list( ) we saw above functions with 2 within-group variables as well, working to get data in the wide form into the correct format. So let s take the murphy.wide dataset and work with it: 11

12 Murphy1<-bw2list(murphy.wide, 1, c(2,3,4,5,6,7)) In this command the first argument is the dataset, the second argument is the column indicating the between-group variable, and the third argument indicates which columns the within-group data is stored in, in order of the repeating Similarity variable (I could have just written 2:7 but by writing it out you see that you could list it in the correct order no matter what order the columns originally came in). Now the command should work: bwwtrim(3, 2, 3, Murphy1, tr=.2) There is one more command that Wilcox gives, which is obviously for three within-group variables: wwwtrim(j, K, L, x, grp=c(1:p), tr=.2) If my discussion is not satisfactory I refer the reader to Wilcox (2012) for more details (see Chapter 12). Wilcox does not give any commands for bootstrapping together with three-way designs. 12

13 Bibliography Lyster, R. (2004). Differential effects of prompts and recasts in form-focused instruction. Studies in Second Language Acquisition, 26(4), Murphy, V. A. (2004). Dissociable systems in second language inflectional morphology. Studies in Second Language Acquisition, 26(3), Wilcox, R.R., & Schönbrodt, F.D. (2014). The WRS package for robust statistics in R (version 0.24) [Software]. Available from 13

Bootstrapped and Means Trimmed One Way ANOVA and Multiple Comparisons in R

Bootstrapped and Means Trimmed One Way ANOVA and Multiple Comparisons in R Bootstrapped and Means Trimmed One Way ANOVA and Multiple Comparisons in R Another way to do a bootstrapped one-way ANOVA is to use Rand Wilcox s R libraries. Wilcox (2012) states that for one-way ANOVAs,

More information

Manipulating Variables in R

Manipulating Variables in R Manipulating Variables in R At some point after you have begun working with R, it is likely that you will want to manipulate your variables and do such things as combine vectors or group participants differently

More information

Z-TEST / Z-STATISTIC: used to test hypotheses about. µ when the population standard deviation is unknown

Z-TEST / Z-STATISTIC: used to test hypotheses about. µ when the population standard deviation is unknown Z-TEST / Z-STATISTIC: used to test hypotheses about µ when the population standard deviation is known and population distribution is normal or sample size is large T-TEST / T-STATISTIC: used to test hypotheses

More information

Confidence Intervals. Dennis Sun Data 301

Confidence Intervals. Dennis Sun Data 301 Dennis Sun Data 301 Statistical Inference probability Population / Box Sample / Data statistics The goal of statistics is to infer the unknown population from the sample. We ve already seen one mode of

More information

Lab #9: ANOVA and TUKEY tests

Lab #9: ANOVA and TUKEY tests Lab #9: ANOVA and TUKEY tests Objectives: 1. Column manipulation in SAS 2. Analysis of variance 3. Tukey test 4. Least Significant Difference test 5. Analysis of variance with PROC GLM 6. Levene test for

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

Mr G s Java Jive. #11: Formatting Numbers

Mr G s Java Jive. #11: Formatting Numbers Mr G s Java Jive #11: Formatting Numbers Now that we ve started using double values, we re bound to run into the question of just how many decimal places we want to show. This where we get to deal with

More information

Chemical Reaction dataset ( https://stat.wvu.edu/~cjelsema/data/chemicalreaction.txt )

Chemical Reaction dataset ( https://stat.wvu.edu/~cjelsema/data/chemicalreaction.txt ) JMP Output from Chapter 9 Factorial Analysis through JMP Chemical Reaction dataset ( https://stat.wvu.edu/~cjelsema/data/chemicalreaction.txt ) Fitting the Model and checking conditions Analyze > Fit Model

More information

Source df SS MS F A a-1 [A] [T] SS A. / MS S/A S/A (a)(n-1) [AS] [A] SS S/A. / MS BxS/A A x B (a-1)(b-1) [AB] [A] [B] + [T] SS AxB

Source df SS MS F A a-1 [A] [T] SS A. / MS S/A S/A (a)(n-1) [AS] [A] SS S/A. / MS BxS/A A x B (a-1)(b-1) [AB] [A] [B] + [T] SS AxB Keppel, G. Design and Analysis: Chapter 17: The Mixed Two-Factor Within-Subjects Design: The Overall Analysis and the Analysis of Main Effects and Simple Effects Keppel describes an Ax(BxS) design, which

More information

CS 4349 Lecture October 18th, 2017

CS 4349 Lecture October 18th, 2017 CS 4349 Lecture October 18th, 2017 Main topics for #lecture include #minimum_spanning_trees. Prelude Homework 6 due today. Homework 7 due Wednesday, October 25th. Homework 7 has one normal homework problem.

More information

While you are writing your code, make sure to include comments so that you will remember why you are doing what you are doing!

While you are writing your code, make sure to include comments so that you will remember why you are doing what you are doing! Background/Overview In the summer of 2016, 92 different Pokémon GO players self-reported their primary location (location string and longitude/latitude) and the number of spawns of each species that they

More information

BIOS: 4120 Lab 11 Answers April 3-4, 2018

BIOS: 4120 Lab 11 Answers April 3-4, 2018 BIOS: 4120 Lab 11 Answers April 3-4, 2018 In today s lab we will briefly revisit Fisher s Exact Test, discuss confidence intervals for odds ratios, and review for quiz 3. Note: The material in the first

More information

Logical operators: R provides an extensive list of logical operators. These include

Logical operators: R provides an extensive list of logical operators. These include meat.r: Explanation of code Goals of code: Analyzing a subset of data Creating data frames with specified X values Calculating confidence and prediction intervals Lists and matrices Only printing a few

More information

Fractional. Design of Experiments. Overview. Scenario

Fractional. Design of Experiments. Overview. Scenario Design of Experiments Overview We are going to learn about DOEs. Specifically, you ll learn what a DOE is, as well as, what a key concept known as Confounding is all about. Finally, you ll learn what the

More information

Enter your UID and password. Make sure you have popups allowed for this site.

Enter your UID and password. Make sure you have popups allowed for this site. Log onto: https://apps.csbs.utah.edu/ Enter your UID and password. Make sure you have popups allowed for this site. You may need to go to preferences (right most tab) and change your client to Java. I

More information

More Summer Program t-shirts

More Summer Program t-shirts ICPSR Blalock Lectures, 2003 Bootstrap Resampling Robert Stine Lecture 2 Exploring the Bootstrap Questions from Lecture 1 Review of ideas, notes from Lecture 1 - sample-to-sample variation - resampling

More information

HOUR 4 Understanding Events

HOUR 4 Understanding Events HOUR 4 Understanding Events It s fairly easy to produce an attractive interface for an application using Visual Basic.NET s integrated design tools. You can create beautiful forms that have buttons to

More information

Numerical Methods in Scientific Computation

Numerical Methods in Scientific Computation Numerical Methods in Scientific Computation Programming and Software Introduction to error analysis 1 Packages vs. Programming Packages MATLAB Excel Mathematica Maple Packages do the work for you Most

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

Hiding or Discarding Insignificant Rows in a Report Template

Hiding or Discarding Insignificant Rows in a Report Template Hiding or Discarding Insignificant Rows in a Report Template Objective: This lesson will familiarize you with the following: what the ZeroingII add-in function is how to prepare your report to use the

More information

Here are some of the more basic curves that we ll need to know how to do as well as limits on the parameter if they are required.

Here are some of the more basic curves that we ll need to know how to do as well as limits on the parameter if they are required. 1 of 10 23/07/2016 05:15 Paul's Online Math Notes Calculus III (Notes) / Line Integrals / Line Integrals - Part I Problems] [Notes] [Practice Problems] [Assignment Calculus III - Notes Line Integrals Part

More information

2.9 Linear Approximations and Differentials

2.9 Linear Approximations and Differentials 2.9 Linear Approximations and Differentials 2.9.1 Linear Approximation Consider the following graph, Recall that this is the tangent line at x = a. We had the following definition, f (a) = lim x a f(x)

More information

Table of Laplace Transforms

Table of Laplace Transforms Table of Laplace Transforms 1 1 2 3 4, p > -1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Heaviside Function 27 28. Dirac Delta Function 29 30. 31 32. 1 33 34. 35 36. 37 Laplace Transforms

More information

Lecture 19 CSE August You taught me Language, and my profit on t is I know how to curse. William Shakspere, The Tempest, I, ii.

Lecture 19 CSE August You taught me Language, and my profit on t is I know how to curse. William Shakspere, The Tempest, I, ii. Lecture 19 CSE 110 5 August 1992 You taught me Language, and my profit on t is I know how to curse. William Shakspere, The Tempest, I, ii. 1 Left-Over Language Features Today was the day we saw the last

More information

Research Methods for Business and Management. Session 8a- Analyzing Quantitative Data- using SPSS 16 Andre Samuel

Research Methods for Business and Management. Session 8a- Analyzing Quantitative Data- using SPSS 16 Andre Samuel Research Methods for Business and Management Session 8a- Analyzing Quantitative Data- using SPSS 16 Andre Samuel A Simple Example- Gym Purpose of Questionnaire- to determine the participants involvement

More information

Spring 2017 CS 1110/1111 Exam 1

Spring 2017 CS 1110/1111 Exam 1 CS 1110/1111 Spring 2017 Exam 1 page 1 of 6 Spring 2017 CS 1110/1111 Exam 1 Bubble in your computing ID in the footer of this page. We use an optical scanner to read it, so fill in the bubbles darkly.

More information

Lecture-14 Lookup Functions

Lecture-14 Lookup Functions Lecture-14 Lookup Functions How do I write a formula to compute tax rates based on income? Given a product ID, how can I look up the product s price? Suppose that a product s price changes over time. I

More information

Chapter 3: The IF Function and Table Lookup

Chapter 3: The IF Function and Table Lookup Chapter 3: The IF Function and Table Lookup Objectives This chapter focuses on the use of IF and LOOKUP functions, while continuing to introduce other functions as well. Here is a partial list of what

More information

How to import text files to Microsoft Excel 2016:

How to import text files to Microsoft Excel 2016: How to import text files to Microsoft Excel 2016: You would use these directions if you get a delimited text file from a government agency (or some other source). This might be tab-delimited, comma-delimited

More information

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Sorting lower bound and Linear-time sorting Date: 9/19/17

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Sorting lower bound and Linear-time sorting Date: 9/19/17 601.433/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Sorting lower bound and Linear-time sorting Date: 9/19/17 5.1 Introduction You should all know a few ways of sorting in O(n log n)

More information

5 R1 The one green in the same place so either of these could be green.

5 R1 The one green in the same place so either of these could be green. Page: 1 of 20 1 R1 Now. Maybe what we should do is write out the cases that work. We wrote out one of them really very clearly here. [R1 takes out some papers.] Right? You did the one here um where you

More information

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. Guide to and Hi everybody! In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. This guide focuses on two of those symbols: and. These symbols represent concepts

More information

Psychology 282 Lecture #21 Outline Categorical IVs in MLR: Effects Coding and Contrast Coding

Psychology 282 Lecture #21 Outline Categorical IVs in MLR: Effects Coding and Contrast Coding Psychology 282 Lecture #21 Outline Categorical IVs in MLR: Effects Coding and Contrast Coding In the previous lecture we learned how to incorporate a categorical research factor into a MLR model by using

More information

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions Basic Combinatorics Math 40210, Section 01 Fall 2012 Homework 4 Solutions 1.4.2 2: One possible implementation: Start with abcgfjiea From edge cd build, using previously unmarked edges: cdhlponminjkghc

More information

1 Counting triangles and cliques

1 Counting triangles and cliques ITCSC-INC Winter School 2015 26 January 2014 notes by Andrej Bogdanov Today we will talk about randomness and some of the surprising roles it plays in the theory of computing and in coding theory. Let

More information

COMPARING MODELS AND CURVES. Fitting models to biological data using linear and nonlinear regression. A practical guide to curve fitting.

COMPARING MODELS AND CURVES. Fitting models to biological data using linear and nonlinear regression. A practical guide to curve fitting. COMPARING MODELS AND CURVES An excerpt from a forthcoming book: Fitting models to biological data using linear and nonlinear regression. A practical guide to curve fitting. Harvey Motulsky GraphPad Software

More information

Table of Contents. How to use this document. How to use the template. Page 1 of 9

Table of Contents. How to use this document. How to use the template. Page 1 of 9 Table of Contents How to use this document... 1 How to use the template... 1 Template Sections... 2 Blank Section... 2 Signature Sheet... 2 Title Page... 2 Roman Numerals Section (i, ii, iii, iv )... 3

More information

Section 2.3: Simple Linear Regression: Predictions and Inference

Section 2.3: Simple Linear Regression: Predictions and Inference Section 2.3: Simple Linear Regression: Predictions and Inference Jared S. Murray The University of Texas at Austin McCombs School of Business Suggested reading: OpenIntro Statistics, Chapter 7.4 1 Simple

More information

11.1 Facility Location

11.1 Facility Location CS787: Advanced Algorithms Scribe: Amanda Burton, Leah Kluegel Lecturer: Shuchi Chawla Topic: Facility Location ctd., Linear Programming Date: October 8, 2007 Today we conclude the discussion of local

More information

such a manner that we are able to understand, grasp and grapple with the problem at hand in a more organized fashion.

such a manner that we are able to understand, grasp and grapple with the problem at hand in a more organized fashion. Programming and Data Structure Dr.P.P.Chakraborty Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 32 Conclusions Hello everybody. Today, we come to the

More information

Screening Design Selection

Screening Design Selection Screening Design Selection Summary... 1 Data Input... 2 Analysis Summary... 5 Power Curve... 7 Calculations... 7 Summary The STATGRAPHICS experimental design section can create a wide variety of designs

More information

IQC monitoring in laboratory networks

IQC monitoring in laboratory networks IQC for Networked Analysers Background and instructions for use IQC monitoring in laboratory networks Modern Laboratories continue to produce large quantities of internal quality control data (IQC) despite

More information

6 Further... Programming

6 Further... Programming 6 Further... Programming In this chapter we ll get some (more) practice building programs and crafting (often) bite-sized chunks of code that solve a specific, normally computational or numerical (rather

More information

Excel Tips and FAQs - MS 2010

Excel Tips and FAQs - MS 2010 BIOL 211D Excel Tips and FAQs - MS 2010 Remember to save frequently! Part I. Managing and Summarizing Data NOTE IN EXCEL 2010, THERE ARE A NUMBER OF WAYS TO DO THE CORRECT THING! FAQ1: How do I sort my

More information

AXIOMS FOR THE INTEGERS

AXIOMS FOR THE INTEGERS AXIOMS FOR THE INTEGERS BRIAN OSSERMAN We describe the set of axioms for the integers which we will use in the class. The axioms are almost the same as what is presented in Appendix A of the textbook,

More information

Importing source database objects from a database

Importing source database objects from a database Importing source database objects from a database We are now at the point where we can finally import our source database objects, source database objects. We ll walk through the process of importing from

More information

The goal of this handout is to allow you to install R on a Windows-based PC and to deal with some of the issues that can (will) come up.

The goal of this handout is to allow you to install R on a Windows-based PC and to deal with some of the issues that can (will) come up. Fall 2010 Handout on Using R Page: 1 The goal of this handout is to allow you to install R on a Windows-based PC and to deal with some of the issues that can (will) come up. 1. Installing R First off,

More information

Let s use a more formal definition. An angle is the union of two rays with a common end point.

Let s use a more formal definition. An angle is the union of two rays with a common end point. hapter 2 ngles What s the secret for doing well in geometry? Knowing all the angles. s we did in the last chapter, we will introduce new terms and new notations, the building blocks for our success. gain,

More information

Written by Donna Hiestand-Tupper CCBC - Essex TI 83 TUTORIAL. Version 3.0 to accompany Elementary Statistics by Mario Triola, 9 th edition

Written by Donna Hiestand-Tupper CCBC - Essex TI 83 TUTORIAL. Version 3.0 to accompany Elementary Statistics by Mario Triola, 9 th edition TI 83 TUTORIAL Version 3.0 to accompany Elementary Statistics by Mario Triola, 9 th edition Written by Donna Hiestand-Tupper CCBC - Essex 1 2 Math 153 - Introduction to Statistical Methods TI 83 (PLUS)

More information

A simple problem that has a solution that is far deeper than expected!

A simple problem that has a solution that is far deeper than expected! The Water, Gas, Electricity Problem A simple problem that has a solution that is far deeper than expected! Consider the diagram below of three houses and three utilities: water, gas, and electricity. Each

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Online Supplementary Appendix for. Dziak, Nahum-Shani and Collins (2012), Multilevel Factorial Experiments for Developing Behavioral Interventions:

Online Supplementary Appendix for. Dziak, Nahum-Shani and Collins (2012), Multilevel Factorial Experiments for Developing Behavioral Interventions: Online Supplementary Appendix for Dziak, Nahum-Shani and Collins (2012), Multilevel Factorial Experiments for Developing Behavioral Interventions: Power, Sample Size, and Resource Considerations 1 Appendix

More information

Econ 3790: Business and Economics Statistics. Instructor: Yogesh Uppal

Econ 3790: Business and Economics Statistics. Instructor: Yogesh Uppal Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal Email: yuppal@ysu.edu Chapter 8: Interval Estimation Population Mean: Known Population Mean: Unknown Margin of Error and the Interval

More information

STATS PAD USER MANUAL

STATS PAD USER MANUAL STATS PAD USER MANUAL For Version 2.0 Manual Version 2.0 1 Table of Contents Basic Navigation! 3 Settings! 7 Entering Data! 7 Sharing Data! 8 Managing Files! 10 Running Tests! 11 Interpreting Output! 11

More information

GenStat for Schools. Disappearing Rock Wren in Fiordland

GenStat for Schools. Disappearing Rock Wren in Fiordland GenStat for Schools Disappearing Rock Wren in Fiordland A possible decrease in number of Rock Wren in the Fiordland area of New Zealand between 1985 and 2005 was investigated. Numbers were recorded in

More information

Programming for the Non-Programmer Examples of programming concepts and terms for the rest of us. Laurie Weaver

Programming for the Non-Programmer Examples of programming concepts and terms for the rest of us. Laurie Weaver Programming for the Non-Programmer Examples of programming concepts and terms for the rest of us Laurie Weaver Programming for the Non-Programmer Programming and programmers can seem very mysterious to

More information

Burning CDs in Windows XP

Burning CDs in Windows XP B 770 / 1 Make CD Burning a Breeze with Windows XP's Built-in Tools If your PC is equipped with a rewritable CD drive you ve almost certainly got some specialised software for copying files to CDs. If

More information

Laboratory for Two-Way ANOVA: Interactions

Laboratory for Two-Way ANOVA: Interactions Laboratory for Two-Way ANOVA: Interactions For the last lab, we focused on the basics of the Two-Way ANOVA. That is, you learned how to compute a Brown-Forsythe analysis for a Two-Way ANOVA, as well as

More information

Students received individual feedback throughout year on assignments.

Students received individual feedback throughout year on assignments. ACS108 No exam. Students received individual feedback throughout year on assignments. ACS123 In general, during ACS123 exam session, students have shown satisfactory performance, clear understanding of

More information

Engineering Problem and Goal

Engineering Problem and Goal Engineering Problem and Goal Engineering Problem: Traditional active contour models can not detect edges or convex regions in noisy images. Engineering Goal: The goal of this project is to design an algorithm

More information

Install RStudio from - use the standard installation.

Install RStudio from   - use the standard installation. Session 1: Reading in Data Before you begin: Install RStudio from http://www.rstudio.com/ide/download/ - use the standard installation. Go to the course website; http://faculty.washington.edu/kenrice/rintro/

More information

Worksheet Answer Key: Scanning and Mapping Projects > Mine Mapping > Investigation 2

Worksheet Answer Key: Scanning and Mapping Projects > Mine Mapping > Investigation 2 Worksheet Answer Key: Scanning and Mapping Projects > Mine Mapping > Investigation 2 Ruler Graph: Analyze your graph 1. Examine the shape formed by the connected dots. i. Does the connected graph create

More information

Using Large Data Sets Workbook Version A (MEI)

Using Large Data Sets Workbook Version A (MEI) Using Large Data Sets Workbook Version A (MEI) 1 Index Key Skills Page 3 Becoming familiar with the dataset Page 3 Sorting and filtering the dataset Page 4 Producing a table of summary statistics with

More information

Crash Course in Modernization. A whitepaper from mrc

Crash Course in Modernization. A whitepaper from mrc Crash Course in Modernization A whitepaper from mrc Introduction Modernization is a confusing subject for one main reason: It isn t the same across the board. Different vendors sell different forms of

More information

Example 5.25: (page 228) Screenshots from JMP. These examples assume post-hoc analysis using a Protected LSD or Protected Welch strategy.

Example 5.25: (page 228) Screenshots from JMP. These examples assume post-hoc analysis using a Protected LSD or Protected Welch strategy. JMP Output from Chapter 5 Factorial Analysis through JMP Example 5.25: (page 228) Screenshots from JMP. These examples assume post-hoc analysis using a Protected LSD or Protected Welch strategy. Fitting

More information

Interactive Tourist Map

Interactive Tourist Map Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 2 Make click events In the last lesson you learned how to set up you stage and get your project ready for some interactivity. You

More information

TELCOM2125: Network Science and Analysis

TELCOM2125: Network Science and Analysis School of Information Sciences University of Pittsburgh TELCOM2125: Network Science and Analysis Konstantinos Pelechrinis Spring 2015 2 Part 4: Dividing Networks into Clusters The problem l Graph partitioning

More information

Using GitHub to Share with SparkFun a

Using GitHub to Share with SparkFun a Using GitHub to Share with SparkFun a learn.sparkfun.com tutorial Available online at: http://sfe.io/t52 Contents Introduction Gitting Started Forking a Repository Committing, Pushing and Pulling Syncing

More information

= = P. IE 434 Homework 2 Process Capability. Kate Gilland 10/2/13. Figure 1: Capability Analysis

= = P. IE 434 Homework 2 Process Capability. Kate Gilland 10/2/13. Figure 1: Capability Analysis Kate Gilland 10/2/13 IE 434 Homework 2 Process Capability 1. Figure 1: Capability Analysis σ = R = 4.642857 = 1.996069 P d 2 2.326 p = 1.80 C p = 2.17 These results are according to Method 2 in Minitab.

More information

We have seen that as n increases, the length of our confidence interval decreases, the confidence interval will be more narrow.

We have seen that as n increases, the length of our confidence interval decreases, the confidence interval will be more narrow. {Confidence Intervals for Population Means} Now we will discuss a few loose ends. Before moving into our final discussion of confidence intervals for one population mean, let s review a few important results

More information

CSE373 Fall 2013, Second Midterm Examination November 15, 2013

CSE373 Fall 2013, Second Midterm Examination November 15, 2013 CSE373 Fall 2013, Second Midterm Examination November 15, 2013 Please do not turn the page until the bell rings. Rules: The exam is closed-book, closed-note, closed calculator, closed electronics. Please

More information

Computing With R Handout 1

Computing With R Handout 1 Computing With R Handout 1 Getting Into R To access the R language (free software), go to a computing lab that has R installed, or a computer on which you have downloaded R from one of the distribution

More information

Metrics for Performance Evaluation How to evaluate the performance of a model? Methods for Performance Evaluation How to obtain reliable estimates?

Metrics for Performance Evaluation How to evaluate the performance of a model? Methods for Performance Evaluation How to obtain reliable estimates? Model Evaluation Metrics for Performance Evaluation How to evaluate the performance of a model? Methods for Performance Evaluation How to obtain reliable estimates? Methods for Model Comparison How to

More information

Lecture 14: Testing Strategies for Code Debugging October 2014

Lecture 14: Testing Strategies for Code Debugging October 2014 Lecture 14: Testing Strategies for Code Debugging 36-350 13 October 2014 Last Time: Basic Debugging Basic tricks for debugging: Notifications and alerts that you can add Localizing issues and changing

More information

Notes on Simulations in SAS Studio

Notes on Simulations in SAS Studio Notes on Simulations in SAS Studio If you are not careful about simulations in SAS Studio, you can run into problems. In particular, SAS Studio has a limited amount of memory that you can use to write

More information

Programming Exercise 1: Linear Regression

Programming Exercise 1: Linear Regression Programming Exercise 1: Linear Regression Machine Learning Introduction In this exercise, you will implement linear regression and get to see it work on data. Before starting on this programming exercise,

More information

Pointers, Arrays and Parameters

Pointers, Arrays and Parameters Pointers, Arrays and Parameters This exercise is different from our usual exercises. You don t have so much a problem to solve by creating a program but rather some things to understand about the programming

More information

CSE 333 Midterm Exam 7/29/13

CSE 333 Midterm Exam 7/29/13 Name There are 5 questions worth a total of 100 points. Please budget your time so you get to all of the questions. Keep your answers brief and to the point. The exam is closed book, closed notes, closed

More information

Functional abstraction. What is abstraction? Eating apples. Readings: HtDP, sections Language level: Intermediate Student With Lambda

Functional abstraction. What is abstraction? Eating apples. Readings: HtDP, sections Language level: Intermediate Student With Lambda Functional abstraction Readings: HtDP, sections 19-24. Language level: Intermediate Student With Lambda different order used in lecture section 24 material introduced much earlier sections 22, 23 not covered

More information

Functional abstraction

Functional abstraction Functional abstraction Readings: HtDP, sections 19-24. Language level: Intermediate Student With Lambda different order used in lecture section 24 material introduced much earlier sections 22, 23 not covered

More information

Lecture 3: Linear Classification

Lecture 3: Linear Classification Lecture 3: Linear Classification Roger Grosse 1 Introduction Last week, we saw an example of a learning task called regression. There, the goal was to predict a scalar-valued target from a set of features.

More information

Week - 01 Lecture - 03 Euclid's Algorithm for gcd. Let us continue with our running example of gcd to explore more issues involved with program.

Week - 01 Lecture - 03 Euclid's Algorithm for gcd. Let us continue with our running example of gcd to explore more issues involved with program. Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 03 Euclid's Algorithm

More information

Continuous Improvement Toolkit. Normal Distribution. Continuous Improvement Toolkit.

Continuous Improvement Toolkit. Normal Distribution. Continuous Improvement Toolkit. Continuous Improvement Toolkit Normal Distribution The Continuous Improvement Map Managing Risk FMEA Understanding Performance** Check Sheets Data Collection PDPC RAID Log* Risk Analysis* Benchmarking***

More information

Track Changes in MS Word

Track Changes in MS Word Track Changes in MS Word Track Changes is an extremely useful function built into MS Word. It allows an author to review every change an editor has made to the original document and then decide whether

More information

36-402/608 HW #1 Solutions 1/21/2010

36-402/608 HW #1 Solutions 1/21/2010 36-402/608 HW #1 Solutions 1/21/2010 1. t-test (20 points) Use fullbumpus.r to set up the data from fullbumpus.txt (both at Blackboard/Assignments). For this problem, analyze the full dataset together

More information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

Lab 10: OCaml sequences, comparators, stable sorting 12:00 PM, Nov 12, 2017

Lab 10: OCaml sequences, comparators, stable sorting 12:00 PM, Nov 12, 2017 Integrated Introduction to Computer Science Hughes Lab 10: OCaml sequences, comparators, stable sorting 12:00 PM, Nov 12, 2017 Contents 1 A last OCaml type, and its utility 1 1.1 Sequences in OCaml....................................

More information

Getting Started. Excerpted from Hello World! Computer Programming for Kids and Other Beginners

Getting Started. Excerpted from Hello World! Computer Programming for Kids and Other Beginners Getting Started Excerpted from Hello World! Computer Programming for Kids and Other Beginners EARLY ACCESS EDITION Warren D. Sande and Carter Sande MEAP Release: May 2008 Softbound print: November 2008

More information

Exercise: Graphing and Least Squares Fitting in Quattro Pro

Exercise: Graphing and Least Squares Fitting in Quattro Pro Chapter 5 Exercise: Graphing and Least Squares Fitting in Quattro Pro 5.1 Purpose The purpose of this experiment is to become familiar with using Quattro Pro to produce graphs and analyze graphical data.

More information

STATISTICS FOR PSYCHOLOGISTS

STATISTICS FOR PSYCHOLOGISTS STATISTICS FOR PSYCHOLOGISTS SECTION: JAMOVI CHAPTER: USING THE SOFTWARE Section Abstract: This section provides step-by-step instructions on how to obtain basic statistical output using JAMOVI, both visually

More information

12B. Laboratory. Databases. Objective. References. Write simple SQL queries using the Simple SQL applet.

12B. Laboratory. Databases. Objective. References. Write simple SQL queries using the Simple SQL applet. Laboratory Databases 12B Objective Write simple SQL queries using the Simple SQL applet. References Software needed: 1) A web browser (Internet Explorer or Netscape) 2) Applet from the CD-ROM: a) Simple

More information

LABORATORY. 16 Databases OBJECTIVE REFERENCES. Write simple SQL queries using the Simple SQL app.

LABORATORY. 16 Databases OBJECTIVE REFERENCES. Write simple SQL queries using the Simple SQL app. Dmitriy Shironosov/ShutterStock, Inc. Databases 171 LABORATORY 16 Databases OBJECTIVE Write simple SQL queries using the Simple SQL app. REFERENCES Software needed: 1) Simple SQL app from the Lab Manual

More information

Subset Selection in Multiple Regression

Subset Selection in Multiple Regression Chapter 307 Subset Selection in Multiple Regression Introduction Multiple regression analysis is documented in Chapter 305 Multiple Regression, so that information will not be repeated here. Refer to that

More information

Problem Set #8. Econ 103

Problem Set #8. Econ 103 Problem Set #8 Econ 103 Part I Problems from the Textbook No problems from the textbook on this assignment. Part II Additional Problems 1. For this question assume that we have a random sample from a normal

More information

Orientation Assignment for Statistics Software (nothing to hand in) Mary Parker,

Orientation Assignment for Statistics Software (nothing to hand in) Mary Parker, Orientation to MINITAB, Mary Parker, mparker@austincc.edu. Last updated 1/3/10. page 1 of Orientation Assignment for Statistics Software (nothing to hand in) Mary Parker, mparker@austincc.edu When you

More information

6-7. Connectivity variables.

6-7. Connectivity variables. 6-7. Connectivity variables. If you re a frog, wetland and forest area may be important for you, but a wetland 4 km away is almost certainly not as useful as a wetland closer by. The concept of connectivity

More information

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software. Welcome to the EASE workshop series, part of the STEM Gateway program. Before we begin, I want to make sure we are clear that this is by no means meant to be an all inclusive class in Excel. At each step,

More information

CIS 194: Homework 5. Due Monday, 18 February. Expressions. (2 + 3) 4 would be represented by the value

CIS 194: Homework 5. Due Monday, 18 February. Expressions. (2 + 3) 4 would be represented by the value CIS 194: Homework 5 Due Monday, 18 February Files you should submit: Calc.hs, containing a module of the same name. As we saw in class, Haskell s type classes provide ad-hoc polymorphism, that is, the

More information

1 Algorithm and Proof for Minimum Vertex Coloring

1 Algorithm and Proof for Minimum Vertex Coloring Solutions to Homework 7, CS 173A (Fall 2018) Homework 7 asked you to show that the construction problems Maximum Independent Set, Minimum Vertex Coloring, and Maximum Clique could all be solved in polynomial

More information

Section 4 General Factorial Tutorials

Section 4 General Factorial Tutorials Section 4 General Factorial Tutorials General Factorial Part One: Categorical Introduction Design-Ease software version 6 offers a General Factorial option on the Factorial tab. If you completed the One

More information