<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.stats.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.stats-variance.php',
    1 => 'stats_variance',
    2 => 'Returns the variance',
  ),
  'up' => 
  array (
    0 => 'ref.stats.php',
    1 => 'Statistic 関数',
  ),
  'prev' => 
  array (
    0 => 'function.stats-stat-powersum.php',
    1 => 'stats_stat_powersum',
  ),
  'next' => 
  array (
    0 => 'book.trader.php',
    1 => 'Trader',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/stats/functions/stats-variance.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.stats-variance" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">stats_variance</h1>
  <p class="verinfo">(PECL stats &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_variance</span> &mdash; <span class="dc-title">Returns the variance</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.stats-variance-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>stats_variance</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$a</code></span>, <span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$sample</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong></span></span>): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>

  <p class="para rdfs-comment">
   Returns the variance of the values in <code class="parameter">a</code>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.stats-variance-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">a</code></dt>
     <dd>
      <p class="para">
       The array of data to find the standard deviation for. Note that all 
       values of the array will be cast to <span class="type"><a href="language.types.float.php" class="type float">float</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">sample</code></dt>
     <dd>
      <p class="para">
       Indicates if <code class="parameter">a</code> represents a sample of the 
       population; defaults to <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.stats-variance-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   Returns the variance on success; <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on failure.
  </p>
 </div>


 


 


 


 


</div><?php manual_footer($setup); ?>