{"id":13858464,"url":"https://github.com/yrosseel/lavaan","last_synced_at":"2025-10-21T20:58:26.505Z","repository":{"id":1442195,"uuid":"1672378","full_name":"yrosseel/lavaan","owner":"yrosseel","description":"an R package for structural equation modeling and more","archived":false,"fork":false,"pushed_at":"2025-07-08T19:00:25.000Z","size":9820,"stargazers_count":468,"open_issues_count":39,"forks_count":110,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-07-09T20:40:13.242Z","etag":null,"topics":["factor-analysis","growth-curve-models","latent-variables","missing-data","multilevel-models","multivariate-analysis","path-analysis","psychometrics","statistical-modeling","structural-equation-modeling"],"latest_commit_sha":null,"homepage":"https://lavaan.org","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yrosseel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-04-27T19:38:59.000Z","updated_at":"2025-07-08T19:00:29.000Z","dependencies_parsed_at":"2023-02-15T23:46:06.819Z","dependency_job_id":"e391289d-4a2b-425e-9bfc-c59541a0b2b8","html_url":"https://github.com/yrosseel/lavaan","commit_stats":{"total_commits":1773,"total_committers":21,"mean_commits":84.42857142857143,"dds":0.07106598984771573,"last_synced_commit":"b30e313e2414824f05d1360b7cbcf1cebd8be1a3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yrosseel/lavaan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrosseel%2Flavaan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrosseel%2Flavaan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrosseel%2Flavaan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrosseel%2Flavaan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yrosseel","download_url":"https://codeload.github.com/yrosseel/lavaan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrosseel%2Flavaan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265221127,"owners_count":23729956,"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":["factor-analysis","growth-curve-models","latent-variables","missing-data","multilevel-models","multivariate-analysis","path-analysis","psychometrics","statistical-modeling","structural-equation-modeling"],"created_at":"2024-08-05T03:02:09.648Z","updated_at":"2025-10-21T20:58:21.471Z","avatar_url":"https://github.com/yrosseel.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# lavaan\n\nlavaan is a free, open source R package for latent variable analysis. You can\nuse lavaan to estimate a large variety of multivariate statistical models,\nincluding path analysis, confirmatory factor analysis, structural equation\nmodeling and growth curve models.\n\nThe lavaan package is developed to provide useRs, researchers and teachers a\nfree open-source, but commercial-quality package for latent variable modeling.\nThe long-term goal of lavaan is to implement all the state-of-the-art\ncapabilities that are currently available in commercial packages. However,\nlavaan is still under development, and much work still needs to be done.\n\n## Installation\n\nInstall the stable version from CRAN:\n\n```R\ninstall.packages(\"lavaan\")\n```\n\nOr the development version from GitHub:\n\n```R\n# install.packages(\"remotes\")\nremotes::install_github(\"yrosseel/lavaan\")\n```\n\n## Usage\n\nTo get a first impression of how lavaan works in practice, consider the\nfollowing example of a SEM model (the Political Democracy Example from \nBollen's 1989 book):\n\n```R\nlibrary(lavaan)\n\nmodel \u003c- '\n   # latent variable definitions\n     ind60 =~ x1 + x2 + x3\n     dem60 =~ y1 + y2 + y3 + y4\n     dem65 =~ y5 + y6 + y7 + y8\n   # regressions\n     dem60 ~ ind60\n     dem65 ~ ind60 + dem60\n   # residual covariances\n     y1 ~~ y5\n     y2 ~~ y4 + y6\n     y3 ~~ y7\n     y4 ~~ y8\n     y6 ~~ y8\n'\nfit \u003c- sem(model, data = PoliticalDemocracy)\nsummary(fit)\n```\n\nMore information can be found on the website: https://lavaan.org\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyrosseel%2Flavaan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyrosseel%2Flavaan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyrosseel%2Flavaan/lists"}