Noise model for UWB TWR ranging

Using the DW3000 chip, how could one model the likelihood of TWR ranging error under line of site, based on various observed parameters? Has anyone tackled this already? Or do you have any recommendations how to approach this task? For example which parameters (that are accessible from the API) would you use to model this?