SOCR EduMaterials AnalysisActivities OneT

From SOCR
Revision as of 14:41, 4 August 2007 by Annie (talk | contribs) (One Sample T-Test Example)
Jump to: navigation, search

SOCR Analyses Example on One Sample T-Test

This SOCR Activity demonstrates the utilization of the SOCR Analyses package for statistical Computing. In particular, it shows how to use One Sample T-Test with SOCR.

One Sample T-Test Background

The theory used is Student's T-distribution (try opening it in a new window so you can keep this page). A vector of data is to be tested if it's mean is significantly not equal to zero, or less than, or greater than zero.

One Sample T-Test Example

We will demonstrate One Sample T-Test with some SOCR built-in examples. This example is based on the data taken from the statistical program "R." For more information of the R program, please see CRAN Home Page. The dataset used here is "shoes" under R's "MASS" library. In the dataset, ten boys are given to the wear of shoes of materials A and B for one foot. The worn level is recorded and difference is obtained. We'd like to find if one material is better than the other. The difference is calcualted by B - A. (Note: this example is also used in another three SOCR demonstration: Two Paired Sample T-Test, Two Paired Sample Sign Test, and Two Paired Sample Signed Rank Test. If you'd like to see the data of each material, go to the page of these activities or directly look for them in the SOCR Applet.

Here's the steps of the activity:

1. Click on One Sample T-Test at the left panel's combo box.

Error creating thumbnail: File missing


SOCR AnalysisActivities OneT Chu 051707 Fig1A.gif


And then, on the right panel, first click on EXAMPLE 3 and next click on "Data" to retreive the demonstrated example. This is the example we'll be looking at.Note that the data are difference of B - A.

Error creating thumbnail: File missing


2. Click on the "Mapping" button to get to the "Mapping" panel. Click on "Add" under Dependent to add the variable for One Sample T-Test. Here, the Column X = B - A. Don't worry about C2 to C16 etc.


Error creating thumbnail: File missing


3. Click on "Calculate" then "Result" to see the results.


Error creating thumbnail: File missing


By looking at the test results, what do you think about the data? What can you say about the two different shoe materials?