Docsity

Sheldon M. Ross – Introductory Statistics, Sintesi del corso di Statistica

Toggle sidebar
bg1
Sheldon M. Ross – Introductory Statistics
Chapter 1 – Introduction to Statistics
The nature of Statistics
Statistics is the art of learning from data. It is concerned with the collection of data, their
subsequent description, and their analysis, which often leads to the drawing of conclusions.
Data collection
Sometimes a statistical analysis begins with a given set of data; for instance, the government
regularly collects and publicizes data about such quantities as the unemployment rate and the gross
domestic product. Statistics would then be used to describe, summarize, and analyze these data.
In other situations, data are not yet available, and statistics can be utilized to design an appropriate
experiment to generate data.
The part of statistics concerned with the description and summarization of data is called descriptive
statistics.
Inferential Statistics and Probability Models
The part of statistics concerned with the drawing of conclusions from data is called inferential
statistics.
To be able to draw a conclusion from the data, we must take into account the possibility of chance.
To be able to draw logical conclusions from data, it is usually necessary to make some assumptions
about the chances (or probabilities) of obtaining the different data values. The totality of these
assumptions is referred to as a probability model for the data.
Sometimes the nature of the data suggests the form of the probability model that is assumed. For
instance, suppose the data consist of the responses of a selected group of individuals to a question
about whether they are in favor of a senator’s welfare reform proposal. Provided that this group was
randomly selected, it is reasonable to suppose that each individual queried was in favor of the
proposal with probability P, where P represents the unknown proportion of all citizens in favor of
the proposal. The resultant data can then be used to make inferences about P.
In other situations, the appropriate probability model for a given data set will not be readily
apparent. However, a careful description and presentation of the data sometimes enable us to infer
a reasonable model, which we can then try to verify with the use of additional data.
Populations and samples
In statistics, we are interested in obtaining information about a total collection of elements, which
we will refer to as the population. The population is often too large for us to examine each of its
members. For instance, we might have all the residents of a given state, or all the television sets
produced in the last year by a particular manufacturer, or all the households in a given community.
In such cases, we try to learn about the population by choosing and then examining a subgroup of
its elements. This subgroup of a population is called a sample.
In order for the sample to be informative about the total population, it must be, in some sense,
representative of that population. A sample of k members of a population is said to be a random
sample, sometimes called a simple random sample, if the members are chosen in such a way that
all possible choices of the k members are equally likely.
Thus, although it may seem paradoxical, we are most likely to obtain a representative sample by
choosing its members in a totally random fashion without any prior considerations of the elements
pf3
pf4
pf5
pf8
pf9
pfa

Anteprima parziale del testo

Scarica Sheldon M. Ross – Introductory Statistics e più Sintesi del corso in PDF di Statistica solo su Docsity!

Sheldon M. Ross – Introductory Statistics

Chapter 1 – Introduction to Statistics

The nature of Statistics

Statistics is the art of learning from data. It is concerned with the collection of data, their subsequent description, and their analysis, which often leads to the drawing of conclusions.

Data collection

Sometimes a statistical analysis begins with a given set of data ; for instance, the government regularly collects and publicizes data about such quantities as the unemployment rate and the gross domestic product. Statistics would then be used to describe, summarize, and analyze these data. In other situations, data are not yet available, and statistics can be utilized to design an appropriate experiment to generate data. The part of statistics concerned with the description and summarization of data is called descriptive statistics.

Inferential Statistics and Probability Models

The part of statistics concerned with the drawing of conclusions from data is called inferential statistics. To be able to draw a conclusion from the data, we must take into account the possibility of chance. To be able to draw logical conclusions from data, it is usually necessary to make some assumptions about the chances (or probabilities) of obtaining the different data values. The totality of these assumptions is referred to as a probability model for the data. Sometimes the nature of the data suggests the form of the probability model that is assumed. For instance, suppose the data consist of the responses of a selected group of individuals to a question about whether they are in favor of a senator’s welfare reform proposal. Provided that this group was randomly selected, it is reasonable to suppose that each individual queried was in favor of the proposal with probability P , where P represents the unknown proportion of all citizens in favor of the proposal. The resultant data can then be used to make inferences about P. In other situations, the appropriate probability model for a given data set will not be readily apparent. However, a careful description and presentation of the data sometimes enable us to infer a reasonable model, which we can then try to verify with the use of additional data.

