Page 1 of 1

Task-2: Multivariate Linear Regression Using US CDC data of weekly flu estimates over a year, perform multivariate regre

Posted: Thu May 05, 2022 2:24 pm
by answerhappygod
Task 2 Multivariate Linear Regression Using Us Cdc Data Of Weekly Flu Estimates Over A Year Perform Multivariate Regre 1
Task 2 Multivariate Linear Regression Using Us Cdc Data Of Weekly Flu Estimates Over A Year Perform Multivariate Regre 1 (102.7 KiB) Viewed 45 times
Matlab assignment do it as soon as possible
Task-2: Multivariate Linear Regression Using US CDC data of weekly flu estimates over a year, perform multivariate regression (in Matlab load flu). This data comprises weekly flu estimates of nine US regions (column-2 to 10). Column-1 is the date and last column (WtdILI) is the CDC's national estimate, take this as label r. Since there are nine regions against each date, this is d = 9 dimensional data. Visualize data as Load flu Y = double (flu(:,2: end-1)); [n, d] =size(Y); x = flu. WtdILI; figure; regions = flu. Properties. VarNames (2:end-1); plot (x, Y, 'x') legend (regions, 'Location', 'NorthWest') 1. Find the parameters wj, j = 0,1, ...,9 for the estimator g(x|w) = wo + w₁x₁ + w₂x₂,...,+wax 2. Observe the structure of g(x|w) which should be [N x 1]. 3. Plot both g(x|w) and label vector r on the same figure to compare. Deliverables: Upload commented .mlx file. Please note that .m file or code exported to pdf or word format will not be marked.