| Next | Welcome to my ~/bin | 39 |
Finally, the output is printed:
print "Xmean $Xm\n" if $V{Xm};
print "Ymean $Ym\n" if $V{Ym};
print "Xvariance $Xv\n" if $V{Xv};
print "Yvariance $Yv\n" if $V{Yv};
print "Xstddev $Xs\n" if $V{Xs};
print "Ystddev $Ys\n" if $V{Ys};
print "Slope $m\n" if $V{m};
print "Intercept $b\n" if $V{b};
print "Correlation $r\n" if $V{r};
Wait, what is %V?
That's the command-line option
You can say lr -mean and get just the means
Or lr -line and get just the linear regression stuff
Or lr -Xm -Xv and get just the mean and variance of the x values
| Next | Menu | ![]() |
Copyright © 2005 M. J. Dominus |