136,368 simulated responses from 400 respondents to 5 items.
Simulated data. These responses were generated by a script, not collected from people; see the generating script. The cov_true_theta column holds the true generating values, which a real dataset would not have.
| Description | Simulated basketball shots (400 shooters, 136,368 shots; not NBA data). Items are shot zones; shooters choose their shots, with better shooters taking harder ones, so raw accuracy mixes skill with selection. True skill in cov_true_theta; court location, distance and game clock in trial_ columns. |
|---|---|
| Reference | Domingue, B. W. (2026). NBA shots simulation [R script]. Item Response Warehouse. https://github.com/ben-domingue/irw/blob/main/data/simsyn/nbashots_sim.R |
| Licence | CC BY 4.0 |
| Generating script | https://github.com/ben-domingue/irw/blob/main/data/simsyn/nbashots_sim.R |
| Responses | 136,368 |
|---|---|
| Respondents | 400 |
| Items | 5 |
| Response categories | 2 |
| Responses per respondent | 340.920 |
| Responses per item | 27273.600 |
| Density | 68.184 |
cov_rolecov_true_thetaiditemresptrial_disttrial_gameclocktrial_latetrial_locxtrial_locytrial_numbertrial_three
Or load it directly in R or Python:
# R
install.packages("remotes")
remotes::install_github("itemresponsewarehouse/Rpkg")
library(irw)
df <- irw_fetch("nbashots_sim", source = "sim")
# Python
pip install irw
import irw
df = irw.fetch("nbashots_sim", source="sim")
@misc{domingue_nbashots_sim,
author = {Domingue, Ben},
title = {NBA Shots Simulation},
url = {https://github.com/ben-domingue/irw/blob/main/data/simsyn/nbashots_sim.R},
note = {GitHub repository}
}
| IRW version | v439 |
|---|---|
| Redivis dataset | irw_simsyn v1.2 |
| Redivis dataset DOI | 10.57761/t5s5-a326 |
| Manifest pin for this IRW version | v1.1 |
| Metadata source | irw_meta v27.0 |