Search results

  1. J

    Why does the “linear regression t-test” return a p-value (two-tailed) from regression that is twice the p-value from ANOVA? (Binary predictor)

    Apparently, lm() returns results that are already doubled for a two-tailed test (coefficient t-tests and the F-statistic) , while the guide is assuming the output from a typical regression package didn't double the t-test coefficient results.
  2. J

    Why does the “linear regression t-test” return a p-value (two-tailed) from regression that is twice the p-value from ANOVA? (Binary predictor)

    I'm using the "linear regression t-test" guide at https://stattrek.com/regression/slope-test.aspx The guide shows calculating t =b1/SE, where b1 and SE are provided by the regression function (here lm() - using R.) The guide shows the p-value gets doubled as this is a two-sided test...