114 年 國立臺北大學國際企業研究所《統計學》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題

A&Q company sells and services exercise equipment such as treadmills and stair climbers to gyms and recreational centers. The company's management would like to determine if there is a relationship between the number of minutes required to complete a routine service call and the number of machines serviced. A random sample of 13 records revealed the following information concerning the numbers of machines serviced at the time (in minutes to complete the routine service call). The information is in Table 1.1. Please answer the following questions:

a. Calculate the z-score for one machine which is serviced for 14 minutes. Round the value to 2 decimals. Based on the z-score calculated, explain to the manager about this particular service (what does this z-score mean).

Table 1.1

Minutes of service time11362801055580753395494011040
No. of machine serviced10991296841065123
Average service time each machine11.306.898.898.757.8613.339.388.259.508.178.009.1713.33

*Standard deviation for average service time for each machine is 2.02

b. Based on Table 1.1, a table with their relationship is made and shown in Figure 1.1. If a gym has 8 machines to be serviced, how many minutes should A&Q company expect a service call to require?

Figure 1.1
🖼️【此處有附圖,請對照原卷】
(Image shows a scatter plot with "Number of machine serviced" on the x-axis and "Number of time serviced" on the y-axis. The regression line is y = 8.6656x + 4.7515 with R^2 = 0.8042. The data points show a positive linear trend.)

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查兩個統計觀念:

  1. 標準分數(zz-score):衡量某筆資料距離平均數幾個標準差。

    z=x−xˉsz=\frac{x-\bar{x}}{s}

    其中:

    • xx:觀察值
    • xˉ\bar{x}:樣本平均數
    • ss:樣本標準差
  2. 簡單線性迴歸:利用機器數量 xx 預測服務所需時間 yy。

    迴歸方程式為:

    y^=a+bx\hat{y}=a+bx

    其中 y^\hat{y} 是預測的服務時間。


解題方法

(一)計算服務每台機器需 14 分鐘的 zz-score

題目提供「每台機器平均服務時間」資料:

11.30, 6.89, 8.89, 8.75, 7.86, 13.33, 9.38, 8.25, 9.50, 8.17, 8.00, 9.17, 13.3311.30,\ 6.89,\ 8.89,\ 8.75,\ 7.86,\ 13.33,\ 9.38,\ 8.25,\ 9.50,\ 8.17,\ 8.00,\ 9.17,\ 13.33

其平均數為:

xˉ=11.30+6.89+⋯+9.17+13.3313=122.8213≈9.45\bar{x} =\frac{11.30+6.89+\cdots+9.17+13.33}{13} =\frac{122.82}{13} \approx 9.45

題目給定每台機器平均服務時間的標準差為:

s=2.02s=2.02

現在考慮某次服務中,每台機器平均需要 1414 分鐘,因此:

x=14x=14

代入標準分數公式:

z=x−xˉs=14−9.452.02=4.552.02≈2.25z=\frac{x-\bar{x}}{s} =\frac{14-9.45}{2.02} =\frac{4.55}{2.02} \approx 2.25

因此:

z=2.25\boxed{z=2.25}

(二)zz-score 的管理意義

z=2.25z=2.25 表示:

這次每台機器平均服務時間為 14 分鐘,比一般平均服務時間 9.45 分鐘高出約 2.25 個標準差。

由於其 zz-score 大於 22,這筆資料屬於相對偏高、較不尋常的服務紀錄。管理者應進一步了解是否存在下列原因:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題

A random sample of 480 shoppers living in Taipei revealed that 61% made at least one restaurant visit used a discount voucher last month. Please answer the following two questions with the support of the table (Table 2.1) below, and show your calculations.

Table 2.1

Critical valueConfidence level
z = 1.2880%
z = 1.64590%
z = 1.9695%
z = 2.57599%

a. Based on this sample information, what is the 95% confidence interval for the population proportion of people who eat out and use at least one discount voucher last month.

