Skip to content

Adds more translations of NormalDist object of library/statistics.po #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 37 additions & 4 deletions library/statistics.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-03 00:17+0000\n"
"PO-Revision-Date: 2023-07-12 23:16+0800\n"
"PO-Revision-Date: 2023-07-14 00:44+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -1000,7 +1000,7 @@ msgstr "定義了一個單一的例外:"

#: ../../library/statistics.rst:730
msgid "Subclass of :exc:`ValueError` for statistics-related exceptions."
msgstr ":exc:`ValueError` 的子類別,用於和統計相關的異常。"
msgstr ":exc:`ValueError` 的子類別,用於和統計相關的例外。"

#: ../../library/statistics.rst:734
msgid ":class:`NormalDist` objects"
Expand Down Expand Up @@ -1105,13 +1105,17 @@ msgid ""
"Generates *n* random samples for a given mean and standard deviation. "
"Returns a :class:`list` of :class:`float` values."
msgstr ""
"給定平均值與標準差,產生 *n* 個隨機樣本。回傳一個由 :class:`float` 組成的 :"
"class:`list`。"

#: ../../library/statistics.rst:801
msgid ""
"If *seed* is given, creates a new instance of the underlying random number "
"generator. This is useful for creating reproducible results, even in a "
"multi-threading context."
msgstr ""
"若有給定 *seed*,則會建立一個以此為基礎的亂數產生器實例。這對於建立可重現的結"
"果很有幫助,即使在多執行緒情境下也是如此。"

#: ../../library/statistics.rst:807
msgid ""
Expand All @@ -1120,6 +1124,10 @@ msgid ""
"random variable *X* will be near the given value *x*. Mathematically, it is "
"the limit of the ratio ``P(x <= X < x+dx) / dx`` as *dx* approaches zero."
msgstr ""
"利用\\ `機率密度函式 (probability density function, pdf) <https://en."
"wikipedia.org/wiki/Probability_density_function>`_ 計算隨機變數 *X* 接近給定"
"值 *x* 的相對概度 (relative likelihood)。數學上,它是比率 ``P(x <= X < "
"x+dx) / dx`` 在 *dx* 趨近於零時的極限值。"

#: ../../library/statistics.rst:813
msgid ""
Expand All @@ -1128,6 +1136,8 @@ msgid ""
"\"density\"). Since the likelihood is relative to other points, its value "
"can be greater than ``1.0``."
msgstr ""
"相對概度是樣本出現在狹窄範圍的機率,除以該範圍的寬度(故稱為「密度」)計算而"
"得。由於概度是相對於其它點,故其值可大於 ``1.0``。"

#: ../../library/statistics.rst:820
msgid ""
Expand All @@ -1136,6 +1146,9 @@ msgid ""
"random variable *X* will be less than or equal to *x*. Mathematically, it "
"is written ``P(X <= x)``."
msgstr ""
"利用\\ `累積分布函式 (cumulative distribution function, cdf) <https://en."
"wikipedia.org/wiki/Cumulative_distribution_function>`_ 計算隨機變數 *X* 小於"
"或等於 *x* 的機率。數學上,它記為 ``P(X <= x)``。"

#: ../../library/statistics.rst:827
msgid ""
Expand All @@ -1145,33 +1158,46 @@ msgid ""
"statisticshowto.datasciencecentral.com/inverse-distribution-function/>`_ "
"function. Mathematically, it is written ``x : P(X <= x) = p``."
msgstr ""
"計算反累計分布函式 (inverse cumulative distribution function),也稱為\\ `分位"
"數函式 (quantile function) <https://en.wikipedia.org/wiki/"
"Quantile_function>`_ 或者\\ `百分率點 (percent-point) <https://web.archive."
"org/web/20190203145224/https://www.statisticshowto.datasciencecentral.com/"
"inverse-distribution-function/>`_ 函式。數學上記為 ``x : P(X <= x) = p``。"

#: ../../library/statistics.rst:833
msgid ""
"Finds the value *x* of the random variable *X* such that the probability of "
"the variable being less than or equal to that value equals the given "
"probability *p*."
msgstr ""
"找出一個值 *x*,使得隨機變數 *X* 小於或等於該值的機率等於給定的機率 *p*。"

#: ../../library/statistics.rst:839
msgid ""
"Measures the agreement between two normal probability distributions. Returns "
"a value between 0.0 and 1.0 giving `the overlapping area for the two "
"probability density functions <https://www.rasch.org/rmt/rmt101r.htm>`_."
msgstr ""
"衡量兩常態分布之間的一致性。回傳一個介於 0.0 與 1.0 之間的值,表示\\ `兩機率"
"密度函式的重疊區域 <https://www.rasch.org/rmt/rmt101r.htm>`_。"

#: ../../library/statistics.rst:846
msgid ""
"Divide the normal distribution into *n* continuous intervals with equal "
"probability. Returns a list of (n - 1) cut points separating the intervals."
msgstr ""
"將常態分布分割成 *n* 個具有相等機率的連續區間。回傳一個 list,包含 (n-1) 個切"
"割區間的分隔點。"

#: ../../library/statistics.rst:850
msgid ""
"Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set "
"*n* to 100 for percentiles which gives the 99 cuts points that separate the "
"normal distribution into 100 equal sized groups."
msgstr ""
"將 *n* 設定為 4 表示四分位數(預設值)。將 *n* 設定為 10 表示十分位數。將 "
"*n* 設定為 100 表示百分位數,這會產生 99 個分隔點,將常態分布切割成大小相等的"
"群組。"

#: ../../library/statistics.rst:856
msgid ""
Expand All @@ -1180,13 +1206,18 @@ msgid ""
"deviations above or below the mean of the normal distribution: ``(x - "
"mean) / stdev``."
msgstr ""
"計算\\ `標準分數 (Standard Score) <https://www.statisticshowto.com/"
"probability-and-statistics/z-score/>`_,用以描述在常態分布中,*x* 高出或低於"
"平均數幾個標準差:``(x - mean) / stdev``。"

#: ../../library/statistics.rst:864
msgid ""
"Instances of :class:`NormalDist` support addition, subtraction, "
"multiplication and division by a constant. These operations are used for "
"translation and scaling. For example:"
msgstr ""
":class:`NormalDist` 的實例支援對常數的加法、減法、乘法與除法。這些操作用於平"
"移與縮放。例如:"

#: ../../library/statistics.rst:874
msgid ""
Expand All @@ -1205,11 +1236,11 @@ msgstr ""

#: ../../library/statistics.rst:897
msgid ":class:`NormalDist` Examples and Recipes"
msgstr ""
msgstr ":class:`NormalDist` 範例與錦囊妙計"

#: ../../library/statistics.rst:899
msgid ":class:`NormalDist` readily solves classic probability problems."
msgstr ""
msgstr ":class:`NormalDist` 可以輕易地解決經典的機率問題。"

#: ../../library/statistics.rst:901
msgid ""
Expand All @@ -1225,6 +1256,8 @@ msgid ""
"Find the `quartiles <https://en.wikipedia.org/wiki/Quartile>`_ and `deciles "
"<https://en.wikipedia.org/wiki/Decile>`_ for the SAT scores:"
msgstr ""
"找出 SAT 分數的\\ `四分位數 <https://en.wikipedia.org/wiki/Quartile>`_\\ 以及"
"\\ `十分位數 <https://en.wikipedia.org/wiki/Decile>`_:"

#: ../../library/statistics.rst:924
msgid ""
Expand Down