DS AdvancedLesson 23Free preview
DS Regression P-Value
This lesson is part of Data Science · All levels
Summary
The P-value on regression results measures the probability of obtaining an extreme coefficient of attenuation if the null hypothesis (coefficient = 0) is correct. The common threshold used is 0.05: the p-value below it signifies sufficient statistical evidence that the variable contributes significantly. In the context of inference, p-values help select predictors that are worthy of preservation in the model.
Key points
- H0: the predictor coefficient is 0.
- The usual significance threshold: alpha = 0.05.
- P < 0.05: minus H0, a significant variable.
- The smaller the p-value, the stronger the evidence against H0.
- For inference, the p-value guides the selection of predictor variables.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.