b. The population of Taipei City is 2.495 million (as of Mar 2023), referring to part a, determine a 95% confidence interval for the number of shoppers who had at least one restaurant visit using a discount voucher last month.

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗對比例的信賴區間計算,以及如何將比例信賴區間轉換為數值區間。

核心觀念:

  • 比例的信賴區間:用樣本比例來估計母體比例的範圍。
  • 信賴區間的轉換:將比例信賴區間乘以總體人數,得到該類別人數的信賴區間。

解題過程:

Part a: 95% 信賴區間 (母體比例)

題目給予:
樣本大小 n=480n = 480
樣本比例 p^=61%=0.61\hat{p} = 61\% = 0.61
信賴水準為 95%,對應的 z 值為 zα/2=1.96z_{\alpha/2} = 1.96 (由 Table 2.1 提供)。

比例的信賴區間公式為:
p^±zα/2p^(1−p^)n\hat{p} \pm z_{\alpha/2} \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}

首先計算標準誤 (standard error):
SE=p^(1−p^)n=0.61(1−0.61)480=0.61×0.39480=0.2379480=0.000495625≈0.02226SE = \sqrt{\frac{\hat{p}(1-\hat{p})}{n}} = \sqrt{\frac{0.61(1-0.61)}{480}} = \sqrt{\frac{0.61 \times 0.39}{480}} = \sqrt{\frac{0.2379}{480}} = \sqrt{0.000495625} \approx 0.02226

接著計算邊際誤差 (margin of error):
ME=zα/2×SE=1.96×0.02226≈0.04363ME = z_{\alpha/2} \times SE = 1.96 \times 0.02226 \approx 0.04363

最後計算信賴區間:
信賴區間 = p^±ME\hat{p} \pm ME
信賴區間 = 0.61±0.043630.61 \pm 0.04363

下限:0.61−0.04363=0.566370.61 - 0.04363 = 0.56637
上限:0.61+0.04363=0.653630.61 + 0.04363 = 0.65363

四捨五入到小數點後四位:
信賴區間為 [0.5664,0.6536][0.5664, 0.6536]。

解釋:
我們有 95% 的信心,母體中吃過飯並使用過優惠券的比例介於 56.64% 到 65.36% 之間。

Part b: 95% 信賴區間 (母體人數)

題目給予:
台北市總人口數 N=2.495N = 2.495 million =2,495,000= 2,495,000。
Part a 的 95% 信賴區間為 [0.5664,0.6536][0.5664, 0.6536]。

要計算人數的信賴區間,我們將比例的信賴區間乘以總人口數。

人數信賴區間 = (比例信賴區間) ×\times (總人口數)

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題

Bluebell company just started running a restaurant in a local university in Tainan last month. They have conducted a survey to understand their customers' satisfaction level towards their food and services using a 4-point scale (very happy, happy, not happy, strongly not happy). Three types of customers are categorised: students, staff, and visitors. They data collection lasted for a week, and a total of 254 customers has participated. The details of the survey data are in Table 3.1.

Table 3.1: Restaurant Satisfaction Survey

Types of CustomersVery happyhappyNot happyStrongly not happyTotal
Students31562635148
Staff211742365
Visitors14165641
Total66893564254

*Unit: number of people

Please answer the following questions:

a. The manager is interested in knowing whether a particular type of customers has a particular tendency of service level towards the food and services. Please state the appropriate null and alternative hypotheses.

b. Based on the sample data, calculate all the expected frequency values and the Chi-square values. Perform the test using a significance level of 0.05. Please write all relevant findings of your test procedure in your answer sheet, and provide the results of hypothesis testing.

c. If the satisfaction levels are merged into only two levels -- happy and not happy. Please do your calculation again, and provide the results of hypothesis testing.

d. Explain your conclusion in plain English to the manager (who does not understand statistics), based on the results of part b and part c, so that he/she knows what should or should not be done for the restaurant.

