ben-domingue / irw

Code related to data for the Item Response Warehouse
https://datapages.github.io/irw/
4 stars 7 forks source link

An item response theory approach to the measurement of working memory capacity #77

Closed ben-domingue closed 2 weeks ago

ben-domingue commented 2 months ago

paper. https://link.springer.com/article/10.3758/s13428-023-02115-3 data. https://osf.io/bhw87/

rn2407stanford commented 1 month ago

WMI_Rot_Han_Wide.csv WMI_Read_Han_Wide.csv

read=read.csv("WMI_Read_Han_Wide.csv")[,-1]
x<-read
id<-1:nrow(x)
L<-list()
for (i in 2:ncol(x)) L[[i]]<-data.frame(id=x[,1],item=colnames(x)[i],resp=x[,i])
df<-data.frame(do.call("rbind",L)); df; x
save(df,file='WMI_Read_Han.Rdata')
rot=read.csv("WMI_Rot_Han_Wide.csv")[,-1]
x<-rot
id<-1:nrow(x)
L<-list()
for (i in 2:ncol(x)) L[[i]]<-data.frame(id=x[,1],item=colnames(x)[i],resp=x[,i])
df<-data.frame(do.call("rbind",L)); df; x
save(df,file='WMI_Rot_Han.Rdata')
rn2407stanford commented 1 month ago

So, for the WMI_Rot_Han_Wide.csv Some of the items have non-interger values, such as 0.3333, 0.6667 etc. What should I do? ( instead of 0, 1, 2)... Should I delete those items or just leave as it is?

ben-domingue commented 1 month ago

all values are 0,1/3,2/3,and 1?

rn2407stanford commented 1 month ago

Just sent the request and this is the output. WMI_Read_Han.xlsx WMI_Rot_Han.xlsx

ben-domingue commented 1 month ago

i think that maybe one of the files got doubled? in particular, i think the ROT file may not be right (seems a duplicate of the READ file?).

rn2407stanford commented 1 month ago

Hi Professor, I think the pull request codes are correct. And yes, it seem I exported the same file into excel two times. But just updated above. Thanks for noticing it.