STA437 Winter Assignment 3 - Solution

Size: px
Start display at page:

Download "STA437 Winter Assignment 3 - Solution"

Transcription

1 STA437 Winter 7 - Assignment 3 - Solution Question 1 The MLE for μ is x = ( 4,6)`. By the invariance rincile of MLE, we know that the MLE for ρ can be calculated by 1 ˆ n ˆ ρ = V ΣV = V S nv where V = diag( s11,..., s 44 ) and S = S = n / The calculation yields ˆρ = =. 3 / n. Question 1 (a) Use SAS to calculate the test statistic = n( X μ )' S ( X μ ) T we get T = n 1 57, n α 3,17 =. n 17 = 9.74 < We cannot reject H μ '= 4,5,1. The critical value is given by ( ) F ( ) = F (.5) Since T : ( ) The P-value = and since it is greater then α =. 5 we can not reject H. (b) The simultaneous confidence interval for μi is given by X i ( n 1) ( n ) ± F, n s ( α ) n Here, X = ( 4.64, 45.4, 9.965)' and s = , s = and s = Also, ( n 1) 57 F, n ( α ) = F3,17 (.5) = Substituting these values in the above n 17 formula, we get the following 95% simultaneous CI s: ( 3.398, 5.88) μ ( 35.5, ) and ( 8.571, ) μ. 3 μ, 1 ii. 1

2 α sii (c) The Bonferroni confidence interval for μ i is given by X i ± tn 1. m n α.5 In our case m = 3 and t n 1 = t19 =. 65. Substituting these values in the above m 6 formula, we get the following 95% simultaneous CI s: ( 3.644, 5.636) μ ( 37.13, ) and ( 8.847, 11.83) μ. 3 μ, The Bonferroni method yiels narrower CI s with the same overall error rate of.5 and therefore, Bonferroni s method is better for this roblem. 1 Question (a) We have that n = 4, =, X = ( 1, )' and the samle covariance S = The Hotelling T for testing H : μ = ( 14, )' is T = n( X μ ) S ( X μ ) = ' (b) The distribution of T is ( n 1) n F, n = 3F,. (c) The critical value for this test is (.5) 57 3, = F. Since T = < 57. We cannot reject H : μ '= ( 14, ). Also, the P-value = > α =. 5 so we can not reject H.

3 Question 4 (a) The Q-Q lots for each variable are given below x Nor mal Quant i l es As we can see, the distribution of and uer values of this variable. X 1 aears to be normal with a few outlier in the lower x Nor mal Quant i l es X Again, the distribution of aears to be normal with a few outlier in the lower and uer values of this variable. 3

4 1 1 8 x Nor mal Quant i l es Once again, the distribution of and uer values of this variable. X 3 aears to be normal with a few outlier in the lower (b) The matrix of scatterlots is given below 9.91 x x x As we see the Scatter lot matrix shows ellitical shaes suggesting bivariate normality of comonents. 4

5 Aendix SAS code for Question 1 Proc iml; title 'Assignment 3 - Question 1'; x = {3 6, 4 4, 5 7, 4 7}; n=4; x_bar =(1/n)* X`*J(n,1,1); rint x_bar; S = (1/(n-1))*x`*(I(n)-(1/n)*J(n,1,1)*(J(n,1,1))`)*x; Sn = S*(n-1)/n; V = root(diag(sn)); rho_hat = inv(v)*sn*inv(v); rint rho_hat; SAS code for Question 3 Proc iml; title 'Assignment 3 - Question 3'; x = {4 4, 16 18, 1 18, 16 }; n=4; =; x_bar =(1/n)* X`*J(n,1,1); S = (1/(n-1))*x`*(I(n)-(1/n)*J(n,1,1)*(J(n,1,1))`)*x; rint x_bar s; /* calculating the Hotelling T^ statistic */ mu = {14,}; diff = x_bar-mu; S_inv = inv(s); T = n*(diff)`*(s_inv)*(diff); rint T; /* Finding the critical value from the F distribution */ F = finv(.95,,); /* Find the 95th ercintile of the F distribution */ Critical_value = (*(n-1)/(n-))*f; rint Critical_value; /* Finding the P-value */ F_statistics = ((n-)/(*(n-1)))*t; P_value = 1- robf(f_statistics,,); rint P_value; 5

6 SAS code for Question title 'Assignment 3 - question '; /* Reading the data into SAS */ data sweat; infile 'C:\Documents and Settings\Hadas Moshonov\Deskto\STA437\Assignments\sweat.txt'; inut sweat_rate sodium otassium; /* Checking the content of the data file and rinting it*/ Proc contents data = sweat; roc rint data=sweat; roc iml; /* reading the data into a matrix X*/ use sweat; read all var {sweat_rate sodium otassium} into x; n = ; = 3; /* comuting x_bar and S */ x_bar =(1/n)* X`*J(n,1,1); S = (1/(n-1))*x`*(I(n)-(1/n)*J(n,1,1)*(J(n,1,1))`)*x; rint x_bar s; /* calculating the Hotelling T^ statistic */ mu = {4,5,1}; diff = x_bar-mu; S_inv = inv(s); T = n*(diff)`*(s_inv)*(diff); rint T; /* Finding the critical value from the F distribution */ F = finv(.95, 3,17); /* Find the 95th ercentile of the F distribution */ Critical_value = (*(n-1)/(n-))*f; rint Critical_value; /* Finding the P-value */ F_statistics = ((n-)/(*(n-1)))*t; P_value = 1- robf(f_statistics,3,17); rint P_value; 6

7 /* Finding simultaneous CI for mu_i using method 1 */ /* CI for mu_1 */ LCL = x_bar[1,]- root(critical_value*s[1,1]/n); UCL = x_bar[1,]+ root(critical_value*s[1,1]/n); rint 'CI for mu_1'; /* CI for mu_ */ LCL = x_bar[,]- root(critical_value*s[,]/n); UCL = x_bar[,]+ root(critical_value*s[,]/n); rint 'CI for mu_'; /* CI for mu_3 */ rint 'CI for mu_3'; LCL = x_bar[3,]- root(critical_value*s[3,3]/n); UCL = x_bar[3,]+ root(critical_value*s[3,3]/n); /* Finding Bonferroni's simultaneous CI for mu_i */ /* the Critical value t */ T_critic = tinv(1-.5/6,19); rint T_critic; /* CI for mu_1 */ rint ' Bonfferoni CI for mu_1'; LCL = x_bar[1,]- T_critic*root(s[1,1]/n); UCL = x_bar[1,]+ T_critic*root(s[1,1]/n); /* CI for mu_ */ rint ' Bonfferoni CI for mu_'; LCL = x_bar[,]- T_critic*root(s[,]/n); UCL = x_bar[,]+ T_critic*root(s[,]/n); /* CI for mu_3 */ rint ' Bonfferoni CI for mu_3'; LCL = x_bar[3,]- T_critic*root(s[3,3]/n); UCL = x_bar[3,]+ T_critic*root(s[3,3]/n); 7

8 SAS code for Question 4 title 'Assignment 3 - question 4'; /* Reading the data into SAS */ data data; infile 'C:\Documents and Settings\Hadas Moshonov\Deskto\STA437\Assignments\assign3data.txt' firstobs = ; inut obs x1 x x3; /* Checking the content of the data file and rinting it*/ Proc contents data = data; roc rint data=data; /* Part (a) - constraucting normal Q-Q lots */ roc univariate data = data; var x1 x x3; roc caability norint data = data; title 'Normal Probability Plots'; symbol1 v ='dot'; var x1 x x3; qqlot x1 x x3; /* Part (b) Producing matrix of air-wise scatterlots */ Proc insight data = data; title 'Scatterlot Matrix'; scatter x1 x x3 * x1 x x3; 8

= = 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

Factorial ANOVA with SAS

Factorial ANOVA with SAS Factorial ANOVA with SAS /* potato305.sas */ options linesize=79 noovp formdlim='_' ; title 'Rotten potatoes'; title2 ''; proc format; value tfmt 1 = 'Cool' 2 = 'Warm'; data spud; infile 'potato2.data'

More information

THIS IS NOT REPRESNTATIVE OF CURRENT CLASS MATERIAL. STOR 455 Midterm 1 September 28, 2010

THIS IS NOT REPRESNTATIVE OF CURRENT CLASS MATERIAL. STOR 455 Midterm 1 September 28, 2010 THIS IS NOT REPRESNTATIVE OF CURRENT CLASS MATERIAL STOR 455 Midterm September 8, INSTRUCTIONS: BOTH THE EXAM AND THE BUBBLE SHEET WILL BE COLLECTED. YOU MUST PRINT YOUR NAME AND SIGN THE HONOR PLEDGE

More information

EXST SAS Lab Lab #6: More DATA STEP tasks

EXST SAS Lab Lab #6: More DATA STEP tasks EXST SAS Lab Lab #6: More DATA STEP tasks Objectives 1. Working from an current folder 2. Naming the HTML output data file 3. Dealing with multiple observations on an input line 4. Creating two SAS work

More information

Multivariate Normal Random Numbers

Multivariate Normal Random Numbers Multivariate Normal Random Numbers Revised: 10/11/2017 Summary... 1 Data Input... 3 Analysis Options... 4 Analysis Summary... 5 Matrix Plot... 6 Save Results... 8 Calculations... 9 Summary This procedure

More information

Centering and Interactions: The Training Data

Centering and Interactions: The Training Data Centering and Interactions: The Training Data A random sample of 150 technical support workers were first given a test of their technical skill and knowledge, and then randomly assigned to one of three

More information

Statistical Programming in SAS. From Chapter 10 - Programming with matrices and vectors - IML

Statistical Programming in SAS. From Chapter 10 - Programming with matrices and vectors - IML Week 12 [30+ Nov.] Class Activities File: week-12-iml-prog-16nov08.doc Directory: \\Muserver2\USERS\B\\baileraj\Classes\sta402\handouts From Chapter 10 - Programming with matrices and vectors - IML 10.1:

More information

Lab 3 (80 pts.) - Assessing the Normality of Data Objectives: Creating and Interpreting Normal Quantile Plots

Lab 3 (80 pts.) - Assessing the Normality of Data Objectives: Creating and Interpreting Normal Quantile Plots STAT 350 (Spring 2015) Lab 3: SAS Solutions 1 Lab 3 (80 pts.) - Assessing the Normality of Data Objectives: Creating and Interpreting Normal Quantile Plots Note: The data sets are not included in the solutions;

More information

Cpk: What is its Capability? By: Rick Haynes, Master Black Belt Smarter Solutions, Inc.

Cpk: What is its Capability? By: Rick Haynes, Master Black Belt Smarter Solutions, Inc. C: What is its Capability? By: Rick Haynes, Master Black Belt Smarter Solutions, Inc. C is one of many capability metrics that are available. When capability metrics are used, organizations typically provide

More information

Regression Analysis and Linear Regression Models

Regression Analysis and Linear Regression Models Regression Analysis and Linear Regression Models University of Trento - FBK 2 March, 2015 (UNITN-FBK) Regression Analysis and Linear Regression Models 2 March, 2015 1 / 33 Relationship between numerical

More information

Process and Measurement System Capability Analysis

Process and Measurement System Capability Analysis Process and Measurement System aability Analysis Process caability is the uniformity of the rocess. Variability is a measure of the uniformity of outut. Assume that a rocess involves a quality characteristic

More information

Missing Data Analysis for the Employee Dataset

Missing Data Analysis for the Employee Dataset Missing Data Analysis for the Employee Dataset 67% of the observations have missing values! Modeling Setup For our analysis goals we would like to do: Y X N (X, 2 I) and then interpret the coefficients

More information

Cluster Randomization Create Cluster Means Dataset

Cluster Randomization Create Cluster Means Dataset Chapter 270 Cluster Randomization Create Cluster Means Dataset Introduction A cluster randomization trial occurs when whole groups or clusters of individuals are treated together. Examples of such clusters

More information

BUSINESS ANALYTICS. 96 HOURS Practical Learning. DexLab Certified. Training Module. Gurgaon (Head Office)

BUSINESS ANALYTICS. 96 HOURS Practical Learning. DexLab Certified. Training Module. Gurgaon (Head Office) SAS (Base & Advanced) Analytics & Predictive Modeling Tableau BI 96 HOURS Practical Learning WEEKDAY & WEEKEND BATCHES CLASSROOM & LIVE ONLINE DexLab Certified BUSINESS ANALYTICS Training Module Gurgaon

More information

r v i e w o f s o m e r e c e n t d e v e l o p m

r v i e w o f s o m e r e c e n t d e v e l o p m O A D O 4 7 8 O - O O A D OA 4 7 8 / D O O 3 A 4 7 8 / S P O 3 A A S P - * A S P - S - P - A S P - - - - L S UM 5 8 - - 4 3 8 -F 69 - V - F U 98F L 69V S U L S UM58 P L- SA L 43 ˆ UéL;S;UéL;SAL; - - -

More information

XO = X +(JQ -Y)/ b I. y= y +~(X -X)+E. 174 Statistics, Data Analysis and Modeling. Proceedings of MWSUG '95

XO = X +(JQ -Y)/ b I. y= y +~(X -X)+E. 174 Statistics, Data Analysis and Modeling. Proceedings of MWSUG '95 DOING INVERSE REGRESSION ESTIMATION VIA SAS/IML E. C. Drago and T. G. Filloon Abstract Inverse regression (also known as linear calibration) is used to determine when/where a linear regression line (±

More information

The SAS interface is shown in the following screen shot:

The SAS interface is shown in the following screen shot: The SAS interface is shown in the following screen shot: There are several items of importance shown in the screen shot First there are the usual main menu items, such as File, Edit, etc I seldom use anything

More information

Soci Statistics for Sociologists

Soci Statistics for Sociologists University of North Carolina Chapel Hill Soci708-001 Statistics for Sociologists Fall 2009 Professor François Nielsen Stata Commands for Module 7 Inference for Distributions For further information on

More information

Repeated Measures Part 4: Blood Flow data

Repeated Measures Part 4: Blood Flow data Repeated Measures Part 4: Blood Flow data /* bloodflow.sas */ options linesize=79 pagesize=100 noovp formdlim='_'; title 'Two within-subjecs factors: Blood flow data (NWK p. 1181)'; proc format; value

More information

STAT 2607 REVIEW PROBLEMS Word problems must be answered in words of the problem.

STAT 2607 REVIEW PROBLEMS Word problems must be answered in words of the problem. STAT 2607 REVIEW PROBLEMS 1 REMINDER: On the final exam 1. Word problems must be answered in words of the problem. 2. "Test" means that you must carry out a formal hypothesis testing procedure with H0,

More information

Introductory Guide to SAS:

Introductory Guide to SAS: Introductory Guide to SAS: For UVM Statistics Students By Richard Single Contents 1 Introduction and Preliminaries 2 2 Reading in Data: The DATA Step 2 2.1 The DATA Statement............................................

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

STA 570 Spring Lecture 5 Tuesday, Feb 1

STA 570 Spring Lecture 5 Tuesday, Feb 1 STA 570 Spring 2011 Lecture 5 Tuesday, Feb 1 Descriptive Statistics Summarizing Univariate Data o Standard Deviation, Empirical Rule, IQR o Boxplots Summarizing Bivariate Data o Contingency Tables o Row

More information

Assignment 5.5. Nothing here to hand in

Assignment 5.5. Nothing here to hand in Assignment 5.5 Nothing here to hand in Load the tidyverse before we start: library(tidyverse) ## Loading tidyverse: ggplot2 ## Loading tidyverse: tibble ## Loading tidyverse: tidyr ## Loading tidyverse:

More information

EXST3201 Mousefeed01 Page 1

EXST3201 Mousefeed01 Page 1 EXST3201 Mousefeed01 Page 1 3 /* 4 Examine differences among the following 6 treatments 5 N/N85 fed normally before weaning and 85 kcal/wk after 6 N/R40 fed normally before weaning and 40 kcal/wk after

More information

Missing Data Analysis for the Employee Dataset

Missing Data Analysis for the Employee Dataset Missing Data Analysis for the Employee Dataset 67% of the observations have missing values! Modeling Setup Random Variables: Y i =(Y i1,...,y ip ) 0 =(Y i,obs, Y i,miss ) 0 R i =(R i1,...,r ip ) 0 ( 1

More information

ST706: Spring One-Way Random effects example.

ST706: Spring One-Way Random effects example. ST706: Spring 2013. One-Way Random effects example. DATA IS FROM CONTROL ARM OF SKIN CANCER STUDY AT DARTMOUTH. DC0 TO DC5 ARE MEASURES OF DIETARY INTAKE OVER 6 YEARS. For illustration here we treat the

More information

Introduction to the Bootstrap and Robust Statistics

Introduction to the Bootstrap and Robust Statistics Introduction to the Bootstrap and Robust Statistics PSY711/712 Winter Term 2009 1 t-based Confidence Intervals This document shows how to calculate confidence intervals for a sample mean using the t statistic

More information

Factorial ANOVA. Skipping... Page 1 of 18

Factorial ANOVA. Skipping... Page 1 of 18 Factorial ANOVA The potato data: Batches of potatoes randomly assigned to to be stored at either cool or warm temperature, infected with one of three bacterial types. Then wait a set period. The dependent

More information

ONE PROCESS, DIFFERENT RESULTS: METHODOLOGIES FOR ANALYZING A STENCIL PRINTING PROCESS USING PROCESS CAPABILITY INDEX ANALYSES

ONE PROCESS, DIFFERENT RESULTS: METHODOLOGIES FOR ANALYZING A STENCIL PRINTING PROCESS USING PROCESS CAPABILITY INDEX ANALYSES ONE PROCESS, DIFFERENT RESULTS: METHODOLOGIES FOR ANALYZING A STENCIL PRINTING PROCESS USING PROCESS CAPABILITY INDEX ANALYSES Daryl L. Santos 1, Srinivasa Aravamudhan, Anand Bhosale 3, and Gerald Pham-Van-Diep

More information

Quality Control-2 The ASTA team

Quality Control-2 The ASTA team Quality Control-2 The ASTA team Contents 0.1 OC curves............................................... 1 0.2 OC curves - example......................................... 2 0.3 CUSUM chart.............................................

More information

IQR = number. summary: largest. = 2. Upper half: Q3 =

IQR = number. summary: largest. = 2. Upper half: Q3 = Step by step box plot Height in centimeters of players on the 003 Women s Worldd Cup soccer team. 157 1611 163 163 164 165 165 165 168 168 168 170 170 170 171 173 173 175 180 180 Determine the 5 number

More information

Things to get out of conferences/workshops/minicourses

Things to get out of conferences/workshops/minicourses Things to get out of conferences/workshops/minicourses I started going to conferences outside of NM in my last 18 months of graduate school, and didn t have a very good idea of what to get out of them

More information

Contrasts and Multiple Comparisons

Contrasts and Multiple Comparisons Contrasts and Multiple Comparisons /* onewaymath.sas */ title2 'Oneway with contrasts and multiple comparisons (Exclude Other/DK)'; %include 'readmath.sas'; if ethnic ne 6; /* Otherwise, throw the case

More information

5 Bootstrapping. 4.7 Extensions. 4.8 References. 5.1 Bootstrapping for random samples (the i.i.d. case) ST697F: Topics in Regression.

5 Bootstrapping. 4.7 Extensions. 4.8 References. 5.1 Bootstrapping for random samples (the i.i.d. case) ST697F: Topics in Regression. ST697F: Topics in Regression. Spring 2007 c 21 4.7 Extensions The approach above can be readily extended to the case where we are interested in inverse prediction or regulation about one predictor given

More information

Exploratory Data Analysis EDA

Exploratory Data Analysis EDA Exploratory Data Analysis EDA Luc Anselin http://spatial.uchicago.edu 1 from EDA to ESDA dynamic graphics primer on multivariate EDA interpretation and limitations 2 From EDA to ESDA 3 Exploratory Data

More information

Univariate Extreme Value Analysis. 1 Block Maxima. Practice problems using the extremes ( 2.0 5) package. 1. Pearson Type III distribution

Univariate Extreme Value Analysis. 1 Block Maxima. Practice problems using the extremes ( 2.0 5) package. 1. Pearson Type III distribution Univariate Extreme Value Analysis Practice problems using the extremes ( 2.0 5) package. 1 Block Maxima 1. Pearson Type III distribution (a) Simulate 100 maxima from samples of size 1000 from the gamma

More information

Set up of the data is similar to the Randomized Block Design situation. A. Chang 1. 1) Setting up the data sheet

Set up of the data is similar to the Randomized Block Design situation. A. Chang 1. 1) Setting up the data sheet Repeated Measure Analysis (Univariate Mixed Effect Model Approach) (Treatment as the Fixed Effect and the Subject as the Random Effect) (This univariate approach can be used for randomized block design

More information

SAS Workshop. Introduction to SAS Programming. Iowa State University DAY 2 SESSION IV

SAS Workshop. Introduction to SAS Programming. Iowa State University DAY 2 SESSION IV SAS Workshop Introduction to SAS Programming DAY 2 SESSION IV Iowa State University May 10, 2016 Controlling ODS graphical output from a procedure Many SAS procedures produce default plots in ODS graphics

More information

Use of Extreme Value Statistics in Modeling Biometric Systems

Use of Extreme Value Statistics in Modeling Biometric Systems Use of Extreme Value Statistics in Modeling Biometric Systems Similarity Scores Two types of matching: Genuine sample Imposter sample Matching scores Enrolled sample 0.95 0.32 Probability Density Decision

More information

MS in Applied Statistics: Study Guide for the Data Science concentration Comprehensive Examination. 1. MAT 456 Applied Regression Analysis

MS in Applied Statistics: Study Guide for the Data Science concentration Comprehensive Examination. 1. MAT 456 Applied Regression Analysis MS in Applied Statistics: Study Guide for the Data Science concentration Comprehensive Examination. The Part II comprehensive examination is a three-hour closed-book exam that is offered on the second

More information

MIXED_RELIABILITY: A SAS Macro for Estimating Lambda and Assessing the Trustworthiness of Random Effects in Multilevel Models

MIXED_RELIABILITY: A SAS Macro for Estimating Lambda and Assessing the Trustworthiness of Random Effects in Multilevel Models SESUG 2015 Paper SD189 MIXED_RELIABILITY: A SAS Macro for Estimating Lambda and Assessing the Trustworthiness of Random Effects in Multilevel Models Jason A. Schoeneberger ICF International Bethany A.

More information

Data Mining Classification: Bayesian Decision Theory

Data Mining Classification: Bayesian Decision Theory Data Mining Classification: Bayesian Decision Theory Lecture Notes for Chapter 2 R. O. Duda, P. E. Hart, and D. G. Stork, Pattern classification, 2nd ed. New York: Wiley, 2001. Lecture Notes for Chapter

More information

Using SAS to Analyze CYP-C Data: Introduction to Procedures. Overview

Using SAS to Analyze CYP-C Data: Introduction to Procedures. Overview Using SAS to Analyze CYP-C Data: Introduction to Procedures CYP-C Research Champion Webinar July 14, 2017 Jason D. Pole, PhD Overview SAS overview revisited Introduction to SAS Procedures PROC FREQ PROC

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

Pair-Wise Multiple Comparisons (Simulation)

Pair-Wise Multiple Comparisons (Simulation) Chapter 580 Pair-Wise Multiple Comparisons (Simulation) Introduction This procedure uses simulation analyze the power and significance level of three pair-wise multiple-comparison procedures: Tukey-Kramer,

More information

Convex Hulls. Helen Cameron. Helen Cameron Convex Hulls 1/101

Convex Hulls. Helen Cameron. Helen Cameron Convex Hulls 1/101 Convex Hulls Helen Cameron Helen Cameron Convex Hulls 1/101 What Is a Convex Hull? Starting Point: Points in 2D y x Helen Cameron Convex Hulls 3/101 Convex Hull: Informally Imagine that the x, y-lane is

More information

Face Recognition Using Legendre Moments

Face Recognition Using Legendre Moments Face Recognition Using Legendre Moments Dr.S.Annadurai 1 A.Saradha Professor & Head of CSE & IT Research scholar in CSE Government College of Technology, Government College of Technology, Coimbatore, Tamilnadu,

More information

JMP 10 Student Edition Quick Guide

JMP 10 Student Edition Quick Guide JMP 10 Student Edition Quick Guide Instructions presume an open data table, default preference settings and appropriately typed, user-specified variables of interest. RMC = Click Right Mouse Button Graphing

More information

Application of Fuzzy X S Charts for Solder Paste Thickness

Application of Fuzzy X S Charts for Solder Paste Thickness Global Journal of Pure and Alied Mathematics ISSN 0973-1768 Volume 12 Number 5 (2016) 4299-4315 Research India Publications htt://wwwriublicationcom/gjamhtm Alication of Fuzzy X S Charts for Solder Paste

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

Outline. Topic 16 - Other Remedies. Ridge Regression. Ridge Regression. Ridge Regression. Robust Regression. Regression Trees. Piecewise Linear Model

Outline. Topic 16 - Other Remedies. Ridge Regression. Ridge Regression. Ridge Regression. Robust Regression. Regression Trees. Piecewise Linear Model Topic 16 - Other Remedies Ridge Regression Robust Regression Regression Trees Outline - Fall 2013 Piecewise Linear Model Bootstrapping Topic 16 2 Ridge Regression Modification of least squares that addresses

More information

Chapter 9 Robust Regression Examples

Chapter 9 Robust Regression Examples Chapter 9 Robust Regression Examples Chapter Table of Contents OVERVIEW...177 FlowChartforLMS,LTS,andMVE...179 EXAMPLES USING LMS AND LTS REGRESSION...180 Example 9.1 LMS and LTS with Substantial Leverage

More information

A Macro Application on Confidence Intervals for Binominal Proportion

A Macro Application on Confidence Intervals for Binominal Proportion A SAS @ Macro Application on Confidence Intervals for Binominal Proportion Kaijun Zhang Sheng Zhang ABSTRACT: FMD K&L Inc., Fort Washington, Pennsylvanian Confidence Intervals (CI) are very important to

More information

Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics

Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 February 19, 2015 2 Getting

More information

Things to Know for the Algebra I Regents

Things to Know for the Algebra I Regents Types of Numbers: Real Number: any number you can think of (integers, rational, irrational) Imaginary Number: square root of a negative number Integers: whole numbers (positive, negative, zero) Things

More information

The Kenton Study. (Applied Linear Statistical Models, 5th ed., pp , Kutner et al., 2005) Page 1 of 5

The Kenton Study. (Applied Linear Statistical Models, 5th ed., pp , Kutner et al., 2005) Page 1 of 5 The Kenton Study The Kenton Food Company wished to test four different package designs for a new breakfast cereal. Twenty stores, with approximately equal sales volumes, were selected as the experimental

More information

Multiple Forest Plots and the SAS System

Multiple Forest Plots and the SAS System Multiple Forest Plots and the SAS System Poster 10 Anne Barfield, Quanticate, Manchester, United Kingdom ABSTRACT This paper is the accompanying paper to the poster entitled Multiple Forest Plots and the

More information

Quantitative - One Population

Quantitative - One Population Quantitative - One Population The Quantitative One Population VISA procedures allow the user to perform descriptive and inferential procedures for problems involving one population with quantitative (interval)

More information

Package merror. November 3, 2015

Package merror. November 3, 2015 Version 2.0.2 Date 2015-10-20 Package merror November 3, 2015 Author Title Accuracy and Precision of Measurements N>=3 methods are used to measure each of n items. The data are used

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

EE678 Application Presentation Content Based Image Retrieval Using Wavelets

EE678 Application Presentation Content Based Image Retrieval Using Wavelets EE678 Alication Presentation Content Based Image Retrieval Using Wavelets Grou Members: Megha Pandey megha@ee. iitb.ac.in 02d07006 Gaurav Boob gb@ee.iitb.ac.in 02d07008 Abstract: We focus here on an effective

More information

A. Using the data provided above, calculate the sampling variance and standard error for S for each week s data.

A. Using the data provided above, calculate the sampling variance and standard error for S for each week s data. WILD 502 Lab 1 Estimating Survival when Animal Fates are Known Today s lab will give you hands-on experience with estimating survival rates using logistic regression to estimate the parameters in a variety

More information

Baruch College STA Senem Acet Coskun

Baruch College STA Senem Acet Coskun Baruch College STA 9750 BOOK BUY A Predictive Mode Senem Acet Coskun Table of Contents Summary 3 Why this topic? 4 Data Sources 6 Variable Definitions 7 Descriptive Statistics 8 Univariate Analysis 9 Two-Sample

More information

STAT 503 Fall Introduction to SAS

STAT 503 Fall Introduction to SAS Getting Started Introduction to SAS 1) Download all of the files, sas programs (.sas) and data files (.dat) into one of your directories. I would suggest using your H: drive if you are using a computer

More information

Sampling Statistics Guide. Author: Ali Fadakar

Sampling Statistics Guide. Author: Ali Fadakar Sampling Statistics Guide Author: Ali Fadakar An Introduction to the Sampling Interface Sampling interface is an interactive software package that uses statistical procedures such as random sampling, stratified

More information

Appendix B BASIC MATRIX OPERATIONS IN PROC IML B.1 ASSIGNING SCALARS

Appendix B BASIC MATRIX OPERATIONS IN PROC IML B.1 ASSIGNING SCALARS Appendix B BASIC MATRIX OPERATIONS IN PROC IML B.1 ASSIGNING SCALARS Scalars can be viewed as 1 1 matrices and can be created using Proc IML by using the statement x¼scalar_value or x¼{scalar_value}. As

More information

Reading data in SAS and Descriptive Statistics

Reading data in SAS and Descriptive Statistics P8130 Recitation 1: Reading data in SAS and Descriptive Statistics Zilan Chai Sep. 18 th /20 th 2017 Outline Intro to SAS (windows, basic rules) Getting Data into SAS Descriptive Statistics SAS Windows

More information

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 27

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 27 STA258H5 Al Nosedal and Alison Weir Winter 2017 Al Nosedal and Alison Weir STA258H5 Winter 2017 1 / 27 BOOTSTRAP CONFIDENCE INTERVALS Al Nosedal and Alison Weir STA258H5 Winter 2017 2 / 27 Distribution

More information

AMS Lab # 1. Prof. Wei Zhu

AMS Lab # 1. Prof. Wei Zhu AMS 394.1 Lab # 1. Prof. Wei Zhu Aim: oday we will learn how to input data from the keyboard in SAS and also the SAS Proc Univariate Procedure. We will also learn how to download R from the internet. Note

More information

Unit 5: Estimating with Confidence

Unit 5: Estimating with Confidence Unit 5: Estimating with Confidence Section 8.3 The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Unit 5 Estimating with Confidence 8.1 8.2 8.3 Confidence Intervals: The Basics Estimating

More information

Doubly Cyclic Smoothing Splines and Analysis of Seasonal Daily Pattern of CO2 Concentration in Antarctica

Doubly Cyclic Smoothing Splines and Analysis of Seasonal Daily Pattern of CO2 Concentration in Antarctica Boston-Keio Workshop 2016. Doubly Cyclic Smoothing Splines and Analysis of Seasonal Daily Pattern of CO2 Concentration in Antarctica... Mihoko Minami Keio University, Japan August 15, 2016 Joint work with

More information

STA9750 Lecture I OUTLINE 1. WELCOME TO 9750!

STA9750 Lecture I OUTLINE 1. WELCOME TO 9750! STA9750 Lecture I OUTLINE 1. Welcome to STA9750! a. Blackboard b. Tentative syllabus c. Remote access to SAS 2. Introduction to reading data with SAS a. Manual input b. Reading from a text file c. Import

More information

Classification. Instructor: Wei Ding

Classification. Instructor: Wei Ding Classification Part II Instructor: Wei Ding Tan,Steinbach, Kumar Introduction to Data Mining 4/18/004 1 Practical Issues of Classification Underfitting and Overfitting Missing Values Costs of Classification

More information

STAT 5200 Handout #25. R-Square & Design Matrix in Mixed Models

STAT 5200 Handout #25. R-Square & Design Matrix in Mixed Models STAT 5200 Handout #25 R-Square & Design Matrix in Mixed Models I. R-Square in Mixed Models (with Example from Handout #20): For mixed models, the concept of R 2 is a little complicated (and neither PROC

More information

PROC GLIMMIX as a Teaching and Planning Tool for Experiment Design

PROC GLIMMIX as a Teaching and Planning Tool for Experiment Design Paper 11663-016 PROC GLIMMIX as a Teaching and Planning Tool for Experiment Design Walter W. Stroup, Department of Statistics, University of Nebraska, Lincoln, NE, USA ABSTRACT In our book, SAS for Mixed

More information

PLS205 Lab 1 January 9, Laboratory Topics 1 & 2

PLS205 Lab 1 January 9, Laboratory Topics 1 & 2 PLS205 Lab 1 January 9, 2014 Laboratory Topics 1 & 2 Welcome, introduction, logistics, and organizational matters Introduction to SAS Writing and running programs saving results checking for errors Different

More information

ST Lab 1 - The basics of SAS

ST Lab 1 - The basics of SAS ST 512 - Lab 1 - The basics of SAS What is SAS? SAS is a programming language based in C. For the most part SAS works in procedures called proc s. For instance, to do a correlation analysis there is proc

More information

Assignment 4/5 Statistics Due: Nov. 29

Assignment 4/5 Statistics Due: Nov. 29 Assignment 4/5 Statistics 5.301 Due: Nov. 29 1. Two decision rules are given here. Assume they apply to a normally distributed quality characteristic, the control chart has three-sigma control limits,

More information

IcETRAN Proceedings of papers. International Conference on Electrical, Electronic and Computing Engineering

IcETRAN Proceedings of papers. International Conference on Electrical, Electronic and Computing Engineering IcETRAN 2015 Proceedings of papers International Conference on Electrical, Electronic and Computing Engineering Silver Lake (Srebrno jezero), Serbia, June 8 11, 2015 ISBN 978-86-80509-71-6 Data Centrality

More information

ESTIMATING DENSITY DEPENDENCE, PROCESS NOISE, AND OBSERVATION ERROR

ESTIMATING DENSITY DEPENDENCE, PROCESS NOISE, AND OBSERVATION ERROR ESTIMATING DENSITY DEPENDENCE, PROCESS NOISE, AND OBSERVATION ERROR Coinvestigators: José Ponciano, University of Idaho Subhash Lele, University of Alberta Mark Taper, Montana State University David Staples,

More information

Multiple Comparisons of Treatments vs. a Control (Simulation)

Multiple Comparisons of Treatments vs. a Control (Simulation) Chapter 585 Multiple Comparisons of Treatments vs. a Control (Simulation) Introduction This procedure uses simulation to analyze the power and significance level of two multiple-comparison procedures that

More information

Creating Graphs Using SAS ODS Graphics Designer

Creating Graphs Using SAS ODS Graphics Designer Creating Graphs Using SAS ODS Graphics Designer William Knabe Former Director of Statistical Applications, UI Information Technology Services SAS Summer Training Institute 2016 Slide 1 Overview. Evolution

More information

2.830J / 6.780J / ESD.63J Control of Manufacturing Processes (SMA 6303) Spring 2008

2.830J / 6.780J / ESD.63J Control of Manufacturing Processes (SMA 6303) Spring 2008 MIT OpenCourseWare http://ocw.mit.edu.83j / 6.78J / ESD.63J Control of Manufacturing Processes (SMA 633) Spring 8 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Data Presentation. Figure 1. Hand drawn data sheet

Data Presentation. Figure 1. Hand drawn data sheet Data Presentation The purpose of putting results of experiments into graphs, charts and tables is two-fold. First, it is a visual way to look at the data and see what happened and make interpretations.

More information

Binary Diagnostic Tests Clustered Samples

Binary Diagnostic Tests Clustered Samples Chapter 538 Binary Diagnostic Tests Clustered Samples Introduction A cluster randomization trial occurs when whole groups or clusters of individuals are treated together. In the twogroup case, each cluster

More information

INTRODUCTION TO SAS HOW SAS WORKS READING RAW DATA INTO SAS

INTRODUCTION TO SAS HOW SAS WORKS READING RAW DATA INTO SAS TO SAS NEED FOR SAS WHO USES SAS WHAT IS SAS? OVERVIEW OF BASE SAS SOFTWARE DATA MANAGEMENT FACILITY STRUCTURE OF SAS DATASET SAS PROGRAM PROGRAMMING LANGUAGE ELEMENTS OF THE SAS LANGUAGE RULES FOR SAS

More information

STAT:5400 Computing in Statistics

STAT:5400 Computing in Statistics STAT:5400 Computing in Statistics Introduction to SAS Lecture 18 Oct 12, 2015 Kate Cowles 374 SH, 335-0727 kate-cowles@uiowaedu SAS SAS is the statistical software package most commonly used in business,

More information

NCSS Statistical Software. Robust Regression

NCSS Statistical Software. Robust Regression Chapter 308 Introduction Multiple regression analysis is documented in Chapter 305 Multiple Regression, so that information will not be repeated here. Refer to that chapter for in depth coverage of multiple

More information

STAT 113: Lab 9. Colin Reimer Dawson. Last revised November 10, 2015

STAT 113: Lab 9. Colin Reimer Dawson. Last revised November 10, 2015 STAT 113: Lab 9 Colin Reimer Dawson Last revised November 10, 2015 We will do some of the following together. The exercises with a (*) should be done and turned in as part of HW9. Before we start, let

More information

Resources for statistical assistance. Quantitative covariates and regression analysis. Methods for predicting continuous outcomes.

Resources for statistical assistance. Quantitative covariates and regression analysis. Methods for predicting continuous outcomes. Resources for statistical assistance Quantitative covariates and regression analysis Carolyn Taylor Applied Statistics and Data Science Group (ASDa) Department of Statistics, UBC January 24, 2017 Department

More information

New Features in SAS/INSIGHT in Version 7

New Features in SAS/INSIGHT in Version 7 New Features in SAS/INSIGHT in Version 7 Marc-david Cohen, Hong Chen, Yang Yuan, and Frederick Wicklin Applications Division SAS Institute Inc. Cary NC ABSTRACT There are significant new features in Version

More information

Laboratory Topics 1 & 2

Laboratory Topics 1 & 2 PLS205 Lab 1 January 12, 2012 Laboratory Topics 1 & 2 Welcome, introduction, logistics, and organizational matters Introduction to SAS Writing and running programs; saving results; checking for errors

More information

Machine Learning and Bioinformatics 機器學習與生物資訊學

Machine Learning and Bioinformatics 機器學習與生物資訊學 Molecular Biomedical Informatics 分子生醫資訊實驗室 機器學習與生物資訊學 Machine Learning & Bioinformatics 1 Evaluation The key to success 2 Three datasets of which the answers must be known 3 Note on parameter tuning It

More information

A DEA-bases Approach for Multi-objective Design of Attribute Acceptance Sampling Plans

A DEA-bases Approach for Multi-objective Design of Attribute Acceptance Sampling Plans Available online at htt://ijdea.srbiau.ac.ir Int. J. Data Enveloment Analysis (ISSN 2345-458X) Vol.5, No.2, Year 2017 Article ID IJDEA-00422, 12 ages Research Article International Journal of Data Enveloment

More information

Week 1 [20-24 Aug 07] Class Activities. FILE: \\Muserver2\USERS\B\baileraj\Classes\sta402\handouts\week-01-22aug07.doc

Week 1 [20-24 Aug 07] Class Activities. FILE: \\Muserver2\USERS\B\baileraj\Classes\sta402\handouts\week-01-22aug07.doc Week 1 [20-24 Aug 07] Class Activities FILE: \\Muserver2\USERS\B\baileraj\Classes\sta402\handouts\week-01-22aug07.doc 0. Roster STA 402 (n=3) Menickelly,Matthew Mix, Nathan Weber, Madeline STA 502 (n=11)

More information

Robust Linear Regression (Passing- Bablok Median-Slope)

Robust Linear Regression (Passing- Bablok Median-Slope) Chapter 314 Robust Linear Regression (Passing- Bablok Median-Slope) Introduction This procedure performs robust linear regression estimation using the Passing-Bablok (1988) median-slope algorithm. Their

More information

Descriptive Statistics, Standard Deviation and Standard Error

Descriptive Statistics, Standard Deviation and Standard Error AP Biology Calculations: Descriptive Statistics, Standard Deviation and Standard Error SBI4UP The Scientific Method & Experimental Design Scientific method is used to explore observations and answer questions.

More information

Poisson Regression and Model Checking

Poisson Regression and Model Checking Poisson Regression and Model Checking Readings GH Chapter 6-8 September 27, 2017 HIV & Risk Behaviour Study The variables couples and women_alone code the intervention: control - no counselling (both 0)

More information

Within-Cases: Multivariate approach part one

Within-Cases: Multivariate approach part one Within-Cases: Multivariate approach part one /* sleep2.sas */ options linesize=79 noovp formdlim=' '; title "Student's Sleep data: Matched t-tests with proc reg"; data bedtime; infile 'studentsleep.data'

More information