I'm doing a market model calculation with OLS and I'm using R. I have a sample date with variable Rm and Ri. Its a market model off asset returns as
$$ R_i = \alpha + \beta R_m $$
I have fitted a linear model, and now I have to run a Market Adjusted return model for $\beta = 1$, using t test statistics with hypothesis as H0: $\beta$ =1 ; H1: $\beta$ <>1
Please help how to perform a test that $\beta$ =1
?t.test
and?lm
? $\endgroup$t.test(Rm, Ri - intercept)
where you obtainintercept
from your linear model $\endgroup$