Difference between revisions of "SOCR EduMaterials AnalysisActivities TwoPairedSign"

From SOCR
Jump to: navigation, search
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Two Paired Sample Sign Test Example==
+
==[[SOCR_EduMaterials_AnalysesActivities | SOCR Analysis]] - Two Paired Sample Sign Test Example==
We will demonstrate Two Paired Sign Test with a SOCR built-in example.  This example is based on a dataset from the statistical program "R." For more information of the R program, please see [http://cran.r-project.org/ 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. We'd like to find if one material is better than the other.
 
  
 +
Go to the [http://www.socr.ucla.edu/htmls/ana/TwoPairedSampleSign-Test_Analysis.html SOCR Two Paired Sample Sign Test Applet]. We will demonstrate Two Paired Sign Test with a SOCR built-in example.  This example is based on a dataset from the statistical program "R." For more information of the R program, please see [http://cran.r-project.org/ 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. We'd like to find if one material is better than the other.
  
 
Here's the steps of the activity:
 
Here's the steps of the activity:
Line 17: Line 17:
  
  
'''2.''' Click on the "'''Mapping'''" button to get to the "'''Mapping'''" panel. Click on '''"ADD"''' under '''VARIABLE 1''' and to '''VARIABLE 2''' add the variables for Two Paired Sample T-Test. We care about the difference, so which on goes to '''VARIABLE 1''' is arbitrary. You can just add column '''A''' to '''VARIABLE 1''' and '''B''' to '''VARIABLE 2'''.
+
'''2.''' Click on the "'''Mapping'''" button to get to the "'''Mapping'''" panel. Click on '''"ADD"''' under '''VARIABLE 1''' to add '''A''' and click on '''ADD''' under '''VARIABLE 2''' to add '''B'''. We care about the difference, so which on goes to '''VARIABLE 1''' or '''VARIABLE 2''' is arbitrary. Here, the computer will set difference = Variable 2 - Variable 1. If you like the subtraction to go the other way around, simple assign '''VARIABLE 1''' and '''VARIABLE 2''' in the opposite way.  
Here, the computer will set difference = Variable 2 - Variable 1. If you like the substraction to go the other way around, simple assign '''VARIABLE 1''' and '''VARIABLE 2''' in a different way.  
 
 
 
  
 
<center>[[Image:SOCR_AnalysisActivities_TwoPairedSign_Chu_051707_Fig3.gif|700px]]</center>
 
<center>[[Image:SOCR_AnalysisActivities_TwoPairedSign_Chu_051707_Fig3.gif|700px]]</center>
 
  
 
'''3.''' Click on "'''Calculate'''" then "'''Result'''" to see the results.
 
'''3.''' Click on "'''Calculate'''" then "'''Result'''" to see the results.
 
  
 
<center>[[Image:SOCR_AnalysisActivities_TwoPairedSign_Chu_051707_Fig4.gif|700px]]</center>
 
<center>[[Image:SOCR_AnalysisActivities_TwoPairedSign_Chu_051707_Fig4.gif|700px]]</center>
Line 31: Line 27:
  
 
'''Questions for students:''' By looking at the test results, what do you think about the data? What can you say about the two different shoe materials?
 
'''Questions for students:''' By looking at the test results, what do you think about the data? What can you say about the two different shoe materials?
 +
 +
 +
<hr>
 +
 +
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_AnalysisActivities_TwoPairedSign}}

Latest revision as of 14:57, 23 January 2009

SOCR Analysis - Two Paired Sample Sign Test Example

Go to the SOCR Two Paired Sample Sign Test Applet. We will demonstrate Two Paired Sign Test with a SOCR built-in example. This example is based on a dataset 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. We'd like to find if one material is better than the other.

Here's the steps of the activity:

1. Click on Two Paired Sample Sign Test at the left panel's combo box.

SOCR AnalysisActivities TwoPairedSign Chu 051707 Fig1.gif


SOCR AnalysisActivities TwoPairedSign Chu 051707 Fig1A.gif


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.

SOCR AnalysisActivities TwoPairedSign Chu 051707 Fig2.gif


2. Click on the "Mapping" button to get to the "Mapping" panel. Click on "ADD" under VARIABLE 1 to add A and click on ADD under VARIABLE 2 to add B. We care about the difference, so which on goes to VARIABLE 1 or VARIABLE 2 is arbitrary. Here, the computer will set difference = Variable 2 - Variable 1. If you like the subtraction to go the other way around, simple assign VARIABLE 1 and VARIABLE 2 in the opposite way.

SOCR AnalysisActivities TwoPairedSign Chu 051707 Fig3.gif

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

SOCR AnalysisActivities TwoPairedSign Chu 051707 Fig4.gif


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





Translate this page:

(default)
Uk flag.gif

Deutsch
De flag.gif

Español
Es flag.gif

Français
Fr flag.gif

Italiano
It flag.gif

Português
Pt flag.gif

日本語
Jp flag.gif

България
Bg flag.gif

الامارات العربية المتحدة
Ae flag.gif

Suomi
Fi flag.gif

इस भाषा में
In flag.gif

Norge
No flag.png

한국어
Kr flag.gif

中文
Cn flag.gif

繁体中文
Cn flag.gif

Русский
Ru flag.gif

Nederlands
Nl flag.gif

Ελληνικά
Gr flag.gif

Hrvatska
Hr flag.gif

Česká republika
Cz flag.gif

Danmark
Dk flag.gif

Polska
Pl flag.png

România
Ro flag.png

Sverige
Se flag.gif