





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Random Variable A random variable is real valued function defined on a sample space. The sample space is the set of all distinct outcomes possible for an experiment. Function : two sets’ (well defined collections of objects) members are paired so that each member of the one set ( domain ) is paired with one and only one member of the other set ( range ), although elements of the range may be paired with more than one element of the domain. The domain is the sample space, the range is a set of real numbers. A random variable is the set of pairs created by pairing each possible experimental outcome with one and only one real number. Examples: a.) the outcome of rolling a die: = 1, = 2, = 3, etc. (Each outcome has only one number, and, vice versa); b.) = 1, = 2, = 1, etc. (each outcome has (odd-even) only one number, but not vica versa); c.) The weight of each student in my statistics class. Probability and Probability Experiments A probability experiment is a well-defined act or process that leads to a single well defined outcome. Example: toss a coin (H or T), roll a die The probability of an event, P(A) is the fraction of times that event will occur in an indefinitely long series of trials of the experiment. This may be estimated: Empirically : conduct the experiment many times and compute total A N
the sample relative frequency of A. Roll die 1000 times, even numbers appear 510 times, P(even) = 510/1000 = .51 or 51%. Rationally or Analytically : make certain assumptions about the probabilities of the elementary events included in outcome A and compute probability by rules of probability. Assume each event 1,2,3,4,5,6 on die is equally likely. The sum of the probabilities of all possible events must equal one. Then P(1) = P(2) = P(3) = P(4) = P(5) = P(6) = 1/6. P (even) = P(2) + P(4) + P(6) = 1/6 + 1/6 + 1/6 = 1/ (addition rule) or 50%. Subjectively : a measure of an individual’s degree of belief assigned to a given event in whatever manner. I think that the probability that ECU will win its opening game of the season is 1/3 or 33%. This means I would accept 2:1 odds against ECU as a fair bet (if I bet $1 on ECU and they win, I get $2 in winnings). (^) Copyright 2009, Karl L. Wuensch - All rights reserved. Prob6430.doc
Independence, Mutual Exclusion, and Mutual Exhaustion Two events are independent iff (if and only if) the occurrence or non-occurrence of the one has no effect on the occurrence or non-occurrence of the other. Two events are mutually exclusive iff the occurrence of the one precludes occurrence of the other (both cannot occur simultaneously on any one trial). Two (or more) events are mutually exhaustive iff they include all possible outcomes. Marginal, Conditional, and Joint Probabilities The marginal probability of event A, P(A) , is the probability of A ignoring whether or not any other event has also occurred. The conditional probability of A given B, P(A|B) , is the probability that A will occur given that B has occurred. If A and B are independent, then P(A) = P(A|B). A joint probability is the probability that both of two events will occur simultaneously. The Multiplication Rule If two probabilities are independent , their joint probability is the product of their marginal probabilities, P(A B) = P(A) P(B). Regardless of the independence or nonindependence of A and B, the joint probability of A and B is: P(A B) = P(A) P(B|A) = P(B) P(A|B) The Addition Rule If A and B are mutually exclusive , the probability that either A or B will occur is the sum of their marginal probabilities, P(A B) = P(A) + P(B). Regardless of their exclusivity, P(A B) = P(A) + P(B) - P(A B)
Addition Rule Suppose that the probability distribution for final grades in PSYC 2101 were as follows: Grade A B C D F Probability .2 .3 .3 .15. The probability that a randomly selected student would get an A or a B, P(A B)P(A)P(B).2.3 .5, since A and B are mutually exclusive events. Now, consider our contingency table, and suppose that the “sleep” question was not about having sleep disturbances, but rather about “sleeping” with men (that is, being sexually active). Suppose that a fundamentalist preacher has told you that women who smoke go to Hades, and women who “sleep” go there too. What is the probability that a randomly selected woman from our sample is headed to Hades? If we were to apply the addition rule as we did earlier,
15 10 15 9 P(Sleep Smoke)P(Sleep)P(Smoke)-P(Sleep Smoke) Data From Correlated Variables Now, suppose that the “smoke” question concerned marijuana use, and the “sleep” question concerned sexual activity, variables known to be related. Sleep? Smoke? No Yes No 30 20 50 Yes 40 60 100 70 80 150
Marginal Probabilities
. 53 15 8 150 80 . 66 P(Sleep) 3 2 150 100 P(Smoke) Conditional Probabilities . 40 5 2 50 20 . 60 P(Sleep| Nosmoke) 5 3 10 6 100 60 P(Sleep | Smoke) Now our estimate of the probability that a randomly selected student “sleeps” depends on what we know about her smoking behavior. If we know nothing about her smoking behavior, our estimate is about 53%. If we know she smokes, our estimate is 60%. If we know she does not smoke, our estimate is 40%. We conclude that the two variables are correlated, that female students who smoke marijuana are more likely to be sexually active than are those who do not smoke. Multiplication Rule If we attempt to apply the multiplication rule to obtain the probability that a randomly selected student both sleeps and smokes, using the same method we employed with independent variables, we obtain: . 35 45 16 3 2 15 8 P(Sleep Smoke)P(Sleep)x P(Smoke) . This answer is, however, incorrect. Sixty of 150 students are smoking sleepers, so we should have obtained a probability of 6/15 = .40. The fact that the simple form of the multiplication rule (the one which assumes independence) did not produce the correct solution shows us that the two variables are not independent. If we apply the more general form of the multiplication rule, the one which does not assume independence, we get the correct solution: . 40. 15 6 5 3 3 2 P(Smoke Sleep)P(Smoke)P(Sleep| Smoke) Real Data Finally, here is an example using data obtained by Castellow, Wuensch, and Moore (1990, Journal of Social Behavior and Personality , 5, 547-562). We manipulated the physical attractiveness of the plaintiff and the defendant in a mock trial. The plaintiff was a young women suing her male boss for sexual harassment. Our earlier research had indicated that physical attractiveness is an asset for defendants in criminal trials (juries treat physically attractive defendants better than physically unattractive defendants), and we expected physical attractiveness to be an asset in civil cases as well. Here are the data relevant to the effect of the attractiveness of the plaintiff.
odds ratio here is 2.^50. 17 / 53 33 / 42 (^) Notice that the odds ratio is the same regardless of which perspective we take. This is not true of probability ratios (and is why I much prefer odds ratios over probability ratios). The ratio of [the probability of a not guilty verdict given the defendant is attractive] to [the probability of a not guilty verdict given that the defendant is not attractive] is 1.^81. 17 / 70 33 / 75 (^) With probability ratios the size of the ratio depends on whether you compare the probability of [A given B] to the probability of [A given not B], or, alternatively, compare the probability of [not A given B] to the probability of [not A given not B]. See also http://core.ecu.edu/psyc/wuenschk/StatHelp/OddsRatios.htm. If we consider the combined effects of physical attractiveness of both litigants, guilty verdicts were most likely when the plaintiff was attractive and the defendant was not, in which case 83% of the jurors recommended a guilty verdict. When the defendant was attractive but the plaintiff was not, only 41% of the jurors recommended a guilty verdict (and only 26% of the male jurors did). That produces an odds ratio of
41 / 59 83 / 17 (^) Clearly, it is to one’s advantage to appear physically attractive when in court.
The probability distribution of a discrete variable Y is the pairing of each value of Y with one and only one probability. The pairing may be by a listing, a graph, or some other specification of a functional rule, such as a formula. Every P(Y) must be between 0 and 1 inclusive, and the sum of all the P(Y)s must equal 1. For a continuous variable we work with a probability density function, defined by a formula or a figure (such as the normal curve). Imagine a relative frequency histogram with data grouped into 5 class intervals so there are 5 bars. Now increase the number of intervals to 10, then to 100, then 100,000, then an infinitely large number of intervals—now you have a smooth curve, the probability function. See my slide show at http://core.ecu.edu/ psyc/wuenschk/PP/Discrete2Continuous.ppt. There is an infinitely large number of points on the curve, so the probability of any one point is infinitely small. We can obtain the probability of a score falling in any particular interval a to b by setting the total area under the curve equal to 1 and measuring the area under the curve between a and b. This involves finding the definite integral of the probability density function from a to b. To avoid doing the calculus, we can, for some probability density functions (such as the normal), rely on tables or computer programs to compute the area.
Although technically a continuous variable is one where there is an infinite number of possible intermediate values between any pair of values, if a discrete variable can take on many possible values we shall treat it as a continuous variable.
Sampling N data points from a population is random if every possible different sample of size N was equally likely to be selected. We want our samples to be representative of the population to which we are making inferences. With moderately large random samples, we can be moderately confident that our sample is representative. The inferential statistics we shall use assume that random sampling is employed. In fact, we rarely if ever achieve truly random sampling, but we try to get as close to it as is reasonable. This definition differs from that given in Howell ("each and every element of the population has an equal chance of being selected"). A sampling procedure may meet Howell’s definition but not mine. For example, sampling from a population of 4 objects (A,B,C,& D) without replacement, N = 2, contrast sampling procedure X with Y: Probability Sample X Y AB 1/2 1/ AC 0 1/ AD 0 1/ BC 0 1/ BD 0 1/ CD 1/2 1/ If each time a single score is sampled, all scores in the population are equally likely to be selected, then a random sample will be obtained.
Suppose I have four flavors of ice cream and I wish to know how many different types of ice cream cones I can make using all four flavours. I shall consider order important, so chocolate atop vanilla atop strawberry atop pistachio is a different cone than vanilla atop strawberry atop pistachio atop chocolate. Each cone must have all four flavours. The simple rule to solve this problem is: There are X! ways to arrange X