Skip to content
Prev 5312 / 5632 Next

[R-meta] [External] RE: Effect Sizes and Beta Coefficients

Dear Rebecca,

Please see below for my answer.

Best,
Wolfgang
I assume you are asking about a p-value from a regression model. First of all, this is typically a two-sided p-value, so the given p-value must first be divided by 2. Also, the degrees of freedom are n-p-1 for a regression model with p regression coefficients. So it would be:

qt(1-pval/2, df=n-p-1)

Note that the (two-sided) p-value does not tell you anything about the sign of the regression coefficient (which in turn corresponds to the sign of the test statistic and hence the sign of the (semi)partial correlation), so additional information reported needs to be used to determine the correct sign.
You can't. A one-sample t-test is used to test if the mean of a single variable differs significantly from some value. It is not possible to compute the partial correlation for a single variable.
Message-ID: <AS8PR08MB9193EEB5AC2A7A602FD0000C8BC12@AS8PR08MB9193.eurprd08.prod.outlook.com>
In-Reply-To: <LO0P265MB7364B75C488F5DA4ACE615B3F7C02@LO0P265MB7364.GBRP265.PROD.OUTLOOK.COM>