Additional information for session 3: Limits for Chi square distribution

df5%1%
13.846.64
25.999.21
37.8211.34
49.4913.28
511.0715.09
612.5916.81
714.0718.48
815.5120.09
916.9221.67
1018.3123.21
1119.6824.72
1221.0326.22
1322.3627.69
1423.6829.14
152530.58
2031.4137.57
2537.6544.31

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗對獨立性檢定(Chi-square test for independence)的理解與應用,包含計算期望次數、卡方統計量、解釋結果,以及在合併類別後的重新檢定。

核心觀念:

  • 獨立性檢定:檢定兩個類別變數之間是否獨立,即一個變數的分布是否受另一個變數影響。
  • 期望次數:在虛無假設(兩個變數獨立)下,每個儲存格的預期次數。
  • 卡方統計量 (χ2\chi^2):衡量觀察次數與期望次數之間的差異。
  • 合併類別:當某些類別的期望次數過小時,可以將其合併以滿足檢定假設。

解題過程:

Part a: 虛無與對立假設

題目詢問「一個特定類型的顧客(type of customers)是否對食物和服務有特定的偏好(tendency of service level)」。這是一個典型的獨立性檢定問題,我們檢定「顧客類型」與「滿意度等級」這兩個變數是否獨立。

  • 虛無假設 (H0H_0): 顧客類型與滿意度等級之間沒有關聯性(獨立)。也就是說,不同類型的顧客在滿意度等級上的分布是相同的。
  • 對立假設 (H1H_1): 顧客類型與滿意度等級之間有關聯性(不獨立)。也就是說,不同類型的顧客在滿意度等級上的分布是不同的。

Part b: 計算期望次數、卡方值,並進行檢定

這是對 Table 3.1 的數據進行卡方獨立性檢定。

1. 計算邊際總計 (Marginal Totals):
已在 Table 3.1 中提供。
列總計 (Row Totals):Students (148), Staff (65), Visitors (41)
欄總計 (Column Totals):Very happy (66), happy (89), Not happy (35), Strongly not happy (64)
總計 (Grand Total):254

2. 計算期望次數 (Expected Frequencies, EijE_{ij}):
期望次數的公式為:Eij=Row Totali×Column TotaljGrand TotalE_{ij} = \frac{\text{Row Total}_i \times \text{Column Total}_j}{\text{Grand Total}}

  • Students:

    • Very happy: E11=148×66254≈38.46E_{11} = \frac{148 \times 66}{254} \approx 38.46
    • happy: E12=148×89254≈51.77E_{12} = \frac{148 \times 89}{254} \approx 51.77
    • Not happy: E13=148×35254≈20.47E_{13} = \frac{148 \times 35}{254} \approx 20.47
    • Strongly not happy: E14=148×64254≈37.29E_{14} = \frac{148 \times 64}{254} \approx 37.29
      (檢查總計:38.46+51.77+20.47+37.29=147.99≈14838.46 + 51.77 + 20.47 + 37.29 = 147.99 \approx 148)
  • Staff:

    • Very happy: E21=65×66254≈16.89E_{21} = \frac{65 \times 66}{254} \approx 16.89
    • happy: E22=65×89254≈22.74E_{22} = \frac{65 \times 89}{254} \approx 22.74
    • Not happy: E23=65×35254≈8.96E_{23} = \frac{65 \times 35}{254} \approx 8.96
    • Strongly not happy: E24=65×64254≈16.41E_{24} = \frac{65 \times 64}{254} \approx 16.41
      (檢查總計:16.89+22.74+8.96+16.41=65.0016.89 + 22.74 + 8.96 + 16.41 = 65.00)
  • Visitors:

    • Very happy: E31=41×66254≈10.67E_{31} = \frac{41 \times 66}{254} \approx 10.67
    • happy: E32=41×89254≈14.37E_{32} = \frac{41 \times 89}{254} \approx 14.37
    • Not happy: E33=41×35254≈5.65E_{33} = \frac{41 \times 35}{254} \approx 5.65
    • Strongly not happy: E34=41×64254≈10.31E_{34} = \frac{41 \times 64}{254} \approx 10.31
      (檢查總計:10.67+14.37+5.65+10.31=41.0010.67 + 14.37 + 5.65 + 10.31 = 41.00)

