finding the p-value in simple linear regression

hi,

i have 2 columns of data: col 1 containing the independent variable X, col 2 containing the corresponding dependent variable Y. i then do a simple linear regression for these 2 variables, which returns a slope and an intercept. my question is, how do i derive the p-value for the slope?

what i understand is that, the null hypothesis will be: slope = 0, and the alternative hypothesis will be: slope not = 0. if i am not wrong, the test statistic in this case would be the ratio (slope)/(standard error in slope). but i am not sure how i can go from there to calculate the p-value. pls help.

thanks.

Re: finding the p-value in simple linear regression

A Statistician / psychologist can help you with your statistics in spss, amos, statistica, Econometrics, minitab, stata, r, gpower. I can do factorial analysis, correlation, time series, path analysis, anova, ancova, glm, non parametric (e.g. bootstrap), reliability, standardization, validity, mediation and moderation analyses can be done. Normality check as well plagiarism check is offered. We can also evaluate questionnaires. Private lessons are offered also using skype. estatistics. email: info@estatistics.eu.