Difference between revisions of "Manuals/calci/ZTESTEQUALMEANS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 18: Line 18:
 
*Suppose we are omitted the <math>lv</math> value it will consider the value as FALSE.  
 
*Suppose we are omitted the <math>lv</math> value it will consider the value as FALSE.  
 
*ZTEST two sample for means is calculated by:<math> z=\frac{\bar{x_1}-\bar{x_2}-\Delta}{\sqrt{\frac{\sigma_1^2}{n_1}+\frac{\sigma_2^2}{n_2}}}</math>  
 
*ZTEST two sample for means is calculated by:<math> z=\frac{\bar{x_1}-\bar{x_2}-\Delta}{\sqrt{\frac{\sigma_1^2}{n_1}+\frac{\sigma_2^2}{n_2}}}</math>  
where <math>\bar{x_1}</math> and <math>\bar{x_2}<\math> are average of two samples, <math>\Delta</math> is the Hypothesized Mean Difference between two means of the population. <math>\sigma_1</math> and <math>\sigma_2</math> are the standard deviation of two population. <math> n_1 <\math> and <math> n_2 <\math> are the sizes of the samples.  
+
where <math>\bar{x_1}</math> and <math>\bar{x_2}<\math> are average of two samples, <math>\Delta</math> is the Hypothesized Mean Difference between two means of the population. <math>\sigma_1</math> and <math>\sigma_2</math> are the standard deviation of two population. <math>n_1<\math> and <math>n_2<\math> are the sizes of the samples.  
 
*This function will give the result as error when  
 
*This function will give the result as error when  
 
   1. any one of the argument is nonnumeric.
 
   1. any one of the argument is nonnumeric.
 
   2. alpha>1
 
   2. alpha>1
 
  
 
==Trial1==
 
==Trial1==
  
 
<math>\bar{x_1}</math> and <math> \bar{x1} </math>
 
<math>\bar{x_1}</math> and <math> \bar{x1} </math>

Revision as of 23:56, 9 February 2014

ZTESTTWOSAMPLEFORMEANS(ar1,ar2,v1,v2,md,alpha,lv)


  • and are array of values.
  • and are value of variances.
  • is the Hypothesized Mean Difference.
  • is the significance level.
  • is the logical value.

Description

  • This function gives the z-test two sample for means.
  • We can use this test when
1.The samples can be different sizes.
2.The two samples are independent.
3.Both populations are normally distributed or both sample sizes are large enough that the means are normally distributed.
  • In , and are the set of values, is the variance of , is the variance of .
  • is the Hypothesized Mean Difference. If testing is for equal means,then .
  • is the significance level which ranges from 0 to 1.
  • is the logical value like TRUE or FALSE.TRUE is indicating the result will display in new worksheet.
  • Suppose we are omitted the value it will consider the value as FALSE.
  • ZTEST two sample for means is calculated by:

where and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \bar{x_2}<\math> are average of two samples, <math>\Delta} is the Hypothesized Mean Difference between two means of the population. and are the standard deviation of two population. Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n_1<\math> and <math>n_2<\math> are the sizes of the samples. *This function will give the result as error when 1. any one of the argument is nonnumeric. 2. alpha>1 ==Trial1== <math>\bar{x_1}} and