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

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

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

時(shí)間:2025-04-26  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



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

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

掃一掃在手機(jī)打開當(dāng)前頁
  • 上一篇:STAT4602代寫、代做Java/Python編程
  • 下一篇:代做 ECE391、代寫 C/C++設(shè)計(jì)編程
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營技巧,多多開團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 豆包網(wǎng)頁版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产一级特黄a大片99| 亚洲 欧美 日韩 国产综合 在线| 欧美精品午夜视频| 欧美日韩免费观看一区| 91久久精品国产91久久| 久久艹在线视频| 欧美日韩福利在线| 久久久久久久久久久人体| 亚洲国产欧美一区二区三区不卡| 国产九色精品| 美女av一区二区三区| 裸模一区二区三区免费| 日韩在线播放一区| 日韩av电影国产| 久久伊人一区| 涩涩日韩在线| 国产精品69久久| 污污污污污污www网站免费| 9a蜜桃久久久久久免费| 亚洲专区中文字幕| 91精品久久久久久久久中文字幕| 亚洲精品无码久久久久久| 91精品国产综合久久久久久久久| 亚洲一区二区三| 国产极品美女高潮无套久久久| 亚洲精品视频一二三| 久久综合一区二区三区| 日本一区视频在线播放| 久久久久一本一区二区青青蜜月| 日本精品免费观看| 日韩在线观看免费| 欧美一级电影久久| 久久久国产一区二区三区| 欧美日韩国产一二| 国产精品美女黄网| 国产麻豆一区二区三区在线观看| 欧美精品成人在线| 91精品成人久久| 日韩免费高清在线观看| 国产成人精品视频在线观看| 黄频视频在线观看| 亚洲综合视频1区| 久久riav| 国产亚洲精品久久久久久久| 一本久道久久综合| 久草视频国产在线| 欧美 日韩 国产精品| 欧美精品一本久久男人的天堂| 国产精品亚洲二区在线观看| 色就是色欧美| 国产精品日韩欧美一区二区三区| 国产欧美日韩亚洲| 日本久久久网站| 久久五月情影视| 91精品成人久久| 欧美精品与人动性物交免费看| 精品久久一二三| 68精品国产免费久久久久久婷婷| 日韩精品一区二区三区不卡| 欧美另类第一页| 久久精品在线免费视频| 免费在线观看毛片网站| 一区二区三区四区免费观看| 国产v综合v亚洲欧美久久| 精品一区二区三区视频日产| 亚洲欧美日韩精品综合在线观看| 色妞在线综合亚洲欧美| 国产视频一区二区三区在线播放| 视频在线99| 精品蜜桃一区二区三区 | 亚洲综合自拍一区| 久久久久免费视频| 国产欧美日韩丝袜精品一区| 熟女少妇精品一区二区| 久久成人免费视频| 久久久久久一区| 豆国产97在线| 免费看欧美黑人毛片| 日日摸日日碰夜夜爽av| 精品产品国产在线不卡| 按摩亚洲人久久| 91好吊色国产欧美日韩在线| 蜜臀精品一区二区| 日韩免费观看av| 亚洲欧美精品在线观看| 国产精品久久久久久久久免费看 | 精品国产第一页| 久久久人人爽| 成人免费福利在线| 免费国产一区| 日韩欧美一区二区在线观看| 一区二区三区免费看| 久久天天躁狠狠躁夜夜躁 | 中文字幕99| 国产精品视频一区国模私拍| 国产精品99免视看9| 国产精品自拍首页| 国语自产精品视频在线看一大j8| 午夜精品短视频| 亚洲一区二区精品在线| 国产精品大陆在线观看| 久久精品国产69国产精品亚洲| av无码精品一区二区三区| 国产无套粉嫩白浆内谢的出处| 欧美精品久久| 欧美中文字幕第一页| 日本精品一区二区三区在线 | 国产精品av在线| 99久热在线精品视频| 国产情侣第一页| 黑人中文字幕一区二区三区| 青青在线免费观看| 日本精品久久久久久久久久| 日韩尤物视频| 日韩一区二区三区高清| 亚洲一区二区三区乱码aⅴ蜜桃女| 精品久久一二三| 国产aaa精品| 色综合久久88| 蜜臀久久99精品久久久无需会员| 欧美理论片在线观看| 免费不卡在线观看av| 久久亚洲国产精品成人av秋霞| 国产精品美女呻吟| 国产精品久久99久久| 久久精品国产亚洲| 久久久91精品国产| 国产精品久久久久久久天堂第1集| 久久精品中文字幕免费mv| 久久精品电影网站| 国产精品久久久久久久久| 久久香蕉国产线看观看网| 久久夜色精品国产| 欧美激情第1页| 亚洲欧美在线网| 色哺乳xxxxhd奶水米仓惠香| 日韩人妻精品一区二区三区| 欧美日韩在线观看一区| 美女被啪啪一区二区| 国产精品自拍网| 91免费看国产| 国产不卡一区二区在线播放| 久久精品99久久久久久久久| 国产精品成人播放| 久久6免费高清热精品| 亚洲精品国产系列| 日韩免费精品视频| 欧美人与动牲交xxxxbbbb| 免费在线成人av| 国产伦精品一区| 久久男人的天堂| 按摩亚洲人久久| 久久99热精品这里久久精品| 亚洲一区二区三区777| 日韩欧美精品在线不卡| 欧洲成人在线观看| 美女一区视频| 91黄在线观看| 久久精品99无色码中文字幕 | 中文字幕久精品免| 色中文字幕在线观看| 欧美连裤袜在线视频| 精品一区二区三区日本| 国产麻豆日韩| 久久久久久久久久久视频| 国产精品精品视频一区二区三区 | 国产成人精品综合| 欧美精品在线观看91| 亚洲va欧美va国产综合久久| 日韩免费高清在线观看| 国产淫片免费看| 久久综合九色欧美狠狠| 国产精品视频在线免费观看 | 国语自产精品视频在免费| 高清一区二区三区日本久| 久久国产精品免费一区| 国产精品爽黄69天堂a| 一区二区免费在线观看| 日韩免费av一区二区三区| 国产日韩欧美一区二区| 国产夫妻自拍一区| 精品国产一二三四区| 色就是色欧美| 国产乱子伦农村叉叉叉| 久久久久久网站| 综合一区中文字幕| 欧美日韩视频免费在线观看 | 欧美韩国日本在线| 91精品国产综合久久香蕉| 色青青草原桃花久久综合| 一区二区三区观看| 欧美极品日韩| 91精品视频一区| 久热精品视频在线观看一区| 日本一区二区黄色| 国产欧美日韩精品丝袜高跟鞋| 久久99久久精品国产| 中文字幕精品一区日韩| 欧美日韩激情视频在线观看| 国产精品 欧美在线|