I suppose it depends on your intent.
In my day to day, I will regress an outcome on several variables but am really only interested in the effect of one. So I don't need to adjust anything -- those other variables are mainly there to reduce variance or so that I may stratify.
If you're conducting exploratory analyses and looking to see if anything is significant then yea it might be a good idea to correct the p value. However, my intuition says the degree to which you correct the p value would depend on the population correlation between covariates. Typical correction factors assume the tests are independent, but if the covariates are correlated I don't think this would be the case.
You can see this a little empirically. The following R code will simulate 1000 regressions and determine if any of the p values are less than 0.05
library(tidyverse)
library(broom)
library(rethinking)
sig <- rlkjcorr(1, 10, 1)
# sig <- diag(10)
replicate(1000, {
X <- MASS::mvrnorm(100, m = rep(0, 10), sig)
y <- rnorm(100)
lm(y~X) %>%
tidy %>%
pull(p.value)->p
any(p<0.05)
}) %>%
mean
I've included 2 lines for sig
, which is intended to be the population covariance matrix for the covariates X
. The probability that ANY of the p values would be less than 0.05 when variables are all independent (i.e. when sigma is the identity) is about 41%, and this decreases when we pick a random correlation matrix using rlkjcorr
.
All in all, this means that typical p value correction methods (a la Bonferroni) might be too conservative and result in smaller type 1 error rate than might be desired.