If you only have 4 single data points, you cannot do much with
statistical inferencing. Ideally, you should have a large set of data
points in each sample, in order to compare across samples. In fact,
it's impossible to test whether these numbers are different from each
other based on what you have.
What you can do is regress the number of yesses on time, that is,
essentially plotting the points in 2-space with time on x-axis and
yeses on y-axis. The line that is closest vertically to all the points
will give you a very rough idea of the relationship between number of
yesses and time.
Numerically, the equation you are trying to estimate is Y=a+bX, where
b will give you the slope of this line, which is the effect on number
of yesses as time increases. Your estimate of b will be
[(X1-Xbar)(Y1-Ybar)+(X2-Xbar)(Y2-Ybar)+(X3-Xbar)(Y3-Ybar)+(X4-Xbar)(Y4-Ybar)]/
[(X1-Xbar)^2+(X2-Xbar)^2+(X3-Xbar)^2+(X4-Xbar)^2]
Intuitively this is the variation of X and Y (covariance of x and y)
over the variation in X only (variance of x), which gives you the
variation in Y per unit of change in X.
Your intercept a will be Ybar-b*Xbar.
These are the most efficient linear unbiased estimators of your simple
linear regression.
To test whether b is statistically significantly different from 0, or
whether the relationship between time and number of yesses is real
(which it obviously is, by looking at the data), you will need the
variance of b. This is equal to
sigma^2/[(X1-Xbar)^2+(X2-Xbar)^2+(X3-Xbar)^2+(X4-Xbar)^2], where
sigma^2 is your sample variance and Xbar the mean of X. Take the
square root of this quantity to get the standard error of b.
b divided by the above quantity should give you a test statistic for
the t distribution with 2 degrees of freedom. You should reject or
accept accordingly the hypothesis that time has a significant effect
on number of yesses.
And there you have it. Of course, this is much easier with a software.
If you have a TI, there should be a function under the stat menu that
lets you input x and y values after which it will spit out all the
relevant statistics you need. |