Skip to content
Draft
Show file tree
Hide file tree
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
25 changes: 25 additions & 0 deletions docs/theory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## 大数定律

当样本量 $n \Rightarrow \infty$ 时,样本比例 $\hat{p}$ 依概率收敛于总体比例 $p$,即

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Nitpick: The notation for a limit (n approaching infinity) should use a single arrow \to rather than the logical implication symbol \Rightarrow.\n\nsuggestion\n当样本量 $n \to \infty$ 时,样本比例 $\hat{p}$ 依概率收敛于总体比例 $p$,即\n


$$
\hat{p} \xrightarrow{P} p
$$

## 连续映射定理

若 $g$ 是连续函数,且 $X_n \xrightarrow{P} X$,则 $g(X_n) \xrightarrow{P} g(X)$

## 正态分布的性质

1. 若 $X \sim N(\mu, \sigma^2)$,则 $P(X \le x) = \Phi(\frac{x-\mu}{\sigma})$
2. 若 $X \sim N(\mu, \sigma^2)$,则 $P(X \ge x) = 1 - \Phi(\frac{x-\mu}{\sigma})$
3. $\Phi(x) = 1 - \Phi(-x)$

## Slutsky 定理

令 $X_n \xrightarrow{d} X$ 且 $Y_n \xrightarrow{P} c$,其中 $c$ 为常数,则:

1. $X_n + Y_n \xrightarrow{d} X + c$
2. $X_nY_n \xrightarrow{d} cX$
3. $Y_n^{-1}X_n \xrightarrow{d} c^{-1}X$,其中 $c \neq 0$
3 changes: 2 additions & 1 deletion zensical.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ nav = [
{ "两独立样本率优效性设计" = "models/proportion/independent/superiority.md" },
{ "相关系数" = "models/correlation/inequality.md" }
] },
{ "API Reference" = "api.md" }
{ "API Reference" = "api.md" },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

The documentation configuration now references 'api.md', but this file was not added in this pull request. If it does not exist in the repository, the documentation build or navigation will fail.

{ "Theory Reference" = "theory.md" }
]
site_name = "pystatpower"
site_url = "https://pystatpower.readthedocs.io"
Expand Down