ABCi数据
基于2型糖尿病患者的时变治疗、混杂因素和结果的模拟因果推断数据集。

基本信息
资源简介
ABCi数据
【数据集背景】
本数据集源站标题为《ruthkeogh/ABCi_data》。源站首次发布:2025-08-17。
【数据内容】
源站原始描述:"A benchmark causal inference (ABCi) data set: simulated data on time-varying treatments, confounders and outcomes based on patients with type 2 diabetes." Ruth Keogh, Nan van Geloven, Daniala Weir. # ABCi: A benchmark causal inference data set This repository provides the ABCi data set, data generation code, and code for illustrating the use of the data, as described in the draft paper (See ABCi_data_paper_draft_August2025.pdf for the current draft): "A benchmark causal inference (ABCi) data se…
【适用方向】
结构化表格数据可直接用于统计建模、特征工程与队列分析。
【获取与许可】
源站页面:https://github.com/ruthkeogh/ABCi_data
【使用注意】
· 源站最后修改于 2026-05-28,引用时请注意版本时效。
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
暂未开放公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
免登录有偿下载
公开数据集受托下载与技术交付服务。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取
git clone https://github.com/ruthkeogh/ABCi_data.git
curl -L -o repo.zip https://github.com/ruthkeogh/ABCi_data/archive/refs/heads/main.zip
unzip repo.zip
源站 README 摘录(使用方式)
ABCi: A benchmark causal inference data set
This repository provides the ABCi data set, data generation code, and code for illustrating the use of the data, as described in the draft paper (See ABCi_data_paper_draft_August2025.pdf for the current draft):
“A benchmark causal inference (ABCi) data set: simulated data on time-varying treatments, confounders and outcomes based on patients with type 2 diabetes.” Ruth Keogh, Nan van Geloven, Daniala Weir.
The data
The ABCi data set is provided as an R data file, data_ABCi.RData.
The code for generating the data is in sim_ABCi_data_generate.R.
Descriptive information about the data can be generated using data_descriptives.R.
Illustration
An illustration of the use of the data, as described in the draft paper for Example Question 1 (Table 2). The files for performing data set-up and analyses, and plotting and tabulating results, are in the folder Q1_files. All other files are called from the file _master_Q1.R.
Similar code for Example Questions 2,3,4 appears in the folders Q2_files, Q3_files, Q4_files.
数据加载示例(表格/文本类)
import pandas as pd, glob, os
files = (glob.glob(os.path.join(path, "**", "*.csv"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.tsv"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.xlsx"), recursive=True))
print("数据文件:", files)
df = pd.read_csv(files[0])
print(df.shape); print(df.columns.tolist()); print(df.head(3))
数据缺失?
依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。
⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。




