国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

STAT4602代寫、代做Java/Python編程
STAT4602代寫、代做Java/Python編程

時間:2025-04-26  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



STAT4602 Multivariate Data Analysis Assignment 2
Hand in solutions for ALL questions by April 23 (Wednesday), 2025,
11:59pm
1. The file IRIS.DAT gives a dataset containing 4 measurements for 3 species
of iris. In the dataset, each row corresponds to one observation. The first 4
columns gives the 4 measurements, and the last column takes values 1, 2, 3,
corresponding to the 3 species of iris.
(a) Perform multivariate regression for each species separately, treating the
two sepal measures (x1 and x2) as response variables, and the two petal
measures (x3 and x4) as indepedent variables. Report the fitted models.
(b) For the species “versicolour” (serial number 2), test whether the two sets of
regression coefficients (excluding intercepts) are the same in the regression
equations for x1 and for x2.
(c) Consider a multivariate linear model as in (a), but incorporate the
3 species in the model with the aid of additional dummy variables.
Specifically, intorduce new variables:
• s ∈ {0, 1}: s = 1 if species = 1, and s = 0 otherwise.
• v ∈ {0, 1}: v = 1 if species = 2, and v = 0 otherwise.
• sx3 = s · x3: sx3 = x3 if species = 1, and sx3 = 0 otherwise.
• sx4 = s · x4: sx4 = x4 if species = 1, and sx4 = 0 otherwise.
• vx3 = v · x3: vx3 = x3 if species = 2, and vx3 = 0 otherwise.
• vx4 = v · x4: vx4 = x4 if species = 2, and vx4 = 0 otherwise.
Perform the regression and test the hypothesis that the 3 species have
the same model.
(d) For a input with species = 1, 2, 3, is the model obtained in (c) equivalent
to the 3 separate multivariate regression models obtained in (a)?
2. Consider the data given by CORKDATA.sas in Question 1 of Assignment 1:
N E S W N E S W
72 66 76 77 91 79 100 75
60 53 66 63 56 68 47 50
56 57 64 58 79 65 70 61
41 29 36 38 81 80 68 58
32 32 35 36 78 55 67 60
30 35 34 26 46 38 37 38
39 39 31 27 39 35 34 37
42 43 31 25 32 30 30 32
37 40 31 25 60 50 67 54
33 29 27 36 35 37 48 39
32 30 34 28 39 36 39 31
63 45 74 63 50 34 37 40
54 46 60 52 43 37 39 50
47 51 52 45 48 54 57 43
(a) Find the principal components based on the covariance matrix. Interpret
them if possible.
HKU STAT4602 (2024-25, Semester 2) 1
STAT4602 Multivariate Data Analysis Assignment 2
(b) How many principal components would you suggest to retain in
summarizing the total variability of the data? Give reasons, including
results of statistical tests if appropriate.
(c) Repeat (a) and (b) using the correlation matrix instead.
(d) Compare and comment on the two sets of results for covariance and
correlation matrices. Recommend a set of results and explain why.
3. Annual financial data are collected for bankrupt firms approximately 2 years
prior to their bankruptcy and for financially sound firms at about the same
time. The data on four variables, X1 = (cash flow) / (total debt), X2 = (net
income) / (total assets), X3 = (current assets) / (current liabilities) and X4 =
(current assets) / (net sales) are stored in the file FINANICALDATA.TXT. In
addition, a categorical variable Y identifies whether a firm is bankrupt (Y = 1)
or non-bankrupt (Y = 2).
(a) Apply the linear discriminant analysis (LDA) to classify the firms into
a bankrupt group and a non-bankrupt group. Calculate the error rates
with cross-validation and report the results.
(b) Apply quadratic discriminant analysis (QDA) to classify the firms,
perform cross-validation and report the results.
4. The distances between pairs of five items are as follows:
Cluster the five items using the single linkage, complete linkage, and average
linkage hierarchical methods. Compare the results.
5. Consider multivariate linear regression with the following data structure:
individual Y1 Y2 · · · Yp X1 X2 · · · Xk
1 y11 y12 · · · y1p x11 x12 · · · x1k
2 y21 y22 · · · y2p x21 x22 x2k
n yn1 yn2 · · · ynp xn1 xn2 · · · xnk
The regression model is given as
Y
n×p
= Xn×k
B
k×p
+ Un×p
,
HKU STAT4602 (2024-25, Semester 2) 2
STAT4602 Multivariate Data Analysis Assignment 2
where the matrices Y , X, B and U are given as follows:
Here for i = 1, . . . , n, the vector of errors of observation i is εi =
(εj1, εj2, · · · , εjp)

, and we assume that ε1, . . . , εn
iid∼ Np(0, Σ).
(a) We know that the maximum likelihood estimator of B and Σ are:
Bˆ = (X′X)
−1 X′Y , Σˆ =
1
n


