Difference between revisions of "Power Analysis for Normal Distribution:"

From SOCR
Jump to: navigation, search
m
Line 1: Line 1:
 
== List of Functionalities ==
 
== List of Functionalities ==
 
=== Finding Power with Sample Size ("Part 1")===
 
=== Finding Power with Sample Size ("Part 1")===
finding power, with given information (including the sample size, standard deviation (SD), mean of the null (mu_0) and alternative (mu_A) hypothesis, significance level and hypothesis type).
+
Finding power, with given information (including the sample size, standard deviation (SD), mean of the null (mu_0) and alternative (mu_A) hypothesis, significance level and hypothesis type).
  
 
=== Finding Sample Size with Power ("Part 2")===
 
=== Finding Sample Size with Power ("Part 2")===
finding sample size, with given information (including the power, standard deviation, mean of the null and alternative hypothesis, significance level and hypothesis type).
+
Finding sample size, with given information (including the power, standard deviation, mean of the null and alternative hypothesis, significance level and hypothesis type).
  
  
 
=== Finding Z-Score ("Part 3") ===
 
=== Finding Z-Score ("Part 3") ===
finding the z-score with given information (including the mean, standard deviation, and the specific point of interest).
+
Finding the z-score with given information (including the mean, standard deviation, and the specific point of interest).
  
  
Line 17: Line 17:
 
You can do part (1) in two ways:  
 
You can do part (1) in two ways:  
  
=====A. Without Generating Raw Data===== just click on "SELECT PARAMETERS".  Make sure "Get Power Using Sample Size " is selected. and input the information stated above in (1). You'll need to:
+
=====A. Without Generating Raw Data=====  
input all these in order for the program to continue. Remember to select one from the three  
+
Just click on "SELECT PARAMETERS".  Make sure "Get Power Using Sample Size" is selected. Then input the information stated above in (1). You'll need to: input all these in order for the program to continue. Remember to select one from the three hypothesis types, i.e., set the relationship of the null and alternative's means, to be less than, greater than, or not equal.
hypothesis types, i.e. set the relationship of the null and alternative's means, to be less than,  
+
<center>[[Image:SOCR_Analyses_NormalPower_SelectPanel_SampleSize_Annie_20061026_1.jpg|550px]]</center>
greater than, or not equal.
 
[[Image:SOCR_Analyses_NormalPower_SelectPanel_SampleSize_Annie_20061026_1.jpg|550px]]
 
  
Then click on the "CALCULATE" button to get
+
Then click on the '''CALCULATE''' button to get the computed results. Then you could click on the "RESULT" button to see the statistical output, and click on "GRAPH" tab to see a plot of "power vs. mean."  
the computed results. Then you could click on the "RESULT" button to see the statistical output, and
 
click on "GRAPH" tab to see a plot of "power vs. mean."  
 
  
[[Image:SOCR_Analyses_NormalPower_GraphPanel_SampleSize_Annie_20061026_1.jpg|550px]]
+
<center>[[Image:SOCR_Analyses_NormalPower_GraphPanel_SampleSize_Annie_20061026_1.jpg|550px]]</center>
  
Click on "COMPARE CURVES" to see
+
Click on '''COMPARE CURVES''' to see the normal curves. The top curve is generated using the SD inputted, and the bottom curve using the SE of sample mean.
the normal curves. The top curve is generated using the SD inputted, and the bottom curve using the SE of sample mean.
 
  
[[Image:SOCR_Analyses_NormalPower_CompareCurves_RawData_Annie_20061026_2.jpg|550px]]
+
<center>[[Image:SOCR_Analyses_NormalPower_CompareCurves_RawData_Annie_20061026_2.jpg|550px]]</center>
  
=====B. With Raw Data Generated ===== To see how this work with data, click on "RANDOM EXAMPLE" and a set of data will be generated.
+
=====B. With Raw Data Generated =====  
 +
To see how this work with data, click on '''RANDOM EXAMPLE''' and a set of data will be generated.
 
Click on the "DATA" tab if you would like to see the data.
 
Click on the "DATA" tab if you would like to see the data.
  
