Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Student's t-test
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Software implementations== Many [[spreadsheet]] programs and statistics packages, such as [[QtiPlot]], [[LibreOffice Calc]], [[Microsoft Excel]], [[SAS (software)|SAS]], [[SPSS]], [[Stata]], [[DAP (software)|DAP]], [[gretl]], [[R (programming language)|R]], [[Python (programming language)|Python]], [[PSPP]], [[Wolfram Mathematica]], [[MATLAB]] and [[Minitab]], include implementations of Student's ''t''-test. {| class="wikitable sortable" |- ! Language/Program !! Function !! Notes |- | [[Microsoft Excel]] pre 2010 || <code>TTEST(''array1'', ''array2'', ''tails'', ''type'')</code> || See [https://support.office.com/en-US/article/TTEST-function-1696FFC1-4811-40FD-9D13-A0EAAD83C7AE] |- | [[Microsoft Excel]] 2010 and later || <code>T.TEST(''array1'', ''array2'', ''tails'', ''type'')</code> || See [https://support.office.com/en-US/article/TTEST-function-d4e08ec3-c545-485f-962e-276f7cbed055] |- |[[Apple Numbers]]||<code>TTEST(sample-1-values, sample-2-values, tails, test-type)</code> ||See [https://www.apple.com/au/mac/numbers/compatibility/functions.html] |- | [[LibreOffice Calc]] || <code>TTEST(''Data1; Data2; Mode; Type'')</code> || See [https://help.libreoffice.org/Calc/Statistical_Functions_Part_Five#TTEST] |- | [[Google Sheets]] || <code>TTEST(range1, range2, tails, type)</code> || See [https://support.google.com/docs/answer/6055837] |- | [[Python (programming language)|Python]] || <code>scipy.stats.ttest_ind(''a'', ''b'', ''equal_var=True'')</code> || See [http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.ttest_ind.html] |- | [[MATLAB]] || <code>ttest(data1, data2)</code> || See [http://www.mathworks.com/help/stats/ttest.html] |- | [[Mathematica]] || <code>TTest[{data1,data2}]</code> || See [https://reference.wolfram.com/language/ref/TTest.html] |- | [[R (programming language)|R]] || <code>t.test(data1, data2, var.equal=TRUE)</code> || See [https://stat.ethz.ch/R-manual/R-devel/library/stats/html/t.test.html] |- | [[SAS (software)|SAS]] || <code>PROC TTEST</code> || See [https://web.archive.org/web/20131029195637/http://www.sas.com/offices/europe/belux/pdf/academic/ttest.pdf] |- | [[Java (programming language)|Java]] || <code>tTest(sample1, sample2)</code> || See [http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math4/stat/inference/TTest.html] |- | [[Julia (programming language)|Julia]] || <code>EqualVarianceTTest(sample1, sample2)</code> || See [https://juliastats.org/HypothesisTests.jl/stable/parametric/#HypothesisTests.EqualVarianceTTest] |- | [[Stata]] || <code>ttest data1 == data2</code> || See [https://www.stata.com/manuals/rttest.pdf] |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)