108 年 國立政治大學金融學系碩士班財務工程組《統計學B》
第 1. 題25 分
(a) Let X be a real-valued random variable with density function given by:
for some constant .
- (5 points) Find the value of such that is indeed a density function (i.e. it must integrate to 1).
- (5 points) Evaluate .
- (5 points) Evaluate .
(b) Let Y be a real-valued random variable with and .
- (5 points) Evaluate .
- (5 points) Evaluate .
登入後即可作答並保存紀錄。
此題主要考驗隨機變數的機率密度函數性質、期望值與變異數的計算。
(a) 1. 根據機率密度函數的定義,函數 必須滿足 。
對於給定的 ,我們有:
為了使 成為一個合法的機率密度函數,我們必須有 ,所以 。
-
期望值 的計算公式為 。
-
變異數 的計算公式為 。
首先,我們需要計算 :
第 2. 題25 分
Suppose that X and Y are two independent random variables which are exponentially distributed with parameter . That is, X and Y both have Exponential(1)-distribution, with corresponding density functions being and defined as and respectively.
Let .
(a) (5 points) Find the joint density of the random vector .
(b) (10 points) Find the joint density of the random vector .
(c) (5 points) Find the marginal density of .
(d) (5 points) Find the conditional density of given .
登入後即可作答並保存紀錄。
此題考驗隨機變數的獨立性、聯合機率密度函數、邊際機率密度函數、變數轉換以及條件機率密度函數的計算。X 與 Y 皆為參數為 的指數分佈,即 。
(a) 由於 X 和 Y 是獨立的隨機變數,它們的聯合機率密度函數是它們各自邊際機率密度函數的乘積。
聯合密度函數 為:
(b) 我們要找 的聯合密度函數,其中 。這是一個變數轉換問題。
我們有原始變數 ,轉換到新變數 。
令 ,。
反向轉換為 ,。
雅可比行列式 (Jacobian) 的絕對值為:
新的聯合密度函數 為:
將變數名稱改回 ,即 :
這個區域表示 且 。
(c) T 的邊際密度函數 可以通過對聯合密度函數 對 X 積分得到。
根據 的定義,積分範圍是 。
第 3. 題25 分
Let X be a normally distributed random variable with an unknown mean and a known variance equal to 1. Suppose that a prior distribution for is available, which is standard-normal. Assume further that we observe in an experiment. Derive the posterior distribution of given and hence determine the Maximum a Posteriori estimate of given .
登入後即可作答並保存紀錄。
此題考驗貝氏推論,包含後驗分佈的推導以及最大後驗估計量 (Maximum A Posteriori, MAP) 的計算。
我們已知:
- 觀測值 服從常態分佈,其平均數為 (未知),變異數為 。即 。
- 先驗分佈為標準常態分佈,即 。
- 我們觀測到 。
我們要推導 在觀測到 後的後驗分佈,並找出 MAP 估計量。
貝氏定理的聯合機率密度函數為:
首先,寫出各別的機率密度函數:
(因為 )
(因為先驗是標準常態,平均數為 0,變異數為 1)
聯合密度函數 對於給定的 (視為常數) 和變數 為:
我們關心的是後驗分佈 ,根據貝氏定理,。由於 對於 來說是常數,我們只需要關注 的形式,並將其配方成常態分佈的形式。
展開指數項的內容:
我們希望將此形式配方成常態分佈的指數形式:。
第 4. 題25 分
Recall that for a Pareto distribution with parameters and , its density function can be defined as follows:
Consider, in modeling insurance claims, one observes the arrivals of claims with values . For , assume that each follows a Pareto distribution.
(a) (10 points) Define and compute the likelihood function, , and hence compute the log-likelihood function.
(b) (10 points) For a fixed , derive the maximum likelihood estimate for the parameter .
(c) (5 points) For a fixed , find the maximum likelihood estimate for the parameter .
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 由獨立樣本的聯合密度函數建立概似函數;
- 將概似函數取對數,得到對數概似函數;
- 以微分與二階導數求最大概似估計量;
- 注意 Pareto 分配的支持集限制:必須滿足 。
假設 相互獨立,且參數限制為 、。
(a) 概似函數與對數概似函數
單一觀察值 的機率密度為
其中 為指示函數:
由於樣本相互獨立,聯合密度等於各觀察值密度的乘積,因此概似函數為
整理得
令
則概似函數可寫成
取對數後,當 時,
因此
也可整理為
若 ,概似函數為 ,其對數概似函數為 。
(b) 固定 時, 的最大概似估計量
固定 ,考慮對數概似函數
對 微分:
令一階導數等於 :
移項可得
利用
得到