Regression modeling week 2

Tristan Boudreault
2 min readJan 16, 2016

--

PYTHON CODE CAN BE FOUND HERE: https://wakari.io/sharing/bundle/TristanB/Regression%20modeling%20week%202

The first explanatory variable being analyzed is consciousness. The general consensus in academic psychology is that there are five fundamental personality traits. They are Extraversion, Conscientiousness, Neuroticism, Agreeableness, Openness. Conscientiousness reflects how careful and orderly an individual is (you can read more on the other traits here: https://medium.com/@TristanB/regression-modeling-week-1-4122a63fbed3#.m4e62a52x ).

Our subjects Conscientiousness was scored on a scale of 1 to 5 with an average of 3.35.

Conscientiouness distribution among the participants

The first step of the analysis is to center the values so that the mean becomes 0.

»djusted conscientiouness distribution among the participants

We can then run an ordinary least square regression to see if this trait is associated with grit. The results of the linear regression model indicates that Conscientiousness ( p<=.0001) was significantly and positively associated with grit. For each point in conscientiouness we can expect an individual to have a grit score around 0.6 higher (regression coefficient 0.5988).

--

--