You measure T for a number of lengths L, I suppose. Then you plot T
2 versus L and find a straight line. With a supposed T
2 = 4 ##\pi^2##L/g you get a slope 4 ##\pi^2##/g and an intercept 0.
Using numerical
linear regression (Kirchner 2001) you can calculate errors in slope and intercept, but if you want to do it correct, you also need to weigh your T
2 points properly. Tedious.
Simple_linear_regression is already messy.
Linear regression by eye is not so bad. The thing to do is mark the center of gravity of your points on the graph (<x>, <y>). The regressed line goes through that point. Now take your ruler and let it go from the intercept to this center. Wiggle -- while holding on to the center -- to find the maximum slope. Where you don't believe it any more, draw a line. Wiggle same way to find the minimum slope. Where you don't believe it any more, draw a line. Usually where you don't believe it any more is close to 3σ from the mean (sope). So you have lines with slope +3σ and -3σ. Make a good guess.
If the center of gravity is pretty far from x=0, the error in the intercept is mainly determined by the slope. Otherwise you can get an estimate by hanging on to the slope and shifting the ruler up and down. Same 3σ idea. The error in the intercept is generally square root of the sum of both contributions squared. The further you get from x=0, the higher the correlation between the errors in slope and intercept.
If there is a good argument to force the intercept to be zero, with no error at all, all you can do is wiggle the ruler while hanging on to the origin. Much smaller errors result, but you really need a good argument...
By now you have (either by calculating or by "wiggling") found a slope +/- uncertainty where all the scatter from measurement uncertainties is processed as best you can.
From your earlier posts I estimate this is not a post-graduate experimental physics lab exercise, but an introduction in mechanics. Hence the wiggling.
The error in the slope is a number, say you find 4 +/- 0.01. That is 0.5%. Divide by 4 ##\pi^2##: still 0.5%. Inverting the quotient gets you something that also has 0.5% uncertainty.
I greyed out the stuff above. If you find something you can use, fine. But I suspect that the sraight line is so straight you will have difficulty extracting an uncertainty by eye. And you put it to us that that's what can be done.
In that case you might concentrate on systematic errors: errors that don't go away when you do a lot of measurements because they reappear in every measurement the same way. Calibration errors are often systematic. E.g: what if your tape measure is 1 mm off at 1 m length and what if your stopwatch is 0.002 seconds per second too slow. The first would introduce 0.1% error, so 0.05% error in the square root and thus in g. The second 0.2 % in T and 0.4% in T
2.