﻿ Principal Component Analysis (PCA) Principal Component Analysis (PCA)
 Principal Component Analysis (PCA) is the oldest and still one of the most frequently-used ordination techniques in community ecology. It is most appropriate for full quantitative data, but can be used if abundance is classified into a number of abundance classes. The objective of the method is to express the relationship between the samples in a 2- or 3-dimensional space that can be plotted and usefully visualised. This can only be achieved if many of the variables are positively or negatively correlated. Normally this will be so for a number of reasons. First, there is the interdependence between organisms in an ecosystem, and second, because many variables respond similarly to environmental variables such as temperature and water.   General descriptions of the procedure for biologists are given Legendre & Legendre (1998); Digby & Kempton (1987); Kent & Coker (1992).   The analysis is undertaken on either the between-sample variance-covariance matrix, or the correlation matrix. If the variables vary greatly in abundance you will probably need to transform the data by taking logarithms or using a square-root transformation. Logarithmic transformations would be excellent if it were not for the fact that zeros cannot be handled. A frequently-used procedure is to add 1 to all the observations. This can distort the output, and so it is probably more appropriate to use a square-root transformation.   If you undertake a PCA on the correlation matrix you will be giving all variables, irrespective of abundance, equal weighting, whereas the analysis undertaken on the variance-covariance matrix will reflect differences in abundance, but can result in the numerically-dominant variables determining the output. When successful, PCA will present major features of a complex community in only 2 or 3 dimensions and the ordination of samples (sites) along these new axes can be related to underlying environmental factors that are moulding community structure. PCA can be judged a success when the first two or three principal axes explain an appreciable proportion of the total variability in the data set. For large ecological data sets with > 20 species, if the three largest axes can explain more than 30% of the variance, this would generally be considered satisfactory.   If you wish to use R see Run R code
{"ft_lang_label":"__label__en","ft_lang_prob":0.89250505,"math_prob":0.93936753,"size":2378,"snap":"2023-40-2023-50","text_gpt3_token_len":461,"char_repetition_ratio":0.10488627,"word_repetition_ratio":0.0053908355,"special_character_ratio":0.19175778,"punctuation_ratio":0.07579462,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97504693,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-24T06:18:59Z\",\"WARC-Record-ID\":\"<urn:uuid:5242b4c4-0e76-45a5-8188-4de57bd09fd6>\",\"Content-Length\":\"5091\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:059349ec-25e9-460a-a6d4-f285dfd1d879>\",\"WARC-Concurrent-To\":\"<urn:uuid:13f4007d-207d-4133-8272-007c195e404d>\",\"WARC-IP-Address\":\"89.187.86.9\",\"WARC-Target-URI\":\"https://pisces-conservation.com/cap6help/principalcomponentanalysis(.html\",\"WARC-Payload-Digest\":\"sha1:AOLHNCUTXTLIQ7Q2SNF5NBB3J6WPMJAP\",\"WARC-Block-Digest\":\"sha1:RRUPHKXHP6W5EVEYEXRPCCTFD2OVVXMJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233506623.27_warc_CC-MAIN-20230924055210-20230924085210-00665.warc.gz\"}"}