lab 4 - EXST 7005 Fall 2010 Lab #4: One-Sample T-test...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 EXST 7005 Fall 2010 Lab #4: One-Sample T-test One-sample T-test A one-sample t-test can be used to test whether the mean of a normally distributed population has a value specified in a null hypothesis . SAS will compute the sample mean and compare it with the value specified in the null hypothesis. The underlying assumption of the t-test is that the observations are randomly drawn from a normally distributed population. For example, we are testing whether the mean length of a certain type of court case is 80 days using 20 randomly chosen cases. The data are read into SAS by the following DATA step: data COURT; input TIME @@; datalines ; 43 90 84 87 116 95 86 99 93 92 121 71 66 98 79 102 60 112 105 98 ; run; The only variable in the data set, TIME, is assumed to be normally distributed. The double trailing at signs (@@) after the variable’s name is used to tell SAS to read multiple observations from each line. The following code invokes PROC TTEST for a one-sample
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2011 for the course EXST 7005 taught by Professor Geaghan,j during the Fall '08 term at LSU.

Page1 / 3

lab 4 - EXST 7005 Fall 2010 Lab #4: One-Sample T-test...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online