3. 計算卡方統計量 (χ2\chi^2):
卡方統計量的公式為:χ2=∑i∑j(Oij−Eij)2Eij\chi^2 = \sum_{i}\sum_{j} \frac{(O_{ij} - E_{ij})^2}{E_{ij}}
其中 OijO_{ij} 是觀察次數,EijE_{ij} 是期望次數。

類別 (i, j)觀察次數 (OijO_{ij})期望次數 (EijE_{ij})(Oij−Eij)(O_{ij} - E_{ij})(Oij−Eij)2(O_{ij} - E_{ij})^2(Oij−Eij)2Eij\frac{(O_{ij} - E_{ij})^2}{E_{ij}}
Students, Very happy (1,1)3138.46-7.4655.651.45
Students, happy (1,2)5651.774.2317.890.35
Students, Not happy (1,3)2620.475.5330.581.49
Students, Strongly not happy (1,4)3537.29-2.295.240.14
Staff, Very happy (2,1)2116.894.1116.891.00
Staff, happy (2,2)1722.74-5.7432.951.45
Staff, Not happy (2,3)48.96-4.9624.602.75
Staff, Strongly not happy (2,4)2316.416.5943.432.65
Visitors, Very happy (3,1)1410.673.3311.091.04
Visitors, happy (3,2)1614.371.632.660.19
Visitors, Not happy (3,3)55.65-0.650.420.07
Visitors, Strongly not happy (3,4)610.31-4.3118.581.80
Total16.58

計算得到的卡方統計量 χ2≈16.58\chi^2 \approx 16.58。

4. 確定自由度 (Degrees of Freedom, df):
對於獨立性檢定,自由度為 df=(Number of Rows−1)×(Number of Columns−1)df = (\text{Number of Rows} - 1) \times (\text{Number of Columns} - 1)
df=(3−1)×(4−1)=2×3=6df = (3 - 1) \times (4 - 1) = 2 \times 3 = 6

5. 決定臨界值 (Critical Value):
在顯著水準 α=0.05\alpha = 0.05 下,自由度為 6 的卡方臨界值。
查閱 Table 3.1 的卡方分佈表:當 df=6df=6 時,α=0.05\alpha=0.05 的臨界值為 12.59。

6. 做出決策:
將計算出的卡方統計量與臨界值比較:
χcalculated2=16.58\chi^2_{calculated} = 16.58
χcritical2=12.59\chi^2_{critical} = 12.59

因為 χcalculated2(16.58)>χcritical2(12.59)\chi^2_{calculated} (16.58) > \chi^2_{critical} (12.59),所以我們拒絕虛無假設 H0H_0。

7. 結論:
在 0.05 的顯著水準下,有足夠的證據顯示顧客類型與滿意度等級之間存在顯著的關聯性。換句話說,不同類型的顧客(學生、員工、訪客)在對餐廳食物和服務的滿意度上,其分布是不同的。

Part c: 合併類別後的檢定

將滿意度等級合併為「happy」和「not happy」兩個層級。
原來的四個等級:Very happy, happy, Not happy, Strongly not happy。
合併後:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題

Let X be the height and Y be the weight. Analyst A uses Y to perform linear regression on X, and the estimated formula Y=A+BXY = A + BX is obtained. B performs linear regression on the pair of X and Y, and obtains the estimated formula X=C+DYX = C + DY.

a. If the unit of height is changed from centimeters to meters and the unit of weight remains unchanged, will B and D in the new regression equation change? How does the relationship with the original estimate change?

