I've looked through a related question and another on this topic but it seems I'm still missing something. I understand that in a multiple regression from these questions and answers that a given parameter is estimated while other variables are held at their mean.
If I had a variable Y that was predicted by a series of variables and ran a multiple linear regression, would the p-values for the parameter estimates equal the p-values of the paired Pearson's product-moment correlation.
Eg. Does the p-value of the Pearson correlation between X₁ and Y equal the p-value of the parameter estimate of X₁ in the linear regression
My intuition is that this is not correct. The p-values would be the same if estimation of a parameter was done while other variables were held constant at 0, but they are not, they're held at their mean?
Therefore, the two should be equal if we were talking of a simple linear regression where:
but does this hold true when there are multiple predicting values, or does the p-value of a parameter estimate in a multiple regression depend on the other variables in the equation?