# What to do when the p-value is not significant?

What can I do when the p-value of my regression is not significant? I tried to transform it with log or sqrt, it improved a little, but not enough to go below the 5%.

The residuals follow a Normal distribution and there is no strong correlation between the variables.

Does it mean the linear regression just doesn't fit my data or, because the p-value is close to the threshold, I can ignore it?

Edit : I did a cumulative coding because there were lots of categorical and ordinal variable, that explain the difference between the R^2 and ajusted R^2, see below the functionnement (not my data, just for the explanation)

• You are approaching this with the wrong mindset. Your goal is not creating a significant p-value. Apr 25, 2022 at 10:36
• I agree with @Roland. Further, it looks like you're estimating a model with 15 parameters and 24 observations - that's asking the data to do an awful lot. You see that reflected in the huge difference between the multiple R-squared and the Adjusted R-squared. Apr 25, 2022 at 10:44
• A few things. 1. The insignificant F-statistic means that all model parameters are not jointly different from zero - that all non-zero estimates could have arisen by chance rather than a systematic relationship that you've uncovered. I wouldn't pay as much attention to the R-squared value as the difference between the R-squared and adjusted R-squared values, which is huge - indicating several "irrelevant" variables in the model. Apr 25, 2022 at 12:10
• With only 24 observations you should only be trying to fit about 2 predictors; otherwise you run risks of overfitting or even of missing true associations with outcome because you don't have enough data to support a "significant" F-test. See Frank Harrells course notes on Regression Modeling Strategies, especially Chapter 4. You should step back and think about the specific question you want to answer and whether you have enough data to answer it reliably.
– EdM
Apr 25, 2022 at 13:40
• So why are you obliged to pursue a bad regression strategy?
– Dave
Apr 25, 2022 at 14:47