国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    中文字幕黄色大片| 国产精品一区二区三区在线播放| 日产日韩在线亚洲欧美| 国产熟女高潮视频| 国产精品人成电影| 日韩欧美在线免费观看视频| 成人毛片网站| 超碰日本道色综合久久综合| 欧美久久综合性欧美| 久久99精品久久久久久久久久| 亚洲中文字幕久久精品无码喷水| 蜜桃91精品入口| 久久久久久久久久久久av| 视频在线精品一区| 成人在线观看a| 久久777国产线看观看精品| 日韩一二区视频| 国产成人精品久久二区二区| 亚洲精品久久区二区三区蜜桃臀| 国产欧美精品久久久| 欧美xxxx做受欧美| 免费国产黄色网址| 国产精品高清免费在线观看| 国内精品国产三级国产99 | 日韩在线视频观看正片免费网站| 欧美一级片免费播放| 久久免费视频在线观看| 日韩av免费在线看| 久久国产乱子伦免费精品| 午夜精品一区二区三区在线观看 | 久久久噜噜噜久噜久久| 日本黄网站免费| 久久久久久久香蕉网| 日韩欧美视频第二区| 久久久久久国产精品免费免费| 日韩国产欧美一区| 国产精品无码专区av在线播放| 黄色高清视频网站| 国产av不卡一区二区| 91久久精品www人人做人人爽| 午夜精品一区二区三区四区| 国产脚交av在线一区二区| 午夜啪啪福利视频| 久久99热只有频精品91密拍| 欧美亚洲激情视频| 久久在线精品视频| y111111国产精品久久婷婷| 少妇特黄a一区二区三区| 日韩专区在线观看| 国产在线一区二区三区欧美| 欧美激情xxxx性bbbb| 久久久亚洲精品无码| 欧美一级黑人aaaaaaa做受| 国产精品久久久久久av下载红粉 | 久久久人人爽| 日本一区二区高清视频| 日韩亚洲一区二区| 欧美精品久久96人妻无码| 欧美激情喷水视频| 91久久久久久久久久| 日韩av一级大片| 九色视频成人porny| 欧美在线视频a| 久久亚洲成人精品| 成人在线小视频| 日本手机在线视频| 国产精品美乳在线观看| 成人免费观看a| 日韩av成人在线观看| 久久久精品美女| 狠狠色噜噜狠狠狠狠色吗综合| 欧美精品一区三区| 91久热免费在线视频| 日韩免费毛片| 精品国产免费av| 国产精品 日韩| 亚洲最新免费视频| 91成人免费观看| 欧美牲交a欧美牲交| 欧美人与性动交a欧美精品| 91精品在线影院| 欧美在线视频免费| 在线国产精品网| 久久久久久久久网| 国产精品尤物福利片在线观看| 亚洲一区二区三区视频播放| 国产第一页视频| 国精产品一区一区三区视频 | 欧美激情第6页| 久久另类ts人妖一区二区| 久久亚洲国产精品日日av夜夜| 久久av在线播放| 国产区日韩欧美| 国产精品久久一区二区三区| 久久久国产一区| 精品人伦一区二区三区| 美日韩精品视频免费看| 人妻内射一区二区在线视频| 欧美自拍视频在线| 国产成人免费av电影| 欧美综合第一页| 欧美日韩第一视频| 久久人人97超碰精品888| 欧美变态另类刺激| 亚洲三级一区| 国产精品免费一区二区三区四区| 99久热re在线精品视频| 欧美日韩国产不卡在线看| 一区二区三区av在线| 精品国产拍在线观看| av观看久久| 免费黄色福利视频| 亚洲美女网站18| 国产精品秘入口18禁麻豆免会员| 91精品国产91久久久| 精品视频一区二区在线| 日韩精品一区二区三区外面| 亚洲综合小说区| 成人97在线观看视频| 久久国产一区二区三区| 69精品丰满人妻无码视频a片| 国产色婷婷国产综合在线理论片a| 人人妻人人做人人爽| 午夜精品一区二区三区视频免费看| 欧美日本精品在线| 国产精品精品国产| 日韩视频免费中文字幕| 97精品久久久| 国产精品亚洲a| 青草网在线观看| 热久久美女精品天天吊色| 欧美一级中文字幕| 亚洲精品乱码久久久久久蜜桃91| 精品自拍视频在线观看| 久久五月情影视| 国产精品久久久久久久久粉嫩av | 99久久自偷自偷国产精品不卡 | 国产又黄又爽免费视频| 精品欧美国产| 岛国视频一区免费观看| 精品国产一区二区三区日日嗨 | 99伊人久久| 成人国产精品一区二区| 国产九区一区在线| 国模视频一区二区| 国内一区二区在线视频观看| 欧美在线一区二区三区四区| 午夜精品美女自拍福到在线 | 91精品在线国产| 99精品视频网站| 不卡影院一区二区| 成人免费网视频| www精品久久| 99精品一区二区三区的区别| 97精品国产91久久久久久| 91精品啪在线观看麻豆免费| 国产精品97在线| 国产传媒欧美日韩| 久久久爽爽爽美女图片| 国产v综合ⅴ日韩v欧美大片| 久久久免费观看| 国产v综合v亚洲欧美久久| 久久久久久久久久码影片| 国产高清免费在线| 久久久久久久一区二区三区| 日韩中文字幕在线视频| 国产精品久久久亚洲| 美女精品视频一区| 亚洲综合小说区| 日韩一区二区三区高清| 青青草精品视频在线| 韩国三级日本三级少妇99| 国产免费久久av| 777精品视频| 久久精品国产精品亚洲精品色| 国产成人成网站在线播放青青| 日韩在线视频免费观看| 国产精品人成电影| 国产精品福利小视频| 在线视频亚洲自拍| 日本一区二区三区视频在线播放 | 精品无码一区二区三区爱欲| 成人短视频在线观看免费| 国产成一区二区| 国产精品久久久久久超碰| 中文字幕精品—区二区日日骚| 国产99视频精品免视看7| 欧美激情国产精品| 日韩欧美一区二区三区四区五区 | 国产精品欧美在线| 欧美激情网站在线观看| 日本一区二区三区www| 国内精品久久影院| 91av成人在线| 国产成人精品在线观看| 国产精品成人久久电影| 亚洲在线视频一区二区| 欧美性视频在线| 成人av一级片| 国产精品视频在线免费观看|