LOST-STATS / lost-stats.github.io

Source code for the Library of Statistical Techniques
https://lost-stats.github.io/
GNU General Public License v2.0
263 stars 167 forks source link

Switch time_to_treat sub calc in Python logic #203

Closed ekgolightly closed 1 year ago

ekgolightly commented 1 year ago

Shouldn't the python calc for time_to_treat variable be 'year' minus '_nfd' ? This follows in the R and STATA examples.

NickCH-K commented 1 year ago

I believe you're right. Thank you!