Closed zhut19 closed 6 years ago
Thanks @zhut19, Looks solid! The mean value should be directly useable. We'd like to evaluate the undertainty of this parameter as well, from you likelihood curve. I think your likelihood value could be wrong. Can you write down you likelihood? The easist would be to assume gaussian error bars on sim and data, and calculate chi^2/ll values.
@feigaodm I took data means as Y0, fax means as Y log likelihood = sum( [-(Y-Y0)**2] ) (As I don't know the uncertainties on the means)
@zhut19 Yeah, I think you derived the quantiles from simulated and real data. You can calculate the uncertainty on the quantiles, I don't remember a formular to do this, at least you can use bootstrap technique. (Or you can google a way to calculate it, I did it but couldn't find a easy solution). Then you can use the uncertainty to recalculate your likelihood.
how does this affect @JelleAalbers's S1 width matching (in waveform simulator summary note)?
Thanks for the study @zhut19. I used the simulation code in https://github.com/JelleAalbers/xeshape for my matching, which is slightly different than fax (but much faster, so waveform template matching in several dimensions is more practical). I tried to make them as similar as possible, but I guess some residual difference remains, causing this discrepancy. When I have time I'll try to compare the two in more detail and hopefully reconcile them. For now of course it's agreement between fax and data that counts, so this adjustment is very welcome.
Change S1 decay time to match data Step compare data with fax
Maximize Log Likelihood