Documentation for Eidos function ttest
, which is a method of
Eidos
.
Note that the R function is a stub, it does not do anything in R (except bring
up this documentation). It will only do
anything useful when used inside a slim_block
function further
nested in a slim_script
function call, where it will be translated into valid SLiM code as part of a
full SLiM script.
eidos_ttest(x, y, mu)
An object of type float. See details for description.
An object of type null or float. The default value is NULL
. See
details for description.
An object of type null or float. Must be of length 1 (a singleton).
The default value is NULL
. See details for description.
An object of type float. Return will be of length 1 (a singleton)
Documentation for this function can be found in the official SLiM manual: page NA.
Returns the p-value resulting from running a t-test with the supplied data. Two types of t-tests can be performed. If x and y are supplied (i.e., y is non-NULL), a two-sample unpaired two-sided Welch's ttest is conducted using the samples in x and y, each of which must contain at least two elements. The null hypothesis for this test is that the two samples are drawn from populations with the same mean. Other options, such as pooled-variance t-tests, paired t-tests, and one-sided t-tests, are not presently available. If x and mu are supplied (i.e., mu is non-NULL), a one-sample t-test is conducted in which the null hypothesis is that the sample is drawn from a population with mean mu. Note that the results from this function are substantially different from those produced by R. The Eidos ttest() function uses uncorrected sample statistics, which means they will be biased for small sample sizes, whereas R probably uses corrected, unbiased sample statistics. This is an Eidos bug, and might be fixed if anyone complains. If large sample sizes are used, however, the bias is likely to be small, and uncorrected statistics are simpler and faster to compute.
This is documentation for a function in the SLiM software, and has been reproduced from the official manual, which can be found here: http://benhaller.com/slim/SLiM_Manual.pdf. This documentation is Copyright © 2016-2020 Philipp Messer. All rights reserved. More information about SLiM can be found on the official website: https://messerlab.org/slim/
Other Eidos:
Eidos
,
eidos_abs()
,
eidos_acos()
,
eidos_all()
,
eidos_any()
,
eidos_apply()
,
eidos_array()
,
eidos_asFloat()
,
eidos_asInteger()
,
eidos_asLogical()
,
eidos_asString()
,
eidos_asin()
,
eidos_assert()
,
eidos_atan2()
,
eidos_atan()
,
eidos_beep()
,
eidos_catn()
,
eidos_cat()
,
eidos_cbind()
,
eidos_ceil()
,
eidos_citation()
,
eidos_clock()
,
eidos_cmColors()
,
eidos_color2rgb()
,
eidos_colors()
,
eidos_cor()
,
eidos_cos()
,
eidos_cov()
,
eidos_createDirectory()
,
eidos_cumProduct()
,
eidos_cumSum()
,
eidos_c()
,
eidos_date()
,
eidos_dbeta()
,
eidos_debugIndent()
,
eidos_defineConstant()
,
eidos_defineGlobal()
,
eidos_deleteFile()
,
eidos_dexp()
,
eidos_dgamma()
,
eidos_diag()
,
eidos_dim()
,
eidos_dmvnorm()
,
eidos_dnorm()
,
eidos_drop()
,
eidos_elementType()
,
eidos_exists()
,
eidos_exp()
,
eidos_fileExists()
,
eidos_filesAtPath()
,
eidos_findInterval()
,
eidos_float()
,
eidos_floor()
,
eidos_flushFile()
,
eidos_format()
,
eidos_functionSignature()
,
eidos_functionSource()
,
eidos_getSeed()
,
eidos_getwd()
,
eidos_heatColors()
,
eidos_hsv2rgb()
,
eidos_identical()
,
eidos_ifelse()
,
eidos_integerDiv()
,
eidos_integerMod()
,
eidos_integer()
,
eidos_isFinite()
,
eidos_isFloat()
,
eidos_isInfinite()
,
eidos_isInteger()
,
eidos_isLogical()
,
eidos_isNAN()
,
eidos_isNULL()
,
eidos_isObject()
,
eidos_isString()
,
eidos_length()
,
eidos_license()
,
eidos_log10()
,
eidos_log2()
,
eidos_logical()
,
eidos_log()
,
eidos_lowerTri()
,
eidos_ls()
,
eidos_match()
,
eidos_matrixMult()
,
eidos_matrix()
,
eidos_max()
,
eidos_mean()
,
eidos_min()
,
eidos_nchar()
,
eidos_ncol()
,
eidos_nrow()
,
eidos_object()
,
eidos_order()
,
eidos_paste0()
,
eidos_paste()
,
eidos_pmax()
,
eidos_pmin()
,
eidos_pnorm()
,
eidos_print()
,
eidos_product()
,
eidos_qnorm()
,
eidos_quantile()
,
eidos_rainbow()
,
eidos_range()
,
eidos_rank()
,
eidos_rbeta()
,
eidos_rbind()
,
eidos_rbinom()
,
eidos_rcauchy()
,
eidos_rdunif()
,
eidos_readCSV()
,
eidos_readFile()
,
eidos_repEach()
,
eidos_rep()
,
eidos_rev()
,
eidos_rexp()
,
eidos_rf()
,
eidos_rgamma()
,
eidos_rgb2color()
,
eidos_rgb2hsv()
,
eidos_rgeom()
,
eidos_rlnorm()
,
eidos_rmvnorm()
,
eidos_rm()
,
eidos_rnbinom()
,
eidos_rnorm()
,
eidos_round()
,
eidos_rpois()
,
eidos_runif()
,
eidos_rweibull()
,
eidos_sample()
,
eidos_sapply()
,
eidos_sd()
,
eidos_seqAlong()
,
eidos_seqLen()
,
eidos_seq()
,
eidos_setDifference()
,
eidos_setIntersection()
,
eidos_setSeed()
,
eidos_setSymmetricDifference()
,
eidos_setUnion()
,
eidos_setwd()
,
eidos_sin()
,
eidos_size()
,
eidos_sortBy()
,
eidos_sort()
,
eidos_source()
,
eidos_sqrt()
,
eidos_stop()
,
eidos_strcontains()
,
eidos_strfind()
,
eidos_string()
,
eidos_strprefix()
,
eidos_strsplit()
,
eidos_strsuffix()
,
eidos_str()
,
eidos_substr()
,
eidos_sumExact()
,
eidos_sum()
,
eidos_suppressWarnings()
,
eidos_sysinfo()
,
eidos_system()
,
eidos_tabulate()
,
eidos_tan()
,
eidos_tempdir()
,
eidos_terrainColors()
,
eidos_time()
,
eidos_trunc()
,
eidos_type()
,
eidos_t()
,
eidos_unique()
,
eidos_upperTri()
,
eidos_usage()
,
eidos_var()
,
eidos_version()
,
eidos_whichMax()
,
eidos_whichMin()
,
eidos_which()
,
eidos_writeFile()
,
eidos_writeTempFile()