Difference between revisions of "ZMean2Estimate Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(8 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5}}</noinclude> {{command|statistics}} |
− | {{command|statistics}} | + | ;ZMean2Estimate( <List of Sample Data 1>, <List of Sample Data 2>, <σ1>, <σ2>, <Level> ) |
− | ;ZMean2Estimate | ||
: Calculates a Z confidence interval estimate of the difference between two population means using the given sample data sets, population standard deviations and confidence ''Level''. | : Calculates a Z confidence interval estimate of the difference between two population means using the given sample data sets, population standard deviations and confidence ''Level''. | ||
:Results are returned in list form as {lower confidence limit, upper confidence limit}. | :Results are returned in list form as {lower confidence limit, upper confidence limit}. | ||
− | :{{example|1=<div> Two sample data <code><nowiki>list1 = {1, 4, 5, 4, 1, 3, 4, 2}</nowiki></code>, <code><nowiki>list2 = {2, 1, 3, 1, 2, 5, 2, 4}</nowiki></code> are given. The standard deviation of list1 is <code><nowiki>σ_1 = sqrt(2)</nowiki></code>, the standard deviation of list2 is <code><nowiki>σ_2 =sqrt(1.75)</nowiki></code> and the confidence level is 0.75. | + | :{{example|1= |
− | + | <div> Two sample data <code><nowiki>list1 = {1, 4, 5, 4, 1, 3, 4, 2}</nowiki></code>, <code><nowiki>list2 = {2, 1, 3, 1, 2, 5, 2, 4}</nowiki></code> are given. The standard deviation of list1 is <code><nowiki>σ_1 = sqrt(2)</nowiki></code>, the standard deviation of list2 is <code><nowiki>σ_2 = sqrt(1.75)</nowiki></code> and the confidence level is 0.75. <br> <code><nowiki>ZMean2Estimate(list1, list2, σ_1, σ_2, 0.75)</nowiki></code> yields ''list3 = {-0.29, 1.29}''.</div>}} | |
− | ;ZMean2Estimate | + | ;ZMean2Estimate( <Sample Mean 1>, <σ1>, <Sample Size 1>, <Sample Mean 2 >, <σ2>, <Sample Size 2>, <Level>) |
: Calculates a Z confidence interval estimate of the difference between two population means using the given sample means, population standard deviations and confidence ''Level''. | : Calculates a Z confidence interval estimate of the difference between two population means using the given sample means, population standard deviations and confidence ''Level''. | ||
:Results are returned in list form as {lower confidence limit, upper confidence limit}. | :Results are returned in list form as {lower confidence limit, upper confidence limit}. |
Latest revision as of 10:27, 12 October 2017
- ZMean2Estimate( <List of Sample Data 1>, <List of Sample Data 2>, <σ1>, <σ2>, <Level> )
- Calculates a Z confidence interval estimate of the difference between two population means using the given sample data sets, population standard deviations and confidence Level.
- Results are returned in list form as {lower confidence limit, upper confidence limit}.
- Example:Two sample data
list1 = {1, 4, 5, 4, 1, 3, 4, 2}
,list2 = {2, 1, 3, 1, 2, 5, 2, 4}
are given. The standard deviation of list1 isσ_1 = sqrt(2)
, the standard deviation of list2 isσ_2 = sqrt(1.75)
and the confidence level is 0.75.
ZMean2Estimate(list1, list2, σ_1, σ_2, 0.75)
yields list3 = {-0.29, 1.29}.
- ZMean2Estimate( <Sample Mean 1>, <σ1>, <Sample Size 1>, <Sample Mean 2 >, <σ2>, <Sample Size 2>, <Level>)
- Calculates a Z confidence interval estimate of the difference between two population means using the given sample means, population standard deviations and confidence Level.
- Results are returned in list form as {lower confidence limit, upper confidence limit}.