Problem:
I have a multiple regression model with categorical/binary ($c_i$) and continuous ($x_i$) variables:
$ v = \alpha + \beta_1 x_1 + \beta_2 x_2 + ... + \gamma_1 c_1 + \gamma_2 c_2 + $
I am interested in the categorical binary variable $c_1$. I want to compute the Cohen D of the two groups defined by $c_1$ controlling for the other variables.
What do I know so far:
There are some formulas on how to convert F to D (for example https://www.campbellcollaboration.org/media/k2/attachments/converting_between_effect_sizes.pdf pg 13) but they assume a ANCOVA model, that is a linear model with one continuous and one categorical variable. The formula uses the r.square of the covariate (the continuous variable) in relation to the dependent variable $v$.
The formula is:
$ d = \sqrt{\frac{(n1+n2)(1-r^2) F}{n1 n2}} $
This is the formula also used in the compute.es R package to convert effect sizes, but the reference they use to justify the formula Borenstein (2009). Effect sizes for continuous data. In H. Cooper, L. V. Hedges, & J. C. Valentine (Eds.), The handbook of research synthesis and meta analysis (pp. 279-293) also is explicit on the ANCOVA modeling (one categorical and one continuous variable.
I am not sure that the formula is valid for a multiple variable regression.
Furthermore I assume that the r.square would be of the whole regression without the categorical variable of interest ($c_1$).
Finally, the is the issue of how is the F computed. I assume that it is a Type II ANOVA, but again not 100% sure.
There was at least two similar questions on CV: Can I calculate Cohen's $d$ from multiple regression coefficient? , unanswered, and Cohen's d from regression coefficient? whose answer refer to the residual standard error which I am reasonable sure is not the correct answer to my case.
Thus my questions:
1) Does the formula holds for multiple variables regression?
2) Does the r.squared refer to the regression without the categorical variable of interest?
3) is the F calculated using a Type II ANOVA?