Bug 151309 - Change "T test" to "t-test" in extended tips
Summary: Change "T test" to "t-test" in extended tips
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium trivial
Assignee: Rafael Lima
URL:
Whiteboard: target:7.6.0
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 12:17 UTC by Tuomas Hietala
Modified: 2023-03-27 18:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tuomas Hietala 2022-10-03 12:17:55 UTC
Description:
There are a few extended tips that use "T test" to refer to what's commonly called "t-test" (with lowercase t and hyphen) in statistics. See https://en.wikipedia.org/wiki/Student%27s_t-test


Steps to Reproduce:
1. See https://translations.documentfoundation.org/languages/en/libo_ui-master/search/?offset=1&q=%22T+test%22&sort_by=-priority%2Cposition&checksum=

Actual Results:
"T test" is used in the strings.

Expected Results:
"t-test" is used in the strings.


Reproducible: Always


User Profile Reset: No



Additional Info:
n/a
Comment 1 Rafael Lima 2022-10-03 13:07:34 UTC
This seems to be a very controversial topic. Although Wikipedia uses t-test and p-value, there are those who argue that the correct is "t test" and "p value". See for instance the recommendations from APA:

https://blog.apastyle.org/apastyle/2011/08/the-grammar-of-mathematics-writing-about-variables.html

I myself have seen this written both with and without hyphens and I really don't know which is the correct one. If anyone can give a definitive answer about this issue, please step forward.

It should be noted that in the help we have "t-test" written with a hyphen 16 times.

https://opengrok.libreoffice.org/xref/help/source/text/scalc/01/statistics_test_t.xhp

Whereas in the UI there are 4 strings that do not use hyphen.

https://opengrok.libreoffice.org/xref/core/sc/inc/scfuncs.hrc

So we need to decide which one is correct and maintain consistency.
Comment 2 Tuomas Hietala 2022-10-03 13:53:01 UTC
I didn't know about the controversy. I wonder if this is related to unhyphenated spellings of compound words often being preferred in American English?

Using a lowercase t consistently would be an improvement in any case.
Comment 3 Stéphane Guillou (stragu) 2023-03-23 13:03:34 UTC
APA seems to prefer "t test" when on its own, but "t-test" when used as a compound adjective preceding the term it qualifies: https://apastyle.apa.org/learn/faqs/when-use-hyphen

On the other hand, Wikipedia seems to consistently use "t-test", "t-distribution" and "t-value" with few exceptions.

If we go by popularity, the hyphenated version is a clear winner in the English-speaking world: https://books.google.com/ngrams/graph?content=t+test%2Ct-test%2CT+test%2C+T-test&year_start=1900&year_end=2019&corpus=en-2019&smoothing=3
(same goes on NGrams for Spanish, French, German)

In any case, I think it should _not_ be capitalised like it currently is in the UI.

I would suggest using "t-test" in the UI to match the documentation and what's currently more popular.
Comment 4 Rafael Lima 2023-03-27 00:10:31 UTC
Proposed fix here:

https://gerrit.libreoffice.org/c/core/+/149598

I guess these are all the occurrences of "T test" in the UI.
Comment 5 Adolfo Jayme Barrientos 2023-03-27 04:24:35 UTC
The hyphen is not only useful in compound adjectives, but also in compound nouns when one of the components is a single letter.
Comment 6 Commit Notification 2023-03-27 04:26:12 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/998882138adf693b04a2061714fcc33646619912

tdf#151309 Fix the use of t-test in the UI

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2023-03-27 18:21:50 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/ab10c28fab4226c0270c9870561094af4dbca01d

Related tdf#151309 Use t-test instead of T Test