Bioengineering & Chronobiology Laboratory


Departamento de Teoría de la Señal y Telecomunicaciones

Universidad de Vigo


ChronoLab documentation 3/6


3. Example: Two subjects, multiple components


3.1 Introduction

In this example, more elaborate than the preceding, we show how ChronoLab adjusts several components on series from several subjects. In this case we analyze blood pressure series from two subjects (one healthy young woman and one healthy young man) that you can find in the files "Woman" and "Man", respectively. For each series we fit one composite cosine model with periods of 24 and 12 hours, so we will obtain the parameters and the results of the tests associated to this model. For the two series we will also obtain a chronogram that will be saved in a graphic file (PICT type).


3.2 Parameter file

If you need to analyze several subjects (files), as in this case, you must create a parameter file before using ChronoLab which must be a text file (ASCII, as generated with TeachText, Edit or similar text program). In order to illustrate the construction of this kind of file we repeat the first three lines of the data files:

ETV,AAA,2,002,198902041850,110, 70, 89
ETV,AAA,2,002,198902041900, 98, 63, 78         Extract from file "Woman"
ETV,AAA,2,002,198902041930, 93, 55, 73
...
 
ETV,MOA,1,014,198902061842,120, 70, 71
ETV,MOA,1,014,198902061900,131, 72, 72         Extract from file "Man"
ETV,MOA,1,014,198902061930,134, 77, 67
...
		

The parameter file must have as many lines as the number of subjects you want to analyze (one for each subject). Each of these lines must have four pieces of information (delimited by blanks):

In our example, the parameter file (file "Setup") could be as follows:

AAA Woman 5 6 7 8
MOA Man 5 6 7 8 
		

AAA and MOA are the initials for these subjects. Woman and Man are the data files. 5 is the field of date. 6 7 8 are the fields of systolic blood pressure, diastolic blood pressure and heart rate. In this case the two files exhibit a similar structure, but it is not necessary.

Important!

The parameter file must be in the same folder as the data files.


3.3 Read several subjects to analyze

After opening ChronoLab, select several subjects..., as follows:

Fig. 3.1

A dialog box appears. Choose the file Setup and hit Open. You will see a new dialog box:

Fig. 3.2

With Number of subjects we tell ChronoLab how many subjects will be read using the parameter file. All other items in this dialog are similar to those in figure 2.3 in the previous chapter.

Complete the dialog like in figure 3.2 and hit OK.


3.4 Analysis

After the data are read in, transform v0 (systolic blood pressure) removing those values that are three or more standard deviations apart from the mean of its series. A new variable, v3 (transformed systolic blood pressure), appears. Check it and write s as the code for this variable. Then select Multiple components... in the menu Methods.

Fig. 3.3

A dialog box like this appears:

Fig. 3.4

This dialog is very similar to the one in figure 2.8. The differences arise in the model definition. Here you can adjust up to ten sinusoidal components at a time. You can fit linear, cuadratic an/or cubic trends, too (check the desired box(es) in Trend:). ChronoLab offers three ways to select the sinusoidal components:

In this example we wish to obtain a chronogram, so you must check the box Chronogram.... When you do it, the following dialog box appears:

Fig. 3.5

Fig. 3.6

Fill the dialog boxes like in figure 3.6 and hit OK. When you finish (in this example we use only two subjects) the frontmost window must be the dialog of the figure 3.5. The last button is referred to time axis:

Fig. 3.7

Complete the dialog box as in figure 3.7 and hit OK. The dialog of figure 3.5 must be the frontmost window. Fill it as in the figure and hit OK. You have again the dialog box of the figure 3.4. Fill it as in the figure and hit OK and the analysis will begin.


3.5 Results

When the analysis ends, you can see the results in appropriate Macintosh windows. In this example, there will be three windows:

PROGRAM ChronoLab 2.2     Mon Oct 19 19:30:58 1992
 
 
Variation of systolic blood pressure in a young woman and in a young man
 
     AAA
________________________________________
    time     #pts    mean    s.d.   s.e.
________________________________________
     1.500     10    93.2     8.7    2.7
     4.500     12    85.5     8.2    2.4
     7.500     12    88.1     6.9    2.0
    10.500     12    90.9     9.0    2.6
    13.500     12    98.3     8.0    2.3
    16.500     12   100.8     8.1    2.3
    19.500     11   103.4    11.8    3.5
    22.500     10   102.8     8.2    2.6
________________________________________
 
 
 
 
     MOA
________________________________________
    time     #pts    mean    s.d.   s.e.
________________________________________
     1.500     12   112.2    13.4    3.9
     4.500      9   104.0    17.2    5.7
     7.500     12   107.2    12.3    3.6
    10.500     12   115.2    13.9    4.0
    13.500     12   125.5     8.4    2.4
    16.500     12   122.3    11.5    3.3
    19.500     12   127.4    13.1    3.8
    22.500     10   128.2    14.4    4.5
________________________________________
 
 
 
Comparison of mean for both individuals at each interval
_______________________________________________
    time     d.f.     t       p    significance
_______________________________________________
     1.500    20   -3.840   0.001       yes
     4.500    19   -3.281   0.004       yes
     7.500    22   -4.702   0.000       yes
    10.500    22   -5.086   0.000       yes
    13.500    22   -8.098   0.000       yes
    16.500    22   -5.297   0.000       yes
    19.500    21   -4.612   0.000       yes
    22.500    18   -4.851   0.000       yes
_______________________________________________
 
 
PROGRAM ChronoLab 2.2     Mon Oct 19 19:30:57 1992
 
 
Variation of systolic blood pressure in a young woman and in a  young man
 
_________________________________________________________________________________________________________________________________________
 Sub.  Var    Period   PR      p     MESOR   s.e.    Amp.   s.e.    C.I. Amp.      Acr.   s.e.   C.I. Acr.     lof    norm  homog  indep
_________________________________________________________________________________________________________________________________________
AAA     s
              24.000  36.7  <0.001                   8.92   1.25  (  6.4, 11.4)  -274.6    8.2  (-258,-291)
              12.000   1.3   0.422                   1.67   1.27  (  0.0,  0.0)  -325.9   43.0  (   0,   0)
             Overall  38.0  <0.001   95.36   0.89    9.26            Orthophase = -297    Bathyphase =  -85   0.893  0.234  0.177  0.729
MOA     s
              24.000  30.5  <0.001                  12.10   1.84  (  8.4, 15.8)  -267.7    8.7  (-250,-285)
              12.000   6.5   0.006                   6.19   1.80  (  2.6,  9.8)  -303.9   17.3  (-269,-338)
             Overall  37.1  <0.001  117.67   1.30   15.44            Orthophase = -311    Bathyphase =  -70   0.385  0.408  0.512  0.477
_________________________________________________________________________________________________________________________________________
 
 
 
__________________________________________________________________________
 Sub.  Var  #pts    min   max    mean    dev   err  median   rng50  rng90
__________________________________________________________________________
AAA     s     91   72.0  132.0   95.2   10.6   1.1    95.0    15.0   32.0
MOA     s     91   84.0  155.0  118.0   15.2   1.6   117.0    21.0   51.0
_________________________________________________________________________
 
 

Fig. 3.8


3.6 More analysis

Close the window with the chronogram. An alert like this appears:

Fig. 3.9

Hit Save and complete the process as was explained in the previous chapter. The type of the saved file is PICT and can be opened and modified with applications like Canvas or MacDraw, for example.

Try to analyze the rest of the variables and change some options to see their effects.

To do any new analysis using another data file without quitting ChronoLab, you must close the window of variables (Figure 2.4).


Return to index