Reference no: EM134021530
Assignment:
Algerian Forest Fires Dataset includes 244 instances that regroup a data of two regions of Algeria, namely the Bejaia region located in the northeast of Algeria and the Sidi Belabbes region located in the northwest of Algeria. The period from June 2012 to September 2012. The dataset includes 12 variables.
Please show all the answers in R programming
Carry out a principal component analysis using all the suitable variables.
(a) Should this data be scaled prior to running a PCA or not?
(b) Consider the eigenvalues for the principal component analysis and answer the following (provide your relevant R output as well):
i. How many principal components would you select if using the "elbow" method?
ii. How many principal components would you select if attempting to account for 70% of total variation?
(c) Produce a biplot of the first two principal components. What variable groupings load onto these components similarly?
(d) What are the percentage contributions (loadings) of the first fivevariables of PC1?