115 年 國立中山大學經濟學系碩士班《統計學》
第 1 題10 分
(10%) For a non-negative random variable, prove that
登入後即可作答並保存紀錄。
核心觀念
本題考查非負隨機變數的「尾積分公式」(tail integral formula),核心工具為:
- 累積分配函數
- 指示函數表示法
- Tonelli 定理:對非負函數可交換積分與期望的順序。
此公式允許 為 ,因此不必先假設期望有限。
解題方法與第一個等式
因為 為非負隨機變數,對每個實現值 ,有
原因是當 時,指示函數等於 ;當 時,指示函數等於 ,故積分區間長度正好為 。
因此
由於被積函數非負,根據 Tonelli 定理可交換期望與積分:
又因為指示函數的期望等於該事件的機率,
所以得到
第二個等式
按照累積分配函數的標準定義,
因此
嚴格而言,
第 2 題15 分
(15%) Consider Y = max {0, X-5}, where X is uniformly distributed on [-5, 15], compute the
moment generating function for the random variable Y.
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 動差生成函數的定義:
- 隨機變數轉換後的分布判斷。
- 混合型分布: 在 點具有一個離散機率,同時在 上具有連續密度。
已知
且
解題方法
先依照 的範圍討論 :
情況一:
此時
因此
其機率為
所以, 在 點有 的離散機率。
情況二:
此時
因為 ,所以
由於轉換為平移, 在 上的密度仍為
因此, 的動差生成函數必須同時包含:
- 的離散部分;
- 的連續部分。
依照定義,
當 時,
第 3 題10 分
(10%) Consider a random sample {(Xᵢ, Yᵢ): i = 1,2,..., n}, where Xᵢ, Yᵢ are two positive random
variables satisfying E(Yᵢ | Xᵢ) = θXᵢ for all i. Answer the following questions.
(a) (4%) State the minimal assumption(s) such that the estimator
is unbiased for θ.
(b) (6%) Now consider the estimator
where and .
State the minimal assumption(s) such that Z is unbiased for θ?
登入後即可作答並保存紀錄。
核心觀念
本題考查:
-
條件期望的迭代法則
-
條件期望下的可測函數提取
若 僅為 的函數,則
- 估計量不偏性的定義
估計量 對參數 不偏,意指
題目已給定 ,且
解題方法
關鍵切入點是把 除以 ,並利用 已知時可視為常數:
因此,每一個比值 的期望均為 。至於 ,則先對全部的 取條件期望,再檢查剩餘的期望是否等於 。
(a) 估計量 的不偏性
估計量為
由於 ,所以比值 有定義。對每一項而言,
因此,
最小假設
要使 不偏,最小條件為:
- 幾乎處處成立,使 有定義;
- 對每個 ,皆滿足
- 具有有限期望,以確保不偏性的期望存在。
題目已給定 為正隨機變數,因此 已保證分母不為零。並且在題目的條件期望存在且有限時, 不需要額外的獨立性或同分布假設;即使各觀測值之間存在相關性,線性期望仍然成立。
(b) 估計量 的不偏性
估計量為
其中
在隨機樣本假設下,各組 彼此獨立,因此
由於第 組資料與其他組獨立,
所以
第 4 題20 分
(20%) An insurance company, Forimoto, currently offers an automobile insurance policy. Assume the
following:
I. The number of accidents N that each policyholder experiences in a year follows a Poisson
distribution with mean 0.5.
II. The loss amount from each accident, X₁, is independent and follows an exponential distribution
with a mean of 20,000.
III. The number of accidents N is independent of the loss amounts X₁, and all accidents and loss
amounts are mutually independent.
(a) (8%) Let S = Σᵢ<0xE2><0x82><0x90>₁ᴺ Xᵢ denote the total claim amount for a single policyholder during one year.
Compute the expected value E(S) of the total annual claim amount.
(b) (12%) Suppose the insurer imposes a deductible of 5,000 per accident, meaning it only
compensates the portion of each loss that exceeds 5,000. Given a per-accident deductible of 5,000,
what is the expected total annual payment by the insurer?
登入後即可作答並保存紀錄。
此題涉及複合泊松過程 (Compound Poisson Process) 的概念,其中保險賠付總額由事故發生次數和每次事故的損失金額共同決定。
核心概念:
- 泊松分布 (Poisson Distribution): 事故發生次數 服從泊松分布。
- 指數分布 (Exponential Distribution): 每次事故的損失金額 服從指數分布。
- 條件期望與全期望法則 (Conditional Expectation and Law of Total Expectation)。
- 複合泊松過程的期望值。
- 截尾 (Deductible) 概念。
已知:
- , 其中 。
- , 其中 。指數分布的參數通常是率,所以 PDF 是 。這裡的 是均值,所以我們應該用 作為率。
設 , 則 。題目給的是均值是 20000,所以 。
的 PDF 是 for 。 - 與 相互獨立。
(a) 計算總賠付金額 的期望值 。
這是一個複合泊松過程的總和。
根據全期望法則:
在給定事故次數 的條件下,總賠付金額是 個獨立同分布的 的和:
因此,
由於 獨立同分布且 ,
現在,我們將這個結果代回全期望法則:
由於 20000 是常數,
服從均值為 0.5 的泊松分布,所以 。
所以,總賠付金額的期望值是 10000。
【答案】(a) 。
(b) 計算考慮了 5000 的免賠額 (deductible) 後,保險公司預期的總年度賠款。
設 是保險公司對第 次事故的賠付金額。
免賠額為 5000。這意味著:
- 如果損失 ,保險公司賠付 0。
- 如果損失 ,保險公司賠付 。
所以,。
我們需要計算總賠付金額 的期望值 。
同樣使用全期望法則:
在給定事故次數 的條件下,
我們需要計算 。
服從均值為 20000 的指數分布,其 PDF 為 for 。
由於 在 時為 0,我們只需要從 5000 開始積分:
第 5 題15 分
(15%) A well-known luxury brand recently claimed that its confidential brand-preference survey
found that as many as 70% of consumers liked its products. The survey quickly became a topic of
public discussion. A magazine specializing in brand rankings thus invited a data scientist to reassess
the company's claim and conducted a new random sample of 1,000 consumers from the target
population. The new results show that 675 respondents reported that they "liked" the brand.
Please compute the probability of observing 675 or fewer "likes" in a random sample of 1,000
consumers if the true population preference rate is 70%. (You may use Table 1 in the Appendix to
approximate this probability.)
登入後即可作答並保存紀錄。
此題考驗對二項分布的理解,以及在樣本量足夠大時,如何使用常態分布來近似二項分布進行機率計算。
核心概念:
- 二項分布 (Binomial Distribution): 進行 次獨立的伯努利試驗,成功的次數服從二項分布。
- 常態近似二項分布 (Normal Approximation to Binomial Distribution): 當樣本量 足夠大,且 和 時,二項分布可以用常態分布近似。
- 連續性修正 (Continuity Correction): 在使用常態分布近似離散的二項分布時,需要進行連續性修正。
問題設定:
- 樣本量 。
- 假設的真實人口偏好率(成功率)。
- 我們想計算觀察到 675 或更少「喜歡」的機率,即 ,其中 是成功次數。
由於 是一個很大的樣本量,我們可以近似地將二項分布視為常態分布。
首先,我們需要檢查近似的條件:
由於 且 ,常態近似是適用的。
二項分布 的均值和標準差分別為:
我們將使用常態分布 來近似二項分布,其中 和 。
第 6 題15 分
(15%) Let . Suppose . Construct an exact test of level-5%
one-sided for
Compute the p-value, and state the rejection region and the conclusion.
登入後即可作答並保存紀錄。
核心觀念
令
因為 ,故
本題為左尾檢定:
當 越小時,越支持 ,因此拒絕域應設在 的小值區域。
解題方法:建立 5% 精確檢定
對任意固定的 ,
會隨著 增加而減少。因此在虛無假設 下,左尾拒絕機率的最大值發生於邊界 。
先計算:
若將 也納入拒絕域,則
因此,非隨機化的 5% 精確檢定,其拒絕域為
此檢定的實際顯著水準為
確實不超過 。
若要求檢定的大小恰好等於 ,可採隨機化檢定: 時必定拒絕, 時以機率 拒絕。令
第 7 題15 分
(15%) City Z introduced a policy that charges $1 per plastic bag starting on Jan. 1, 2022. You collect
store-level weekly data from 2020 and 2024 for the city Z and a neighboring city K.
As a data analyst for city Z to evaluate the effectiveness of this policy, you consider the following
regression model:
where is the number of plastic bags used per 100 transactions in store during week ; is an
indicator equal to one for the post-policy period; is an indicator equal to one for stores located
in City Z; is a vector of time-varying store characteristics.
(a) (5%) Explain the interpretation of the coefficient in terms of conditional expectations of .
(b) (5%) Provide an economic interpretation of the estimated coefficient . Suppose and the
p-value is 0.002.
(c) (5%) Give one scenario in which fails to consistently estimate the policy's Average Treatment
Effect on the Treated (ATT).
登入後即可作答並保存紀錄。
核心觀念
本題為因果推論(Causal Inference)中**雙重差分法(Difference-in-Differences, DID)**之經典計量經濟與統計應用,涵蓋以下核心觀念:
- DID 計量模型設定與條件期望值:利用「處理組 vs. 對照組」與「實施前 vs. 實施後」雙重差分,消除不隨時間變化的個體異質性與所有組別共同的時間趨勢。
- 對數被解釋變數的半彈性(Semi-elasticity)經濟意涵:在 迴歸模型中,交互項係數代表處理效應的百分比變化(Percentage Change)。
- 處理組平均處理效果(ATT)的一致性條件與失效情境:DID 能一致估計 ATT 的關鍵基石為平行趨勢假設(Parallel Trends Assumption)與個體處理穩定值假設(SUTVA / 無溢出效應)。
解題方法與完整推導
(a) 以條件期望值解釋係數
在給定隨時間變動之商店特徵向量 的條件下,假設模型誤差項滿足外生性條件 。
針對不同組別與時期,分別計算 的條件期望值:
-
處理組(City Z, ):
- 政策實施後():
- 政策實施前():
- 處理組前後期望值變化量:
- 政策實施後():
-
對照組(City K, ):
- 政策實施後():
- 政策實施前():
- 對照組前後期望值變化量:
- 政策實施後():
兩組前後變化量再次取差分(Double Differences),即得到係數 :
結論說明: 代表在控制商店特徵 後,「Z 市在政策實施前後 的期望值變化」扣除「K 市在同期間 的期望值變化」之淨差異。
(b) 之經濟意涵與估計結果解讀
-
經濟意涵:
本模型被解釋變數為自然對數轉換 ,係數 衡量在控制兩市固有差異、共同時間趨勢及商店特徵後,Z 市實施「每個塑膠袋收費 1 元」政策對每百筆交易塑膠袋使用量產生的平均處理效果百分比變動(Percentage Effect)。 -
數值與統計檢定解讀:
- 點估計值 :表示實施收費政策後,Z 市每百筆交易的塑膠袋使用量相較於對照組平均增加約 (精確相對變化量為 )。