Welch's t-test: Difference between revisions
Content added Content deleted
m (→{{header|SAS}}: syntax coloring does not work well with SAS) |
m (→{{header|SAS}}) |
||
Line 956: | Line 956: | ||
df = (v1/n1+v2/n2)**2/(v1**2/(n1**2*(n1-1))+v2**2/(n2**2*(n2-1))); |
df = (v1/n1+v2/n2)**2/(v1**2/(n1**2*(n1-1))+v2**2/(n2**2*(n2-1))); |
||
p = 2*probt(-abs(t), df); |
p = 2*probt(-abs(t), df); |
||
print |
print t df p; |
||
quit;</lang> |
quit;</lang> |
||