Uˆ , where Uˆ = Y − XBˆ .
Calculate the maximum value of the log-likelihood function
ℓ(B, Σ) = −
np
2
log(2π) −
n
2
log |Σ| − 1
2
tr[(Y − XB)Σ
−1
(Y − XB)

]
= −
np
2
log(2π) −
n
2
log |Σ| − 1
2
tr[Σ
−1
(Y − XB)

(Y − XB)].
(b) Plug in the definition of Bˆ and express Uˆ as a matrix calculated based
on X and Y . Calculate X⊤Uˆ and Uˆ

X.
(c) Prove the identity
(Y − XB)

(Y − XB)
= (Y − XBˆ )

(Y − XBˆ ) + (XBˆ − XB)

(XBˆ − XB).
Hint: by definition, Y − XBˆ = Uˆ , and we have
(Y − XB)

(Y − XB)
= (Y − XBˆ + XBˆ − XB)

(Y − XBˆ + XBˆ − XB).
6. Consider p random variables X1, . . . , Xp. Suppose that Y1, . . . , Yp are the first
to the p-th population principle components of X1, . . . , Xp.
(a) What are the population principle components of the random variables
Y1, . . . , Yp? Why?
(b) Suppose that the population covariance matrix of (X1, . . . , Xp)

is Σ and
its eigenvalue decomposition is
Σ =
p
X
i=1
λiαiα

i
,
where α1, . . . , αp are orthogonal unit vectors. What is the covariance
bewteen X1 and Y1?
7. Consider a k-class classification task with ni observations in class i, i =
1, . . . , k. Define matrices
H =
k
X
j=1
nj (x¯·j − x¯··)(x¯·j − x¯··)

, E =
k
X
j=1
nj
X
i=1
(xij − x¯·j )(xij − x¯·j )

, S =
n
E
− k
.
HKU STAT4602 (2024-25, Semester 2) 3
STAT4602 Multivariate Data Analysis Assignment 2
In LDA for multiclass classification, we consider the eigenvalue decompostion
E
−1Hai = ℓiai
, i = 1, . . . , s, s = rank(E
−1H).
where a1, . . . , as satisfy a

iSai = 1 and a

iSai
′ = 0 for all i, i′ = 1, . . . , s, i = i

.
(a) While the above definitions were introduced in the case of multiclass
classification (k > 2), we may check to what extent these definitions are
reasonable in binary classification (k = 2). In this case, we have the
sample means within class 1 and class 2 as x¯·1 and x¯·2 respectively. Can
you calculate the overall mean x¯·· based on x¯·1, x¯·2 and n1, n2?
(b) For k = 2, express H as a matrix calculated based on x¯·1, x¯·2 and n1, n2.
(c) What is the rank of the matrix H when k = 2?
(d) We mentioned in the lecture that we can simply use one Fisher
discriminant function for binary classification. Can we adopt the
definitions above to define more than one Fisher discriminant functions
for binary classification? Why?
HKU STAT4602 (2024-25, Semester 2) 4

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

