{"id":13769944,"url":"https://github.com/roronya/causalmodels","last_synced_at":"2026-02-17T13:13:53.267Z","repository":{"id":62561060,"uuid":"50569238","full_name":"roronya/causalmodels","owner":"roronya","description":"Causalmodels: causal modeling in Python","archived":false,"fork":false,"pushed_at":"2016-07-28T02:21:47.000Z","size":337,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T17:54:29.739Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/roronya.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}},"created_at":"2016-01-28T08:46:13.000Z","updated_at":"2021-06-07T02:50:00.000Z","dependencies_parsed_at":"2022-11-03T14:45:42.802Z","dependency_job_id":null,"html_url":"https://github.com/roronya/causalmodels","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roronya%2Fcausalmodels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roronya%2Fcausalmodels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roronya%2Fcausalmodels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roronya%2Fcausalmodels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roronya","download_url":"https://codeload.github.com/roronya/causalmodels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224850179,"owners_count":17380129,"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":[],"created_at":"2024-08-03T17:00:32.936Z","updated_at":"2026-02-17T13:13:48.238Z","avatar_url":"https://github.com/roronya.png","language":"Python","readme":"# causalmodels\ncausalmodels in Python.\n\n## instalation\n\n    $ pip install causalmodels\n\n## usage\n\n    \u003e\u003e\u003e import numpy as np\n    \u003e\u003e\u003e import pandas as pd\n    \u003e\u003e\u003e import causalmodels as cm\n    \u003e\u003e\u003e a = np.random.laplace(size=500)\n    \u003e\u003e\u003e b = np.random.laplace(size=500) + a\n    \u003e\u003e\u003e c = np.random.laplace(size=500) + a + b\n    \u003e\u003e\u003e data = pd.DataFrame({'a': a, 'b': b, 'c': c})\n    \u003e\u003e\u003e model = cm.DirectLiNGAM(data.values, data.columns)\n    \u003e\u003e\u003e results = model.fit()\n    \u003e\u003e\u003e results.order\n    [2, 1, 0]\n    \u003e\u003e\u003e result.plot()\n","funding_links":[],"categories":["Model, Schema"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froronya%2Fcausalmodels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froronya%2Fcausalmodels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froronya%2Fcausalmodels/lists"}