{"id":22551768,"url":"https://github.com/tatevkaren/multivariate-statistics","last_synced_at":"2025-07-11T08:02:11.005Z","repository":{"id":113748483,"uuid":"336766397","full_name":"TatevKaren/multivariate-statistics","owner":"TatevKaren","description":"Case Study in ranking U.S. cities based on a single linear combination of rating variables. Dimensionality techniques used in the analysis are Principal Component Analysis (PCA), Factor Analysis (FA), Canonical Correlation Analysis (CCA)","archived":false,"fork":false,"pushed_at":"2021-02-27T13:44:17.000Z","size":819,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T04:50:52.505Z","etag":null,"topics":["canonical-correlation-analysis","dimensionality-reduction","factor-analysis","multivariate-analysis","multivariate-statistics","principal-component-analysis"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TatevKaren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-02-07T11:10:20.000Z","updated_at":"2024-07-03T00:50:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"352b804b-82af-4a24-b3da-8b25bf197f72","html_url":"https://github.com/TatevKaren/multivariate-statistics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatevKaren%2Fmultivariate-statistics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatevKaren%2Fmultivariate-statistics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatevKaren%2Fmultivariate-statistics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatevKaren%2Fmultivariate-statistics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TatevKaren","download_url":"https://codeload.github.com/TatevKaren/multivariate-statistics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248151115,"owners_count":21056026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canonical-correlation-analysis","dimensionality-reduction","factor-analysis","multivariate-analysis","multivariate-statistics","principal-component-analysis"],"created_at":"2024-12-07T17:14:16.062Z","updated_at":"2025-04-10T03:33:16.640Z","avatar_url":"https://github.com/TatevKaren.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Case Study in Ranking US Cities\n**Paper:** MultivariateStatistics_CaseStudy_PCA_FA_CCA.pdf\n**Code:** MultivariateStat_PCA_FA_CCA_code.R\n\nCase Study in ranking U.S. cities based on a single linear combination of rating variables. Dimensionality techniques used in the analysis are Principal Component Analysis (PCA), Factor Analysis (FA), Canonical Correlation Analysis (CCA).\n\n**Principal Component Analysis (PCA) Screenshots**\n\nBiplot with scaled data where yoou can observe that Crime and Education have the smallest margins and the remaining variables show substantial variations. First three principal components explain 63.10% of the total variation in data. Applying the ”elbow rule” it can be seen that one can optimally retain 3 components. \n\u003cp align=\"left\"\u003e\n\u003cimg src=\"https://github.com/TatevKaren/Multivariate-Statistics/blob/main/PCA_plot.png?raw=true\"\n  alt=\"Principle Component Analysis\"\n  width=\"450\" height=\"300\"\u003e\n\u003cimg src=\"https://github.com/TatevKaren/Multivariate-Statistics/blob/main/Elbow_rule_%25varc_explained.png?raw=true\"\n  alt=\"Principle Component Analysis: Elbow Rule % Variation Explained\"\n  width=\"350\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\n**Canonical Correlation Analysis (CCA) Screenshots**\n\nFigures showing clear correlation between X and Y scores for the first canonical correlation which is not the case for the second factor, where one can observe some correlation but not significant. This shows that the first canonical correlation is important but second one is not.\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"https://github.com/TatevKaren/Multivariate-Statistics/blob/main/CCA_plot2.png?raw=true\"\n  alt=\"Canonical Correlation Plot 2\"\n  width=\"350\" height=\"300\"\u003e\n\u003cimg src=\"https://github.com/TatevKaren/Multivariate-Statistics/blob/main/CCA_plot1.png?raw=true\"\n  alt=\"Canonical Correlation Plot 1\"\n  width=\"350\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatevkaren%2Fmultivariate-statistics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftatevkaren%2Fmultivariate-statistics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatevkaren%2Fmultivariate-statistics/lists"}