Worked on logOddsAnalysis.R