Populations and samples

In statistics, we are interested in obtaining information about a total collection of elements, which we will refer to as the population. The population is often too large for us to examine each of its members. For instance, we might have all the residents of a given state, or all the television sets produced in the last year by a particular manufacturer, or all the households in a given community. In such cases, we try to learn about the population by choosing and then examining a subgroup of its elements. This subgroup of a population is called a sample. In order for the sample to be informative about the total population, it must be, in some sense, representative of that population. A sample of k members of a population is said to be a random sample , sometimes called a simple random sample, if the members are chosen in such a way that all possible choices of the k members are equally likely. Thus, although it may seem paradoxical, we are most likely to obtain a representative sample by choosing its members in a totally random fashion without any prior considerations of the elements

that will be chosen. In other words, we need not attempt to deliberately choose the sample so that it contains, for instance, the same gender percentage and the same percentage of people in each profession as found in the general population. Rather, we should just leave it up to “chance” to obtain roughly the correct percentages.

Stratified Random Sampling

A more sophisticated approach to sampling than simple random sampling is the stratified random sampling approach. This approach, which requires more initial information about the population than does simple random sampling, can be explained as follows. In this type of sample, first the population is stratified into subpopulations, and then the correct number of elements is randomly chosen from each of the subpopulations. As a result, the proportions of the sample members that belong to each of the subpopulations are exactly the same as the proportions for the total population. Stratification is particularly effective for learning about the “ average ” member of the entire population when there are inherent differences between the subpopulations with respect to the question of interest.

A brief history of Statistics

A systematic collection of data on the population and the economy was begun in the Italian city- states of Venice and Florence during the Renaissance. The term statistics , derived from the word state, was used to refer to a collection of facts of interest to the state. The idea of collecting data spread from Italy to the other countries of western Europe. The high mortality rate in Europe before the 19th century was due mainly to epidemic diseases, wars, and famines. Among epidemics the worst were the plagues. Starting with the Black Plague in 1348, plagues recurred frequently for nearly 400 years. In 1562, as a way to alert the King’s court to consider moving to the countryside, the city of London began to publish weekly bills of mortality. Initially these mortality bills listed the places of death and whether a death had resulted from plague. Beginning in 1625, the bills were expanded to include all causes of death. In 1662 the English tradesman John Graunt published a book entitled Natural and Political Observations Made upon the Bills of Mortality. Graunt used the London bills of mortality to estimate the city’s population. For instance, to estimate the population of London in 1660, Graunt surveyed households in certain London parishes (or neighborhoods) and discovered that, on average, there were approximately 3 deaths for every 88 people. Dividing by 3 shows that, on average, there was roughly 1 death for every 88/3 people. Since the London bills cited 13, deaths in London for that year, Graunt estimated the London population to be about:

Graunt used this estimate to project a figure for all England. In his book he noted that these figures would be of interest to the rulers of the country, as indicators of both the number of men who could be drafted into an army and the number who could be taxed. Graunt also used the London bills of mortality—and some intelligent guesswork as to what diseases killed whom and at what age—to infer ages at death. Graunt then used this information to compute tables giving the proportion of the population that dies at various ages. Graunt’s estimates of the ages at which people were dying were of great interest to those in the business of selling annuities. Annuities are the opposite of life insurance, in that one pays in a lump sum as an investment and then receives regular payments for as long as one lives. Graunt’s work on mortality tables inspired further work by Edmund Halley in 1693. Halley, the discoverer of the comet bearing his name, used tables of mortality to compute the odds that a person of any age would live to any other particular age. Halley was influential in convincing the insurers of the time that an annual life insurance premium should depend on the age of the person being insured.

It is sometimes convenient to consider and plot the relative rather than the absolute frequencies of the data values. If f represents the frequency of occurrence of some data value x , then the relative frequency f/n can be plotted versus x , where n represents the total number of observations in the data set. A plot of the relative frequencies looks exactly like a plot of the absolute frequencies, except that the labels on the vertical axis are the old labels divided by the total number of observations in the data set.

Pie charts

A pie chart is often used to plot relative frequencies when the data are non-numeric. A circle is constructed and then is sliced up into distinct sectors, one for each different data value. The area of each sector, which is meant to represent the relative frequency of the value that the sector represents, is determined as follows. If the relative frequency of the data value is f / n , then the area of the sector is the fraction f / n of the total area of the circle.

