10. Equation 4.32 derived an expression for log 1 Pr(Y =k|X=x) Pr(Y =K|X=x) 2 in the setting where p > 1, so that the me
Posted: Mon Jul 11, 2022 11:29 am
10. Equation 4.32 derived an expression for log 1 Pr(Y =k|X=x) Pr(Y =K|X=x) 2 in the setting where p > 1, so that the mean for the kth class, µk, is a pdimensional vector, and the shared covariance Σ is a p × p matrix. However, in the setting with p = 1, (4.32) takes a simpler form, since the means µ1,...,µK and the variance σ2 are scalars. In this simpler setting, repeat the calculation in (4.32), and provide expressions for ak and bkj in terms of πk, πK, µk, µK, and σ2.
How to do this in R using the ISLR "Weekly" Dataset.
How to do this in R using the ISLR "Weekly" Dataset.