[[Image:SOCR_Analyses_NormalPower_DataPanel_SampleSize_Annie_20061026_2.jpg|550px]]
+
<center>[[Image:SOCR_Analyses_NormalPower_DataPanel_SampleSize_Annie_20061026_2.jpg|550px]]</center>
  
Then go to "SELECT PARAMETER" panel. Make sure "Get Power Using Sample Size " is selected, and input the information stated above in (1).
+
Then go to '''SELECT PARAMETER''' panel. Make sure "''Get Power Using Sample Size''" is selected, and input the information stated above in (1).
  
[[Image:SOCR_Analyses_NormalPower_SelectPanel_SampleSize_Annie_20061026_2.jpg|550px]]
+
<center>[[Image:SOCR_Analyses_NormalPower_SelectPanel_SampleSize_Annie_20061026_2.jpg|550px]]</center>
  
Click on the "CALCULATE" button to obtain the mean and SD of this data set. Next input your own mean
+
Click on the '''CALCULATE''' button to obtain the mean and SD of this data set. Next input your own mean of alternative hypothesis. Remember to select hypothesis type. Then, click on the "CALCULATE" button ''AGAIN'', to obtain the result, graph, and normal curves, as in (A).
of alternative hypothesis. Remember to select hypothesis type. Then, click on the "CALCULATE" button
 
AGAIN, to obtain the result, graph, and normal curves, as in (A).
 
  
[[Image:SOCR_Analyses_NormalPower_CompareCurves_RawData_Annie_20061026_1.jpg|550px]]
+
<center>[[Image:SOCR_Analyses_NormalPower_CompareCurves_RawData_Annie_20061026_1.jpg|550px]]</center>
  
Note that in (B)'s normal curve, the data are ploted in pink (based on frequency).
+
Note that in (B)'s normal curve, the data are plotted in pink (based on frequency).
  
For both (A) and (B), You can move around the curve of sample mean, alternative hypothesis (bottom panel, red curve),
+
For both (A) and (B), you can move around the curve of sample mean, alternative hypothesis (bottom panel, red curve), by clicking inside its area. The part(s) that's rejected by the null hypothesis, is painted yellow.
by click on it's area inside. The part(s) that's rejected by the null, is painted yellow.
 
  
 
==== How to do part (2) and what's in there? ====  
 
==== How to do part (2) and what's in there? ====  
  
Very similar to 1A: just click on "SELECT PARAMETERS".  
+
Very similar to 1A: just click on '''SELECT PARAMETERS'''.  
  
[[Image:SOCR_Analyses_NormalPower_SelectPanel_Power_Annie_20061026_1.jpg|550px]]
+
<center>[[Image:SOCR_Analyses_NormalPower_SelectPanel_Power_Annie_20061026_1.jpg|550px]]</center>
  