b. Same as a., how will the t test statistic change if the test H0:B=0H_0: B=0, coefficient is equal to zero?

c. Please use A, B, C, D to calculate the correlation coefficient ρ\rho between X and Y?

  1. Among 250 students in the International Business Department of a university, 100 use YouTube heavily and 125 use Instagram heavily. However, 75 people do not use both software heavily. I would like to ask:

a. What is the probability of heavy use of both social media software?

b. Are the events involving heavy use of these two media independent? Please explain.

  1. Assume that the heights of Army recruits and Navy recruits obey binary normal distribution. Among them, the expected height of Army recruits is a normal distribution of 170 centimeters and a standard deviation of 10. The height of a Navy recruit follows the normal distribution of an expected value of 170 cm and a variation of 10. The correlation coefficient between the two is 0.6.

a. Today we are considering a group of Army recruits with a height of 175 cm. What is the average height of Navy recruits?

b. What is the proportion of people whose height is over 175 cm?

  1. A total of 144 drowning deaths occurred in a certain area in a year. The distribution of these drowning deaths in each month is as shown in the Table 4.1 below.

a. Please use the significance level of 0.05 to check whether the drowning deaths in the area are concentrated in a certain month? (i.e. whether the incidence of drowning is higher in certain months)

b. Please also calculate the average expected value of drowning deaths in each month?

c. Also calculate the test statistics?

Table 4.1 Distributions of 144 Drowning Deaths

MonthJanuaryFebruaryMarchAprilMayJune
Observations13271420
MonthJulyAugustSeptemberOctoberNovemberDecember
Observations373316623

登入後即可作答並保存紀錄。

這一題的完整詳解

此部分包含多個獨立問題,涵蓋線性迴歸、機率、聯合機率、獨立性、常態分佈、相關係數以及適合度檢定(Chi-square goodness-of-fit test)。

問題 1:線性迴歸與單位轉換

令 XX 為身高,YY 為體重。
迴歸 A:Y=A+BXY = A + BX
迴歸 B:X=C+DYX = C + DY

其中,BB 是 YY 對 XX 的迴歸斜率,DD 是 XX 對 YY 的迴歸斜率。
相關係數 ρ\rho 與 BB 和 DD 的關係為:ρ=sign(B)B×D\rho = \text{sign}(B) \sqrt{B \times D}。

a. 單位轉換對 B 和 D 的影響

假設身高單位從公分 (cm) 轉換為公尺 (m)。
令 XcmX_{cm} 為以公分為單位的高度, XmX_m 為以公尺為單位的高度。
則 Xm=Xcm/100X_m = X_{cm} / 100。

迴歸 A:Y=A+BXcmY = A + BX_{cm}
若將 XcmX_{cm} 換成 XmX_m,則 Xcm=100XmX_{cm} = 100 X_m。
代入迴歸 A:Y=A+B(100Xm)=A+(100B)XmY = A + B(100 X_m) = A + (100B) X_m。
新的迴歸方程式形式為 Y=A′+B′XmY = A' + B' X_m。
所以,新的斜率 B′=100BB' = 100B。
BB 的值會乘以 100。

迴歸 B:Xcm=C+DYX_{cm} = C + DY
若將 XcmX_{cm} 換成 XmX_m,則 Xcm=100XmX_{cm} = 100 X_m。
代入迴歸 B:100Xm=C+DY100 X_m = C + DY。
Xm=C100+D100YX_m = \frac{C}{100} + \frac{D}{100} Y。
新的迴歸方程式形式為 Xm=C′+D′YX_m = C' + D' Y。
所以,新的斜率 D′=D/100D' = D/100。
DD 的值會除以 100。

結論:

  • BB 的值會變為原來的 100 倍(乘以 100)。
  • DD 的值會變為原來的 1/100(除以 100)。
  • 這兩個斜率的變動方向與關係:原本 YY 相對於 XX 的斜率 BB 變大了,而 XX 相對於 YY 的斜率 DD 變小了。

