<?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 => 'zh', ), 'this' => array ( 0 => 'function.stats-stat-paired-t.php', 1 => 'stats_stat_paired_t', 2 => 'Returns the t-value of the dependent t-test for paired samples', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic 函数', ), 'prev' => array ( 0 => 'function.stats-stat-innerproduct.php', 1 => 'stats_stat_innerproduct', ), 'next' => array ( 0 => 'function.stats-stat-percentile.php', 1 => 'stats_stat_percentile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-stat-paired-t.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="function.stats-stat-paired-t" class="refentry"> <div class="refnamediv"> <h1 class="refname">stats_stat_paired_t</h1> <p class="verinfo">(PECL stats >= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_stat_paired_t</span> — <span class="dc-title">Returns the t-value of the dependent t-test for paired samples</span></p> </div> <div class="refsect1 description" id="refsect1-function.stats-stat-paired-t-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="methodname"><strong>stats_stat_paired_t</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$arr1</code></span>, <span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$arr2</code></span>): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div> <p class="para rdfs-comment"> Returns the t-value of the dependent t-test for paired samples <code class="parameter">arr1</code> and <code class="parameter">arr2</code>. </p> </div> <div class="refsect1 parameters" id="refsect1-function.stats-stat-paired-t-parameters"> <h3 class="title">参数</h3> <p class="para"> <dl> <dt><code class="parameter">arr1</code></dt> <dd> <p class="para"> The first samples </p> </dd> <dt><code class="parameter">arr2</code></dt> <dd> <p class="para"> The second samples </p> </dd> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.stats-stat-paired-t-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> Returns the t-value, or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if failure. </p> </div> </div><?php manual_footer($setup); ?>