Grouped data and histograms

For some data sets the number of distinct values is too large to utilize this approach. Instead, in such cases, we divide the values into groupings, or class intervals , and then plot the number of data values falling in each class interval. The number of class intervals chosen should be a trade-off between choosing too few classes at a cost of losing too much information about the actual data values in a class and choosing too many classes, which will result in the frequencies of each class being too small for a pattern to be discernible. The endpoints of a class interval are called the class boundaries. We will adopt the left-end inclusion convention , which stipulates that a class interval contains its left-end but not its right-end boundary point. Thus, for instance, the class interval 20–30 contains all values that are both greater than or equal to 20 and less than 30. It is important to recognize that a class frequency table or a histogram based on that table does not contain all the information in the original data set. These two representations note only the number of data values in each class and not the actual data values themselves. Thus, whereas such tables and charts are useful for illustrating data, the original raw data set should always be saved.

Stem-and-leaf plots

A very efficient way of displaying a small-to-moderate size data set is to utilize a stem-and-leaf plot. Such a plot is obtained by dividing each data value into two parts—its stem and its leaf. For instance, if the data are all two-digit numbers, then we could let the stem of a data value be the tens digit and the leaf be the ones digit. Stem-and-leaf plots are quite useful in showing all the data values in a clear representation that can be the first step in describing, summarizing, and learning from the data. It is most helpful in moderate-size data sets. Physically this plot looks like a histogram turned on its side, with the additional plus that it presents the original within-group data values. These within-group values can be quite valuable to help you discover patterns in the data, such as that all the data values are multiples of some common value, or find out which values occur most frequently within a stem group. Sometimes a stem-and-leaf plot appears to have too many leaves per stem line and as a result looks cluttered.

Sets of paired data

Sometimes a data set consists of pairs of values that have some relationship to each other. Each member of the data set is thought of as having an x value and a y value.

We often express the i th pair by the notation ( xi , yi ), i = 1,... , n. A useful way of portraying a data set of paired values is to plot the data on a two-dimensional rectangular plot with the x axis representing the x value of the data and the y axis representing the y value. Such a plot is called a scatter diagram.

Some historical comments

Probably the first recorded instance of statistical graphics—that is, the representation of data by tables or graphs—was Sir Edmund Halley ’s graphical analysis of barometric pressure as a function of altitude, published in 1686. Using the rectangular coordinate system introduced by the French scientist René Descartes in his study of analytic geometry, Halley plotted a scatter diagram and was then able to fit a curve to the plotted data. In spite of Halley’s demonstrated success with graphical plotting, almost all the applied scientists until the latter part of the 18th century emphasized tables rather than graphs in presenting their data. Indeed, it was not until 1786, when William Playfair invented the bar graph to represent a frequency table, that graphs began to be regularly employed. The use of graphs to represent continuous data—that is, data in which all the values are distinct— did not regularly appear until the 1830s. In 1833 the Frenchman A. M. Guerry applied the bar chart form to continuous crime data, by first breaking up the data into classes, to produce a histogram. Systematic development of the histogram was carried out by the Belgian statistician and social scientist Adolphe Quetelet about 1846. Quetelet and his students demonstrated the usefulness of graphical analysis in their development of the social sciences. The term histogram was first used by Karl Pearson in his 1895 lectures on statistical graphics. The stem-and-leaf plot, which is a variant of the histogram, was introduced by the U.S. statistician John Tukey in 1970.

Chapter 3 – Using Statistics to summarize Data sets

Sample mean

Suppose we have a sample of n data points whose values we designate by x 1, x 2,... , xn. One statistic for indicating the center of this data set is the sample mean , defined to equal the arithmetic average of the data values. The sample mean, which we designate by x (pronounced “x bar”), is defined by:

Deviations

Again suppose that sample data consist of the n values x1,... , xn and that x =_ is the samplemean. The differences between each of the data values and the sample mean are called deviations. A useful identity is that the sum of all the deviations must equal 0. That is,

This equality states that the sum of the positive deviations from the sample mean must exactly balance the sum of the negative deviations. In physical terms, this means that if n weights of equal mass are placed on a (weightless) rod at the points xi , i = 1,... , n , then x is the point at which the rod will be in balance. This balancing point is called the center of gravity.

Sample variance and sample standard deviation

