code edits, functions: rho, predProb, logitOR