Difference between revisions of "SOCR EduMaterials AnalysisActivities OneZ"

From SOCR
Jump to: navigation, search
(One Sample Z-Test Example)
 
Line 7: Line 7:
  
 
==One Sample Z-Test Example==
 
==One Sample Z-Test Example==
Go to the [http://www.socr.ucla.edu/htmls/ana/OneSampleZTest_Analysis.html SOCR One-Sample Z-Test Applet]. We will demonstrate One Sample Z-Test with some SOCR built-in examples, however, you can copy-paste in, or load your onw data int eh applet.  
+
Go to the [http://www.socr.ucla.edu/htmls/ana/OneSampleZTest_Analysis.html SOCR One-Sample Z-Test Applet]. We will demonstrate One Sample Z-Test with some SOCR built-in examples, however, you can copy-paste in, or load your own data in the applet.  
  
 
This example is based on the data taken 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. 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 calculated by B - A. (Note: this example is also used in another three SOCR demonstration: [[SOCR_EduMaterials_AnalysisActivities_TwoPairedT|Two Paired Sample T-Test]], [[SOCR_EduMaterials_AnalysisActivities_TwoPairedSign|Two Paired Sample Sign Test]], and [[SOCR_EduMaterials_AnalysisActivities_TwoPairedRank|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.  
 
This example is based on the data taken 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. 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 calculated by B - A. (Note: this example is also used in another three SOCR demonstration: [[SOCR_EduMaterials_AnalysisActivities_TwoPairedT|Two Paired Sample T-Test]], [[SOCR_EduMaterials_AnalysisActivities_TwoPairedSign|Two Paired Sample Sign Test]], and [[SOCR_EduMaterials_AnalysisActivities_TwoPairedRank|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.  

Latest revision as of 11:46, 24 October 2012

SOCR Analysis - SOCR Analyses Example on One Sample Z-Test

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

One Sample Z-Test Background

The theory is described in the EBook.

One Sample Z-Test Example

Go to the SOCR One-Sample Z-Test Applet. We will demonstrate One Sample Z-Test with some SOCR built-in examples, however, you can copy-paste in, or load your own data in the applet.

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 calculated 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.

Follow the step-by-step activity below.


Select the One Sample Z-test

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

SOCR AnalysisActivities OneZ Fig1.png


SOCR AnalysisActivities OneZ Fig2.png


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


SOCR AnalysisActivities OneZ Fig3.png


Mapping

Click on the "Mapping" button to get to the "Mapping" panel. Click on "ADD" under VARIABLE to add the variable for One Sample Z-Test. Here, the Column X = B - A. Don't worry about C2 to C3.

SOCR AnalysisActivities OneZ Fig4.png


Calculate

Click on "Calculate" – a dialogue box will pop up and ask for the test (population) mean. Here we use a test mean of 12; if no input is entered, the default would be zero. After inputting the test mean, another box will pop up and ask for test variance. Here we use a test variance of 50; if no input is entered, the default would be one. The user will then be able to see the result under “Result” tab.

SOCR AnalysisActivities OneZ Fig5.png
SOCR AnalysisActivities OneZ Fig6.png
SOCR AnalysisActivities OneZ Fig7.png

Questions

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

See also




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