Skip to content

Commit 4429e8d

Browse files
committed
s4: statistics: ch10: student-practices: q10
1 parent a9df622 commit 4429e8d

File tree

1 file changed

+75
-1
lines changed

1 file changed

+75
-1
lines changed

semester-4/statistics/ch10/student-practices.typ

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,4 +418,78 @@ $
418418

419419
= Question 10
420420

421-
已知兩母體 $X_1, X_2$
421+
已知兩獨立常態分配母體 $X_1, X_2$,其中
422+
423+
- $overline(X)_1$: $n_1=10, overline(x)=56, s=5$
424+
- $overline(X)_2$: $n_2=15, overline(y)=49, s=3$
425+
426+
假如 $sigma_1 != sigma_2$,請問 $mu_1-mu_2$ 的 95% 信賴區間,和 $alpha=0.05$ 下是否符合宣稱 $mu_1-mu_2 > 0$
427+
428+
== 抽樣分配
429+
430+
因為屬於常態分配母體,$sigma_1 != sigma_2$,小樣本,故
431+
432+
$
433+
(overline(x)-overline(y))/sqrt(s_1^2/n_1+s_2^2/n_2) tilde t(r)
434+
$
435+
436+
其中
437+
438+
$
439+
r &= floor((s_1^2/n_1+s_2^2/n_2)^2)/((s_1^2/n_1)^2/(n_1-1)+(s_2^2/n_2)^2/(n_2-1)) \
440+
&= 13
441+
$
442+
443+
== 信賴區間
444+
445+
95% 的信賴區間,其 $alpha$$0.05$$alpha/2$$0.025$
446+
447+
$
448+
t_(0.025)(13) = 2.160
449+
$
450+
451+
452+
因此,其信賴上下界為:
453+
454+
$
455+
c &= (overline(x) - overline(y)) plus.minus t_(0.025)(13) times sqrt(s_1^2/n_1+s_2^2/n_2) \
456+
&= 3.20 or 10.80
457+
$
458+
459+
$mu_1-mu_2$ 的 95% 信賴區間為 $(3.20, 10.80)$
460+
461+
== 檢定
462+
463+
=== 虛無假說
464+
465+
$
466+
cases(
467+
H_0: mu_1-mu_2 <= 0,
468+
H_1: mu_1-mu_2 > 0 "(檢定)",
469+
)
470+
$
471+
472+
右尾檢定。
473+
474+
=== 抽樣分配和拒絕域
475+
476+
拒絕域為
477+
478+
$
479+
R R &= { t | t > t_(0.05)(13)} \
480+
&= { t | t > 1.771}
481+
$
482+
483+
=== 計算檢定統計量
484+
485+
$
486+
t &= (overline(x)-overline(y))/sqrt(s_1^2/n_1+s_2^2/n_2) \
487+
&= 3.976
488+
$
489+
490+
因為 $t = 3.976 > 1.771$, $t in R R$,故拒絕 $H_0$
491+
492+
=== 結論
493+
494+
$alpha=0.05$ 下,同意 $mu_1-mu_2 > 0$
495+

0 commit comments

Comments
 (0)