Whereas so far we have talked about statistics that measure the central tendency of a data set, we have not yet considered ones that measure its spread or variability.

We call the event without any outcomes the null event, and designate it as Ø. If the intersection of A and B is the null event , then since A and B cannot simultaneously occur, we say that A and B are disjoint, or mutually exclusive.

Properties of probability

It is an empirical fact that if an experiment is continually repeated under the same conditions, then, for any event A , the proportion of times that the outcome is contained in A approaches some value as the number of repetitions increases. For example, if a coin is continually flipped, then the proportion of flips landing on tails will approach some value as the number of flips increases. It is this long-run proportion, or relative frequency , that we often have in mind when we speak of the probability of an event. Consider an experiment whose sample space is S. We suppose that for each event A there is a number, denoted P ( A ) and called the probability of event A , that is in accord with the following three properties:

  • PROPERTY 1: For any event A , the probability of A is a number between 0 and 1.That is, 0 ≤ P ( A ) ≤ 1
  • PROPERTY 2: The probability of sample space S is 1. Symbolically, P ( S ) = 1
  • PROPERTY 3: The probability of the union of disjoint events is equal to the sum of the probabilities of these events. For instance, if A and B are disjoint, then P ( A ∪ B ) = P ( A ) + P ( B )

Experiments having equally likely outcomes

For certain experiments it is natural to assume that each outcome in the sample space S is equally likely to occur. That is, if sample space S consists of N outcomes, say, S = {1, 2,... , N }, then it is often reasonable to suppose that P ({1}) = P ({2}) = · · · = P ({ N }) In this expression, P ({ i }) is the probability of the event consisting of the single outcome i ; that is, it is the probability that the outcome of the experiment is i. Using the properties of probability, we can show that the foregoing implies that the probability of any event A is equal to the proportion of the outcomes in the sample space that is in A. That is,

P ( A ) =

Conditional probability and independence

We are often interested in determining probabilities when some partial information concerning the outcome of the experiment is available. In such situations, the probabilities are called conditional probabilities. As an example of a conditional probability, suppose two dice are to be rolled. Then, the sample space of this experiment is the set of 36 outcomes ( i , j ), where both i and j range from 1 through 6. The outcome ( i , j ) results when the first die lands on i and the second on j. Suppose that each of the 36 possible outcomes is equally likely to occur and thus has probability 1/36 (When this is the case, we say that the dice are fair ). Suppose further that the first die lands on

  1. Given this information, what is the resulting probability that the sum of the dice is 10? To determine this probability, we reason as follows. Given that the first die lands on 4, there are 6 possible outcomes of the experiment, namely,

(4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6)

In addition, since these outcomes initially had the same probabilities of occurrence, they should still have equal probabilities. That is, given that the first die lands on 4, the conditional probability of each of the outcomes should be 1/6. Since in only one of the outcomes is the sum of the dice equal to 10, namely, the outcome (4, 6), it follows that the conditional probability that the sum is 10, given that the first die lands on 4, is 1/6. If we let B denote the event that the sum of the dice is 10 and let A denote the event that the first die lands on 4, then the probability obtained is called the conditional probability of B given that A has occurred.

Therefore, of those experiments whose outcomes are in A , the proportion whose outcome is also in B is approximately equal to:

Counting principles

We often determine probabilities by counting the number of different outcomes in a specified event. The key to doing this effectively is to make use of the following rule, known as the basic principle of counting. Suppose an experiment consists of two parts. If part 1 can result in any of n possible outcomes and if for each outcome of part 1 there are m possible outcomes of part 2, then there is a total of nm possible outcomes of the experiment. When the experiment consists of more than two parts, the basic principle can be generalized as follows. Suppose an experiment consists of r parts. Suppose there are n 1 possible outcomes of part 1 and then n 2 possible outcomes of part 2 and then n 3 possible outcomes of part 3, and so on. Then there is a total of n 1 · n 2 · · · nr possible outcomes of the experiment. As an application of the generalized principle, suppose that we want to determine the number of different ways that the three letters a , b , c can be arranged in a linear.

Chapter 5 – Discrete Random Variables

Random variables