掃一掃在手機打開當前頁
  • 上一篇:代寫CS1010S、代做Python編程語言
  • 下一篇:STAT4602代寫、代做Java/Python編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久人人97超碰精品888| 91免费的视频在线播放| 中文字幕日韩一区二区三区 | 日本一区二区三区视频在线播放| 亚洲蜜桃在线| 欧美一区二区三区免费观看| 欧美一级淫片播放口| 欧美一级视频在线播放| 日韩精品一区二区免费| 日韩av片免费在线观看| 日韩免费黄色av| 欧美极品欧美精品欧美| 国产又爽又黄的激情精品视频| 国模精品一区二区三区| 国产日韩欧美精品在线观看| 国产精品一区=区| 91av福利视频| 国产成人看片| 精品国产_亚洲人成在线| 亚洲一区中文字幕在线观看| 日本不卡二区| 国产日韩一区欧美| 国产精彩视频一区二区| 色天天综合狠狠色| 国产精品旅馆在线| 中文字幕免费高| 午夜视频久久久| 欧美中文字幕在线播放| 国产嫩草一区二区三区在线观看| 国产极品美女高潮无套久久久| 神马国产精品影院av| 久久成人av网站| 午夜老司机精品| 欧美日韩一区在线播放| av无码久久久久久不卡网站| 色婷婷综合久久久久中文字幕1| 国产精品国产福利国产秒拍| 亚洲爆乳无码专区| 精品少妇人妻av一区二区| 国产精品一二区| 久久久久久久久久久亚洲| 欧美激情一级欧美精品| 青青在线视频免费| 99久久免费国| 国产精品-区区久久久狼| 亚洲直播在线一区| 黄色动漫网站入口| 国产精品av一区| 精品乱码一区二区三区| 日韩和欧美的一区二区| 99在线看视频| 国产精品电影观看| 热草久综合在线| 99在线精品免费视频| 国产成人无码av在线播放dvd| 中文字幕一区综合| 国内一区二区三区在线视频| 7777精品视频| 免费av在线一区| 黄色网络在线观看| 久久av综合网| 亚洲一区二区三区四区中文| 国产亚洲精品美女久久久m| www欧美日韩| 日本一级淫片演员| 久久久亚洲精选| 亚洲人成无码www久久久 | 国产精品亚洲一区| 国产精品精品一区二区三区午夜版| 日本一区二区三区四区高清视频 | 99久久精品免费看国产一区二区三区| 国产精品视频网站| 日本10禁啪啪无遮挡免费一区二区| 国产精品香蕉视屏| 精品产品国产在线不卡| 免费国产一区| 国产精品热视频| 欧洲精品国产| 久久久久久久久电影| 日韩中文字幕组| 国产成人jvid在线播放| 色视频一区二区三区| 国产精国产精品| 色中色综合成人| 国产suv精品一区二区| 色噜噜狠狠一区二区三区| 7777精品久久久大香线蕉小说| 亚洲精品中文字幕乱码三区不卡 | 国产超级av在线| 日本中文字幕成人| 久久久久亚洲精品成人网小说| 日韩中文字幕组| 久久欧美在线电影| 日本久久久久久久久久久| 久久久久五月天| 欧美在线一区二区视频| 久久激情视频免费观看| 欧美丰满熟妇xxxxx| 国产精品久久av| 国产精品自在线| 亚洲成色www久久网站| 久久九九国产视频| 日本不卡一二三区| 国产精品视频在线播放| 国产日韩欧美在线观看| 亚洲中文字幕无码av永久| 久久久一本精品99久久精品| 日韩欧美一区二区三区四区| 深夜福利日韩在线看| 国产最新免费视频| 亚洲一二三区精品| 久久精品香蕉视频| 激情五月婷婷六月| 精品综合久久久久久97| 91国产美女在线观看| 欧美精品一区二区视频| 久久久久久12| 久久影院理伦片| 黄色a级片免费| 亚洲色成人一区二区三区小说| 久久国产精品网| 免费看成人午夜电影| 亚洲熟妇av日韩熟妇在线| 日韩中文视频免费在线观看| 国产欧美日韩高清| 日韩精品第一页| 欧美成在线观看| 久久免费精品视频| 免费观看精品视频| 少妇高潮流白浆| 久久综合国产精品台湾中文娱乐网| 91久久精品日日躁夜夜躁国产| 日韩av色综合| 中文字幕日本最新乱码视频| 日韩中文av在线| 成人久久18免费网站漫画| 日本黄网免费一区二区精品| 欧美xxxx14xxxxx性爽| 国产激情在线看| 国产男女激情视频| 人体精品一二三区| 亚洲一区二区三区久久| 国产精品视频999| 久久视频免费在线| 国产美女视频免费| 欧美日韩精品久久| 无码人妻精品一区二区蜜桃百度 | 日韩精品欧美在线| 亚洲免费不卡| 欧美精品一区二区三区国产精品 | 国产精品热视频| 久久综合入口| 成人国产精品一区二区| 蜜桃成人免费视频| 日韩免费不卡av| 性色av一区二区咪爱| 中文字幕精品在线播放| 操人视频在线观看欧美| 色婷婷av一区二区三区久久| 97精品国产97久久久久久| 国产在线98福利播放视频| 欧美在线精品免播放器视频| 午夜免费电影一区在线观看| 亚洲自拍欧美色图| 一区二区三区国| 欧美大码xxxx| 精品国产一区二区三区麻豆小说| 久久人人爽人人爽人人片亚洲| 国产夫妻自拍一区| 不卡一卡2卡3卡4卡精品在| 红桃一区二区三区| 欧美亚洲精品一区二区| 日韩欧美在线电影| 日本久久久网站| 日本三级韩国三级久久| 日日噜噜夜夜狠狠久久丁香五月| 一级特黄妇女高潮| 亚洲一区二区三区在线观看视频 | 九九热这里只有精品6| 国产精品久久9| 另类天堂视频在线观看| 国产精品美女www爽爽爽视频| 日韩中文字幕视频| 日韩综合视频在线观看| 久久久久久久av| 日韩中文字在线| 国产精品偷伦免费视频观看的| 国产成人无码精品久久久性色| 日韩在线中文字幕| 国产精品欧美日韩| 国产精品户外野外| 精品国产一区二区三区日日嗨 | 在线亚洲美日韩| 亚洲一区二区精品在线| 亚洲高潮无码久久| 日韩高清专区| 欧美日韩视频免费在线观看| 蜜桃传媒一区二区三区 | 国产精品伊人日日| 91精品国自产在线观看|