I don't know a lot about statistics and survival analysis so this might be a dull question.
I'm performing a survival analysis where I want to study the possible risk or protective factors that could lead to the incidence of a proctological pathology after the surgery of another proctological patology. I would like to obtain the Kaplan Meier curves and compare them using the logrank test. My question is if I can obtain a univariant HZ with the logrank test (since I've been reading that de Cox regression analysis is multivariant). After that,I would like to introduce to a multivariant analysis the variables that are statistally significative in the univariant analysis. In this case, should I use Cox?