When a probability experiment is performed, often we are not interested in all the details of the experimental result, but rather are interested in the value of some numerical quantity determined by the result. For instance, in tossing dice, often we care about only their sum and are not concerned about the values on the individual dice. Also, an investor might not be interested in all the changes in the price of a stock on a given day, but rather might care about only the price at the end of the day. These quantities of interest that are determined by the result of the experiment are known as random variables. Since the value of a random variable is determined by the outcome of the experiment, we may assign probabilities to its possible values. A random variable is said to be discrete if its possible values constitute a sequence of separated points on the number line. Thus, for instance, any random variable that can take on only a finite number of different values is discrete. The collection of these probabilities is called the probability distribution of X. Since X must take on one of these n values, we know that P { X = xi } = 1

Expected value

A key concept in probability is the expected value of a random variable. If X is a discrete random variable that takes on one of the possible values x 1, x 2,... , xn , then the expected value of X , denoted by E [ X ], is defined by:

Whereas the expected value of the sum of random variables is always equal to the sum of the expectations, the corresponding result for variances is generally not true. Random variables X and Y are independent if knowing the value of one of them does not change the probabilities of the other.

Chapter 6 – Normal Random Variables

Continuous Random Variables

Whereas the possible values of a discrete random variable can be written as a sequence of isolated values, a continuous random variable is one whose set of possible values is an interval. That is, a continuous random variable is able to take on any value within some interval. Every continuous random variable X has a curve associated with it. This curve, formally known as a probability density function , can be used to obtain probabilities associated with the random variable. This is accomplished as follows. Consider any two points a and b , where a is less than b. The probability that X assumes a value that lies between a and b is equal to the area under the curve between a and b. That is, P { a ≤ X ≤ b } = area under curve between a and b

Also, since the area under the graph of the probability density function between points a and b is the same regardless of whether the endpoints a and b are themselves included, we see that:

P { a ≤ X ≤ b } = P { a < X < b }

Normal Random Variables

The most important type of random variable is the normal random variable. The probability density function of a normal random variable X is determined by two parameters: the expected value and the standard deviation of X. We designate these values as μ and σ, respectively. That is, we will let:

μ = E [ X ] and σ = SD( X )

The normal probability density function is a bell-shaped density curve that is symmetric about the value μ. Its variability is measured by σ. The larger σ is, the more variability there is in this curve. Because the probability density function of a normal random variable X is symmetric about its expected value μ, it follows that X is equally likely to be on either side of μ. That is,

P { X < μ} = P { X > μ} = 1/

Not all bell-shaped symmetric density curves are normal. The normal density curves are specified by a particular formula: The height of the curve above point x on the abscissa is

A normal random variable having mean value 0 and standard deviation 1 is called a standard normal random variable, and its density curve is called the standard normal curve.

Probabilities associated with a standard Normal Random Variable

Let Z be a standard normal random variable. That is, Z is a normal random variable with mean 0 and standard deviation 1. The probability that Z is between two numbers a and b is equal to the area

under the standard normal curve between a and b. Areas under this curve have been computed, and tables have been prepared that enable us to find these probabilities.

Finding Normal Probabilities: conversione to the standard normal

Let X be a normal random variable with mean μ and standard deviation σ. We can determine probabilities concerning X by using the fact that the variable Z, defined by

Z =

has a standard normal distribution. That is, if we standardize a normal random variable by subtracting its mean and then dividing by its standard deviation, the resulting variable has a standard normal distribution. The value of the standardized variable tells us how many standard deviations the original variable is from its mean.

Additive propertive of Normal Random Variables

The fact that Z = ( X − μ)/σ is a standard normal random variable follows from the fact that if one either adds or multiplies a normal random variable by a constant, then the resulting random variable remains normal. As a result, if X is normal with mean μ and standard deviation σ, then Z = ( X − μ)/σ also will be normal. It is now easy to verify that Z has expected value 0 and variance 1. An important fact about normal random variables is that the sum of independent normal random variables is also a normal random variable. That is, if X and Y are independent normal random variables with respective parameters μ x , σ x and μ y , σ y , then X + Y also will be normal. Its mean value will be E [ X + Y ] = E [ X ] + E [ Y ] = μ x + μ y

Its variance is

Var( X + Y ) = Var( X ) + Var( Y ) = +

Then X + Y is normal with mean

E [ X + Y ] = μ x + μ y

and standard deviation

SD( X + Y ) =

Percentiles of Normal Random Variables

For any α between 0 and 1, we define z α to be that value for which

P { Z > z α} = α

In words, the probability that a standard normal random variable is greater than z α is equal to α.