what are the factors that can be used to compute the probability of getting the coronavirus?
I'd refer you to a couple of papers in Lancet, here and here. They, in fact, have a mathematical treatment of this very question, and in the supplementary material they list some parameters that might be useful to you. Good luck!