b. 單位轉換對 t 檢定統計量的影響

t 檢定統計量用於檢定 H0:B=0H_0: B=0。
t 統計量的公式為:t=B−0SE(B)t = \frac{B - 0}{SE(B)},其中 SE(B)SE(B) 是 BB 的標準誤。
SE(B)=sesxn−1SE(B) = \frac{s_e}{s_x \sqrt{n-1}},其中 ses_e 是殘差標準差,sxs_x 是 XX 的標準差。

當 XX 的單位從公分改為公尺時,Xm=Xcm/100X_{m} = X_{cm} / 100。
sxm=sxcm/100s_{x_m} = s_{x_{cm}} / 100。
而 B′=100BB' = 100B。
新的標準誤 SE(B′)=se′sxmn−1SE(B') = \frac{s_e'}{s_{x_m} \sqrt{n-1}}。
如果 YY 的單位不變,殘差標準差 ses_e 也不變。
SE(B′)=se(sxcm/100)n−1=100×sesxcmn−1=100×SE(B)SE(B') = \frac{s_e}{(s_{x_{cm}}/100) \sqrt{n-1}} = 100 \times \frac{s_e}{s_{x_{cm}} \sqrt{n-1}} = 100 \times SE(B)。
所以,新的標準誤 SE(B′)SE(B') 是原標準誤 SE(B)SE(B) 的 100 倍。

新的 t 統計量:
t′=B′−0SE(B′)=100B100×SE(B)=BSE(B)=tt' = \frac{B' - 0}{SE(B')} = \frac{100B}{100 \times SE(B)} = \frac{B}{SE(B)} = t。

結論:
t 檢定統計量(檢定 B=0B=0)不會改變。
這是因為當自變數單位改變時,斜率會按比例縮放,而其標準誤也會按相同的比例縮放,兩者相除後,t 統計量保持不變。

c. 計算相關係數 ρ\rho

我們知道 ρ=sign(B)B×D\rho = \text{sign}(B) \sqrt{B \times D}。
從 a. 的結果,我們有新的斜率 B′=100BB' = 100B 和 D′=D/100D' = D/100。
計算新的相關係數 ρ′\rho':
ρ′=sign(B′)B′×D′=sign(100B)(100B)×(D/100)\rho' = \text{sign}(B') \sqrt{B' \times D'} = \text{sign}(100B) \sqrt{(100B) \times (D/100)}
ρ′=sign(B)B×D\rho' = \text{sign}(B) \sqrt{B \times D}
ρ′=ρ\rho' = \rho。

結論:
相關係數 ρ\rho 不會改變。
相關係數衡量的是兩個變數之間的線性關係強度和方向,它是一個無單位的值,不受變數單位變化的影響。

問題 2:機率與獨立性

總學生數 N=250N = 250。
使用 YouTube 的人數 N(Y)=100N(Y) = 100。
使用 Instagram 的人數 N(I)=125N(I) = 125。
兩者都不使用的ప్రత్యेक N(neither)=75N(\text{neither}) = 75。

a. 同時使用兩種軟體的機率

使用至少一種軟體的總人數:N(Y or I)=N−N(neither)=250−75=175N(\text{Y or I}) = N - N(\text{neither}) = 250 - 75 = 175。
根據包含排斥原理:N(Y∪I)=N(Y)+N(I)−N(Y∩I)N(Y \cup I) = N(Y) + N(I) - N(Y \cap I)。
175=100+125−N(Y∩I)175 = 100 + 125 - N(Y \cap I)
175=225−N(Y∩I)175 = 225 - N(Y \cap I)
N(Y∩I)=225−175=50N(Y \cap I) = 225 - 175 = 50。
所以,同時使用兩種軟體的人數是 50。

同時使用兩種軟體的機率:
P(Y∩I)=N(Y∩I)N=50250=15=0.2P(Y \cap I) = \frac{N(Y \cap I)}{N} = \frac{50}{250} = \frac{1}{5} = 0.2。

b. 兩個事件是否獨立

兩個事件 A 和 B 獨立的條件是 P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)。
在這裡,A 是「使用 YouTube」,B 是「使用 Instagram」。
P(Y)=N(Y)N=100250=0.4P(Y) = \frac{N(Y)}{N} = \frac{100}{250} = 0.4
P(I)=N(I)N=125250=0.5P(I) = \frac{N(I)}{N} = \frac{125}{250} = 0.5
P(Y∩I)=0.2P(Y \cap I) = 0.2 (已計算)

檢查獨立性條件:
P(Y)P(I)=0.4×0.5=0.2P(Y)P(I) = 0.4 \times 0.5 = 0.2。
由於 P(Y∩I)=P(Y)P(I)P(Y \cap I) = P(Y)P(I) (即 0.2=0.20.2 = 0.2),所以這兩個事件是獨立的。

結論:
是的,重度使用 YouTube 和重度使用 Instagram 這兩個事件是獨立的。這意味著一個人是否重度使用 YouTube 不會影響他/她是否重度使用 Instagram 的機率。

問題 3:常態分佈與相關係數

陸軍預備役身高:X∼N(μX=170,σX=10)X \sim N(\mu_X = 170, \sigma_X = 10)
海軍預備役身高:Y∼N(μY=170,σY=10)Y \sim N(\mu_Y = 170, \sigma_Y = 10)
相關係數 ρXY=0.6\rho_{XY} = 0.6。

a. 已知陸軍身高 175 cm,求海軍平均身高

題目中提到「陸軍預備役身高...期望值為 170 公分」,「海軍預備役身高...期望值為 170 公分」。
這表示 μX=170\mu_X = 170 和 μY=170\mu_Y = 170。
相關係數 ρXY=0.6\rho_{XY}=0.6 描述的是兩者之間的線性關係。
然而,題目問的是「今天我們考慮一群身高為 175 cm 的陸軍預備役人員,他們的海軍預備役人員的平均身高是多少?」
這句話有點奇怪。如果我們只是考慮「一群陸軍預備役人員」,而問的是「海軍預備役人員的平均身高」,那麼這個平均身高應該是母體的平均身高 μY\mu_Y,與陸軍的身高無關。
但是,如果題目是想問:對於一個身高為 175 cm 的陸軍預備役人員,根據相關性,我們預期他的海軍預備役對應身高是多少? 這就需要用到迴歸的概念。

假設題目是問:對於一個身高為 175 cm 的陸軍預備役人員,預期其身高為 175 cm 的情況下,海軍預備役人員的平均身高是多少?
這句話的表述仍然模糊。
如果題目是問:Given X=175X=175, what is E[Y∣X=175]E[Y|X=175]?
根據迴歸理論,多元迴歸的條件期望是:
E[Y∣X=x]=μY+ρXYσYσX(x−μX)E[Y|X=x] = \mu_Y + \rho_{XY} \frac{\sigma_Y}{\sigma_X} (x - \mu_X)
代入數值:
E[Y∣X=175]=170+0.6×1010(175−170)E[Y|X=175] = 170 + 0.6 \times \frac{10}{10} (175 - 170)
E[Y∣X=175]=170+0.6×1×5E[Y|X=175] = 170 + 0.6 \times 1 \times 5
E[Y∣X=175]=170+3=173E[Y|X=175] = 170 + 3 = 173 cm。

如果題目是字面意思:「我們考慮一群陸軍預備役人員,他們的平均身高是 175 cm。」(這與題目給的 μX=170\mu_X=170 相矛盾,除非這是指一個新的樣本平均值)。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題

114 年臺北大學的其他科目

臺北大學《統計學》其他年度

其他學校的法商其他考古題