File tree Expand file tree Collapse file tree 1 file changed +75
-1
lines changed
semester-4/statistics/ch10 Expand file tree Collapse file tree 1 file changed +75
-1
lines changed Original file line number Diff line number Diff line change 418
418
419
419
= Question 10
420
420
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
+
You can’t perform that action at this time.
0 commit comments