Handling an inconsistently coded categorical variable in a longitudinal dataset with cat2cat

作者
Maciej Nasinski,Krzysztof Gajowniczek
出处
期刊:SoftwareX [Elsevier BV]
卷期号:24: 101525-101525 被引量:1
标识
DOI:10.1016/j.softx.2023.101525
摘要

Categorical variable levels change over time with the addition, deletion, or regrouping of categories. This study introduces cat2cat procedure, to handle an inconsistently coded categorical variable in a longitudinal dataset. Such categorical variables often represent classifications, for instance The International Standard Classification of Occupations or the International Classification of Diseases. The cat2cat procedure enables unification of an inconsistently coded categorical variable between two time points in accordance with a mapping table. Categorical variable levels from a specific period are applied to a neighboring period by replicating an observation if it can be assigned to more than one category. Then, frequencies or statistical methods are used to approximate the probabilities of being assigned to each category. The cat2cat procedure extends the scope of the available statistical analyses in a longitudinal dataset with inconsistently coded categorical variables, which are ordinarily removed or force dataset aggregation. The procedure is offered to the scientific community in the cat2cat R and Python packages.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
ZXheng发布了新的文献求助10
刚刚
刚刚
Nexus的应助被悦悦悦采纳,获得50
1秒前
1秒前
qianmian12138发布了新的文献求助10
2秒前
SCX完成签到,获得积分10
2秒前
zsf完成签到,获得积分10
2秒前
2秒前
2秒前
3秒前
LXhong发布了新的文献求助10
3秒前
吴谷杂粮发布了新的文献求助10
3秒前
FashionBoy的应助被zzer采纳,获得10
5秒前
DOKI发布了新的文献求助10
5秒前
DW的应助被苏苏采纳,获得10
5秒前
6秒前
7秒前
7秒前
7秒前
8秒前
8秒前
9秒前
9秒前
orixero的应助被啸西风采纳,获得10
9秒前
简单紫寒发布了新的文献求助30
10秒前
隐形曼青的应助被kevgogo采纳,获得10
11秒前
11秒前
13秒前
13秒前
猴子大侠发布了新的文献求助10
13秒前
幸福台灯发布了新的文献求助10
13秒前
Moey发布了新的文献求助10
14秒前
爱低温的啊陈完成签到,获得积分10
14秒前
章鱼发布了新的文献求助10
15秒前
16秒前
16秒前
Akim的应助被123采纳,获得10
17秒前
CipherSage的应助被李阳475890采纳,获得10
17秒前
18秒前
张吉文的应助被xixi采纳,获得10
19秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea De Guyane 2000
Energie-Contracting 1500
Stochastic Models in Operations Research,Vol. 2 600
Problems and Solutions for Integer and Combinatorial Optimization: Building Skills in Discrete Optimization 600
Organizational Behavior 510
Stell & Maran's Head and Neck Surgery and Oncology 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8029382
求助须知:如何正确求助?哪些是违规求助? 9469366
关于积分的说明 21236967
捐赠科研通 7599547
什么是DOI,文献DOI怎么找? 3388333
关于科研通互助平台的介绍 2520667
邀请新用户注册赠送积分活动 2424897