A. Gouveia Oliveira

Biostatistics Decoded


Скачать книгу

rel="nofollow" href="#ulink_4e7f0509-010c-5a6e-97ff-1b7ec9c2677f">Figure 1.14.

      Means and variances have some interesting properties that deserve mention. Knowledge of some of these properties will be very helpful when analyzing the data, and will be required several times in the following sections. Regardless, they are all intuitive and easy to understand.

      With a computer, we generated random numbers between 0 and 1, representing observations from a continuous attribute with uniform distribution, which we will call variable A. This attribute is called a random variable because it can take any value from a set of possible distinct values, each with a given probability. In this case, variable A can take any value from the set of real numbers between 0 and 1, all with equal probability. Hence the probability distribution of variable A is called the uniform distribution.

Graphs depict two random variables with uniform distribution. Graphs depict the properties of means and variances.

      When observations from two independent random variables are added or subtracted, the mean of the resulting variable will be the sum or the subtraction, respectively, of the means of the two variables. In both cases, however, the variance of the new variable will be the sum of the variances of the two variables. The right graph in Figure 1.16 shows the result of adding variables A and B. The first result is easy to understand, but the second is not that evident, so we will try to show it by an example.

      Suppose we have two sets of strips of paper of varying length. We take one strip from each set and glue them at their ends. When we have glued together all the pairs of strips, we will end up with strips that have lengths that are more variable. This is because, in some cases, we added long strips to long strips, making them much longer than average, and added short strips to short strips, making them much smaller than average. Therefore, the variation of strip length increased. Now, if instead of adding the two strips of paper we cut a variable amount from each strip, we will eventually make large cuts in short strips and small cuts in large strips, again increasing variation.

      Note that this result will not hold if the variables are not independent, that is, if they are correlated. Taking the example above, if we decided to always make large cuts in long strips and small cuts in short strips, we would end up with a smaller variance. If we did it the other way around, the final variance would be much larger than the sum of the two variances.

An illustration of a table of mean and variance properties.

      The central tendency, location, and dispersion measures may be used to describe a collection of data. Those measures are called descriptive statistics and are used to summarize observations on ordinal and interval attributes. Binary attributes are described by the mean but, as the variance of a binary attribute is determined by the mean, it is not customary to present variances of binary attributes and the usual practice is to present counts.

      Descriptive statistics are used to abstract the observations on a sample of the population and they must not be used to infer quantities in populations. From what was said, it is clear that the first thing that must be done when evaluating the results of a research study is, therefore, to abstract the data. To do that, we must first identify the scale of measurement used with each attribute in the dataset, and then we must decide which one is the best method for summarizing the data.

      One simple method is the tabulation of the data whereby, for each study variable, we make a list of all the different values found in the dataset and, in front of each one, we write down the number of times it occurred. This is called the absolute frequency of each value. In order to improve readability, it is customary to also write down the number of occurrences of each value as a percentage of the total number of values, the relative frequency.

Tabular representation of nominal data. An illustration of several nominal attributes in a single table.