Hello. I apologize because this is as much of a statistical question as it is a Matlab question but I am extremely lost and need some help. I have a 72x1 double (titled x) that is basically just 1948-2019 and I have another 72x1 (titled y) double that is has the numbers of days over a certain temperatures for the each of 72 years. I found the least-squares linear regression of the data by doing
which give me a slope of -0.0254 and a y-intercept of 83.6282.
Now I need to find p-value with the null hypothesis being a coefficient equal to zero (neutral trend). Im gonna be honest I have zero clue how to do this. I am aware of p-values but I do not know how to go about this, please help!