We assume to have the following regression model: $Y=β_0+β_1X_1+β_2X_2+ϵ$
I recall here the Manly procedure (from another post here :How to do permutation test on model coefficients when including an interaction term?):
$1.$ The Variable $Y$ is regressed on $X_1$ and $X_2$ together (using least squares) to obtain an estimate $b_2$ of $β_2$ and a value of the usual t-statistic, tref for testing $β_2=0$ for the real data. We hereafter refer to this as the reference value of $t$.
$2.$ The $Y$ values are permuted randomly to obtain permuted values $Y^*$.
$3.$ The $Y^*$ values are regressed on $X_1$ and $X_2$ (unpermuted) together to obtain an estimate $b_2^*$ of $β_2^*$ and a value of $t^∗$ for the permuted data.
$4.$ Steps 2-3 are repeated a large number of times, yielding a distribution of values of $t^*$ under permutation.
$5.$ The absolute value of the reference value $t_{ref}$ is placed in the distribution of absolute values of $t^∗$ obtained under permutation (for a two-tailed t-test). The probability is calculated as the proportion of values in this distribution greater than or equal, in absolute value, to the absolute value of tref (Hope, 1968)
In my case i have a regression model code with dummy variable and an associated model design matrix i.e: $Y=β_0X_0+β_1X_1+β_2X_2+ϵ$ where my $X_0$ is a deterministic a vector of 1: $X_0= [1,..,1]^t$.
I have an r code that implement the manly procedure, but i have a problem with testing $H_0: β_0= 0$.
The procedure work well for the "normal" covariates coefficients tests($β_1$ and $β_2$) but strange things appear when it come to testing $β_0$. However theoretically $X_0= [1,..,1]^t$ can be consider as a covariates and so the Manly procedure could be applied.
So my question is: Is it possible to perform such a Manly test on the intercept (in the literature the question was often eluded)? If it is the case, how to get out of this case?