I am calculating the correlation values between two data sets of size 257. I want to know what is the critical value of correlation for a sample size of 257. I tried searching on the web, but critical values corresponding to 100, 200 and 500 are seen but not 257 specifically.
So, what is the formula to calculate the correlation critical value? There are a few online tools to calculate that, but I would like to know the formula so that I can integrate it into the code I am using so as to get correlation values along with the critical values.