Make sure "Get Sample Size Using Power" is selected. And input the information stated above in (2).  
+
Make sure "''Get Sample Size Using Power''" is selected. And input the information stated above in (2). Instead of specifying the sample size, you specify the power. Use a decimal number between 0 and 1 (e.g. 0.95). You'll need to input all these in order for the program to continue. Remember to select one from the three hypothesis types. Then, once you click on the "CALCULATE" button, see the result, graph and normal curves by clicking on '''RESULT''', '''GRAPH''' and '''COMPARE CURVES''' tabs.
Instead of specifying the sample size, you specify the power. Use a decimal number beteen 0 and 1 (e.g. 0.95). You'll need toinput all these in order for the program to continue. Remember to select one from the three hypothesis types. Then, once you click on the "CALCULATE" button, see the result,
 
graph and normal curves by clicking on "RESULT", "GRAPH" and "COMPARE CURVES" tabs.
 
  
 
You can move around the curve of sample mean, alternative hypothesis (bottom panel, red curve),
 
You can move around the curve of sample mean, alternative hypothesis (bottom panel, red curve),
by click on it's area inside. The part(s) that's rejected by the null, is painted yellow.
+
by clicking on it's area inside. The part(s) that's rejected by the null hypothesis, is painted yellow.
  
 
==== How to do part (3) and what's in there? ====
 
==== How to do part (3) and what's in there? ====
  
This is even easier than (1) and (2). Just click on "SELECT PARAMETERS", enter all the information,
+
This is even easier than (1) and (2). Just click on '''SELECT PARAMETERS''', enter all the information, then click on '''CALCULATE'''. Then click on '''RESULT''' for the result.
then click on "CALCULATE". Then click on "RESULT" for the result.
 
 
 
  
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=Power_Analysis_for_Normal_Distribution}}
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=Power_Analysis_for_Normal_Distribution}}

Revision as of 23:31, 9 February 2008

List of Functionalities

Finding Power with Sample Size ("Part 1")

Finding power, with given information (including the sample size, standard deviation (SD), mean of the null (mu_0) and alternative (mu_A) hypothesis, significance level and hypothesis type).

Finding Sample Size with Power ("Part 2")

Finding sample size, with given information (including the power, standard deviation, mean of the null and alternative hypothesis, significance level and hypothesis type).


Finding Z-Score ("Part 3")

Finding the z-score with given information (including the mean, standard deviation, and the specific point of interest).


Details of Computation Steps

How to do part (1) and what's in there?

You can do part (1) in two ways:

A. Without Generating Raw Data

Just click on "SELECT PARAMETERS". Make sure "Get Power Using Sample Size" is selected. Then input the information stated above in (1). You'll need to: input all these in order for the program to continue. Remember to select one from the three hypothesis types, i.e., set the relationship of the null and alternative's means, to be less than, greater than, or not equal.

SOCR Analyses NormalPower SelectPanel SampleSize Annie 20061026 1.jpg

Then click on the CALCULATE button to get the computed results. Then you could click on the "RESULT" button to see the statistical output, and click on "GRAPH" tab to see a plot of "power vs. mean."

SOCR Analyses NormalPower GraphPanel SampleSize Annie 20061026 1.jpg

Click on COMPARE CURVES to see the normal curves. The top curve is generated using the SD inputted, and the bottom curve using the SE of sample mean.

SOCR Analyses NormalPower CompareCurves RawData Annie 20061026 2.jpg
B. With Raw Data Generated

To see how this work with data, click on RANDOM EXAMPLE and a set of data will be generated. Click on the "DATA" tab if you would like to see the data.

SOCR Analyses NormalPower DataPanel SampleSize Annie 20061026 2.jpg

Then go to SELECT PARAMETER panel. Make sure "Get Power Using Sample Size" is selected, and input the information stated above in (1).

SOCR Analyses NormalPower SelectPanel SampleSize Annie 20061026 2.jpg

Click on the CALCULATE button to obtain the mean and SD of this data set. Next input your own mean of alternative hypothesis. Remember to select hypothesis type. Then, click on the "CALCULATE" button AGAIN, to obtain the result, graph, and normal curves, as in (A).

Error creating thumbnail: File missing

Note that in (B)'s normal curve, the data are plotted in pink (based on frequency).

For both (A) and (B), you can move around the curve of sample mean, alternative hypothesis (bottom panel, red curve), by clicking inside its area. The part(s) that's rejected by the null hypothesis, is painted yellow.

How to do part (2) and what's in there?

Very similar to 1A: just click on SELECT PARAMETERS.

SOCR Analyses NormalPower SelectPanel Power Annie 20061026 1.jpg

Make sure "Get Sample Size Using Power" is selected. And input the information stated above in (2). Instead of specifying the sample size, you specify the power. Use a decimal number between 0 and 1 (e.g. 0.95). You'll need to input all these in order for the program to continue. Remember to select one from the three hypothesis types. Then, once you click on the "CALCULATE" button, see the result, graph and normal curves by clicking on RESULT, GRAPH and COMPARE CURVES tabs.

You can move around the curve of sample mean, alternative hypothesis (bottom panel, red curve), by clicking on it's area inside. The part(s) that's rejected by the null hypothesis, is painted yellow.

How to do part (3) and what's in there?

This is even easier than (1) and (2). Just click on SELECT PARAMETERS, enter all the information, then click on CALCULATE. Then click on RESULT for the result.



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