Worked on inference regression model