3
$\begingroup$

Suppose I have $m$ individuals from a population (not necessarily people: here "individuals" may also indicate machines of common design). $m$ is small, say, 10. For each individual I measure some quantity as a function of time: the number of time observations (the sample size) is different for each individual, i.e., $N_1,\dots, N_m$. EDIT: the sampling rate is the same for all individuals.

The quantity in question doesn't (seem to) exhibit some trend: it randomly oscillates around the time mean, which may differ from individual to individual, with a standard deviation which is roughly constant with time (for a given individual). Just to be clear, the oscillation doesn't seem to be harmonic: it's random, but its amplitude doesn't seem to depend on time.

I have two goals:

  • I want to estimate the time mean and standard deviation of the population. How do I combine the time series from the different individuals to do that? Do I need to take into account the different sample sizes, and if so, how?
  • I want to estimate the time mean and standard deviation for a new individual, not observed. In other words, I would like to compute a prediction interval for the time mean and the time standard deviation. How do I do that with time series?

EDIT: here is a plot of a single time series for one individual.

enter image description here

Looking at the standardized time series, it could seem that the variation is not small. However, consider that the oscillation is much smaller than the time average: I cannot show the actual values, but for each individual $j$ the sample coefficient of variation

$$V_j =\frac{\bar{X}_j}{S_j} \approx 6 \cdot 10^{-4} $$

where with $\bar{X}_j$ and $S_j$ I denote

$$\bar{X}_j = \frac{\sum_{i=1}^{N_j} X_{ij} }{N_j}, \quad S_j =\sqrt{ \frac{ \sum_{i=1}^{N_j} (X_{ij}-\bar{X}_j)^2 }{ N_{j-1} } } $$

EDIT2: following GeoMat22's comments, I understand that I could compute $\bar{X}_1,\dots,\bar{X}_m$ and $\frac{S_1}{n_{eff,1}},\dots,\frac{S_m}{n_{eff,m}}$ for each individual. I still miss two steps: how to compute in practice $n_{eff,j}$ for each individual, and how to combine all these data to get an estimate and a standard error for 1) the time mean of the population and 2) the time mean of a new, unobserved, individual.

$\endgroup$
11
  • $\begingroup$ So to clear, it seems that every individual has a mean and a standard deviation and that each measurement for a given individual is an IID random variable? $\endgroup$ – dimpol Oct 25 '16 at 6:39
  • $\begingroup$ No, I don't think each measurement is IID. But the correlation length seems to be short, and the process to be (or tend asymptotically to be) stationary. I need time to anonymize the data, but I'll put some plots in the afternoon. $\endgroup$ – DeltaIV Oct 25 '16 at 6:42
  • $\begingroup$ Are the measurements of different individuals dependent on each other? $\endgroup$ – dimpol Oct 25 '16 at 6:55
  • 1
    $\begingroup$ You should probably change the plot to be either 1) a single time series for one individual, or 2) time series of the same attribute for several individuals. Showing multiple attributes for the same individual is not helpful, as you say this is not your question, but it may confuse people. Question: My first thought is to consider something like this to account for "effective sample size" due to autocorrelation. You say $\Delta{t}$ is constant while $n_t$ varies across individuals, but does $\tau_{\mathrm{corr}}$ vary also? $\endgroup$ – GeoMatt22 Oct 25 '16 at 13:32
  • 1
    $\begingroup$ I also do not have much experience with autocorrelation significance. But the main idea is 1) if you had i.i.d. data you could do your calculation easily, so 2) can the time series be treated as "i.i.d. samples" for some "effective sample size"? ($\tau$ could vary between series I guess, although if it did this might cast doubt on the "ensemble stationarity" assumption?) $\endgroup$ – GeoMatt22 Oct 25 '16 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.