Successfully reported this slideshow.
Upcoming SlideShare
×

# Finals Stat 1

5,001 views

Published on

• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

### Finals Stat 1

1. 1. PROBABILITY AND STATISTICS BY ENGR. JORGE P. BAUTISTA
2. 2. COURSE OUTLINE <ul><li>Introduction to Statistics </li></ul><ul><li>Tabular and Graphical representation of Data </li></ul><ul><li>Measures of Central Tendencies, Locations and Variations </li></ul><ul><li>Measure of Dispersion and Correlation </li></ul><ul><li>Probability and Combinatorics </li></ul><ul><li>Discrete and Continuous Distributions </li></ul><ul><li>Hypothesis Testing </li></ul>
3. 3. Text and References <ul><li>Statistics: a simplified approach by Punsalan and Uriarte, 1998, Rex Texbook </li></ul><ul><li>Probability and Statistics by Johnson, 2008, Wiley </li></ul><ul><li>Counterexamples in Probability and Statistics by Romano and Siegel, 1986, Chapman and Hall </li></ul>
4. 4. Introduction to Statistics <ul><li>Definition </li></ul><ul><li>In its plural sense, statistics is a set of numerical data e.g. Vital statistics, monthly sales, exchange rates, etc. </li></ul><ul><li>In its singular sense, statistics is a branch of science that deals with the collection, presentation, analysis and interpretation of data. </li></ul>
5. 5. General uses of Statistics <ul><li>Aids in decision making by providing comparison of data, explains action that has taken place, justify a claim or assertion, predicts future outcome and estimates un known quantities </li></ul><ul><li>Summarizes data for public use </li></ul>
6. 6. Examples on the role of Statistics <ul><li>In Biological and medical sciences, it helps researchers discover relationship worthy of further attention. </li></ul><ul><li>Ex. A doctor can use statistics to determine to what extent is an increase in blood pressure dependent upon age </li></ul><ul><li>- In social sciences, it guides researchers and helps them support theories and models that cannot stand on rationale alone. </li></ul><ul><li>Ex. Empirical studies are using statistics to obtain socio-economic profile of the middle class to form new socio-political theories. </li></ul>
7. 7. Con’t <ul><li>In business, a company can use statistics to forecast sales, design products, and produce goods more efficiently. </li></ul><ul><li>Ex. A pharmaceutical company can apply statistical procedures to find out if the new formula is indeed more effective than the one being used. </li></ul><ul><li>In Engineering, it can be used to test properties of various materials, </li></ul><ul><li>Ex. A quality controller can use statistics to estimate the average lifetime of the products produced by their current equipment. </li></ul>
8. 8. Fields of Statistics <ul><li>Statistical Methods of Applied Statistics: </li></ul><ul><li>Descriptive-comprise those methods concerned with the collection, description, and analysis of a set of data without drawing conclusions or inferences about a larger set. </li></ul><ul><li>Inferential-comprise those methods concerned with making predictions or inferences about a larger set of data using only the information gathered from a subset of this larger set. </li></ul>
9. 9. con’t <ul><li>b. Statistical theory of mathematical statistics- deals with the development and exposition of theories that serve as a basis of statistical methods </li></ul>
10. 10. Descriptive VS Inferential <ul><li>DESCRIPTIVE </li></ul><ul><li>A bowler wants to find his bowling average for the past 12 months </li></ul><ul><li>A housewife wants to determine the average weekly amount she spent on groceries in the past 3 months </li></ul><ul><li>A politician wants to know the exact number of votes he receives in the last election </li></ul><ul><li>INFERENTIAL </li></ul><ul><li>A bowler wants to estimate his chance of winning a game based on his current season averages and the average of his opponents. </li></ul><ul><li>A housewife would like to predict based on last year’s grocery bills, the average weekly amount she will spend on groceries for this year. </li></ul><ul><li>A politician would like to estimate based on opinion polls, his chance for winning in the upcoming election. </li></ul>
11. 11. Population as Differrentiated from Sample <ul><li>The word population refers to groups or aggregates of people, animals, objects, materials, happenings or things of any form, this means that there are populations of students, teachers, supervisors, principals, laboratory animals, trees, manufactured articles, birds and many others. If your interest is on few members of the population to represent their characteristics or traits, these members constitute a sample. The measures of the population are called parameters, while those of the sample are called estimates or statistics. </li></ul>
12. 12. The Variable <ul><li>It refers to a characteristic or property whereby the members of the group or set vary or differ from one another. However, a constant refers to a property whereby the members of the group do not differ one another. </li></ul><ul><li>Variables can be according to functional relationship which is classified as independent and dependent. If you treat variable y as a function of variable z, then z is your independent variable and y is your dependent variable. This means that the value of y, say academic achievement depends on the value of z. </li></ul>
13. 13. Con’t <ul><li>Variables according to continuity of values. </li></ul><ul><li>1. Continuous variable – these are variables whose levels can take continuous values. Examples are height, weight, length and width. </li></ul><ul><li>2. Discrete variables – these are variables whose values or levels can not take the form of a decimal. An example is the size of a particular family. </li></ul>
14. 14. Con’t <ul><li>Variables according to scale of measurements: </li></ul><ul><li>1. Nominal – this refers to a property of the members of a group defined by an operation which allows making of statements only of equality or difference. For example, individuals can be classified according to thier sex or skin color. Color is an example of nominal variable. </li></ul>
15. 15. Con’t <ul><li>2. Ordinal – it is defined by an operation whereby members of a particular group are ranked. In this operation, we can state that one member is greater or less that the others in a criterion rather than saying that he/it is only equal or different from the others such as what is meant by the nominal variable. </li></ul><ul><li>3. Interval – this refers to a property defined by an operation which permits making statement of equality of intervals rather than just statement of sameness of difference and greater than or less than. An interval variable does not have a “true” zero point.; althought for convenience, a zero point may be assigned. </li></ul>
16. 16. Con’t <ul><li>4. Ratio – is defined by the operation which permits making statements of equality of ratios in addition to statements of sameness or difference, greater than or less than and equality or inequality of differences. This means that one level or value may be thought of or said as double, triple or five times another and so on. </li></ul>
17. 17. Assignment no. 1 <ul><li>Make a list of at least 5 mathematician or scientist that contributes in the field of statistics. State their contributions </li></ul><ul><li>With your knowledge of statistics, give a real life situation how statistics is applied. Expand your answer. </li></ul><ul><li>When can a variable be considered independent and dependent? Give an example for your answer. </li></ul>
18. 18. Con’t <ul><li>IV. Enumerate some uses of statistics. Do you think that any science will develop without test of the hypothesis? Why? </li></ul>
19. 19. Examples of Scales of Measurement <ul><li>1.Nominal Level </li></ul><ul><li>Ex. Sex: M-Male F-Female </li></ul><ul><li>Marital Status: 1-single 2- married 3- widowed 4- separated </li></ul><ul><li>2. Ordinal Level </li></ul><ul><li>Ex. Teaching Ratings: 1-poor 2-fair 3- good 4- excellent </li></ul>
20. 20. Con’t <ul><li>3. Interval Level </li></ul><ul><li>Ex. IQ, temperature </li></ul><ul><li>4. Ratio Level </li></ul><ul><li>Ex. Age, no. of correct answers in exam </li></ul>
21. 21. Data Collection Methods <ul><li>Survey Method – questions are asked to obtain information, either through self administered questionnaire or personal interview. </li></ul><ul><li>Observation Method – makes possible the recording of behavior but only at the time of occurrence (ex. Traffic count, reactions to a particular stimulus) </li></ul>
22. 22. Con’t <ul><li>3. Experimental method – a method designed for collecting data under controlled conditions. An experiment is an operation where there is actual human interference with the conditions that can affect the variable under study. </li></ul><ul><li>4. Use of existing studies – that is census, health statistics, weather reports. </li></ul><ul><li>5. Registration method – that is car registration, student registration, hospital admission and ticket sales. </li></ul>
23. 23. Tabular Representation <ul><li>Frequency Distribution is defined as the arrangement of the gathered data by categories plus their corresponding frequencies and class marks or midpoint. It has a class frequency containing the number of observations belonging to a class interval. Its class interval contain a grouping defined by the limits called the lower and the upper limit. Between these limits are called class boundaries. </li></ul>
24. 24. Frequency of a Nominal Data Male and Female College students Major in Chemistry 130 TOTAL 107 FEMALE 23 MALE FREQUENCY SEX
25. 25. Frequency of Ordinal Data Ex. Frequency distribution of Employee Perception on the Behavior of their Administrators 100 total 31 Strongly unfavorable 22 Unfavorable 14 Slightly unfavorable 12 Slightly favorable 11 favorable 10 Strongly favorable Frequency Perception
26. 26. Frequency Distribution Table <ul><li>Definition: </li></ul><ul><li>Raw data – is the set of data in its original form </li></ul><ul><li>Array – an arrangement of observations according to their magnitude, wither in increasing or decreasing order. </li></ul><ul><li>Advantages: easier to detect the smallest and largest value and easy to find the measures of position </li></ul>
27. 27. Grouped Frequency of Interval Data <ul><li>Given the following raw scores in Algebra Examination, </li></ul><ul><li>56 42 28 56 41 56 55 59 </li></ul><ul><li>50 55 57 38 62 52 66 65 </li></ul><ul><li>33 34 37 47 42 68 62 54 </li></ul><ul><li>68 48 56 39 77 80 62 71 </li></ul><ul><li>57 52 60 70 </li></ul>
28. 28. <ul><li>Compute the range: R = H – L and the number of classes by K = 1 + 3.322log n where n = number of observations. </li></ul><ul><li>Divide the range by 10 to 15 to determine the acceptable size of the interval. Hint: most frequency distribution have odd numbers as the size of the interval. The advantage is that the midpoints of the intervals will be whole number. </li></ul><ul><li>Organize the class interval. See to it that the lowest interval begins with a number that is multiple of the interval size. </li></ul>
29. 29. <ul><li>4. Tally each score to the category of class interval it belongs to. </li></ul><ul><li>5. Count the tally columns and summarizes it under column (f). Then add the frequency which is the total number of the cases (N). </li></ul><ul><li>6. Determine the class boundaries. UCB and LCB.(upper and lower class boundary) </li></ul><ul><li>7. Compute the midpoint for each class interval and put it in the column (M). </li></ul><ul><li>M = (LS + HS) / 2 </li></ul>
30. 30. <ul><li>8. Compute the cumulative distribution for less than and greater than and put them in column cf< and cf>. (you can now interpret the data). cf = cumulative frequency </li></ul><ul><li>9. Compute the relative frequency distribution. This can be obtained by </li></ul><ul><li>RF% = CF/TF x 100% </li></ul><ul><li>CF = CLASS FREQUENCY </li></ul><ul><li>TF = TOTAL FREQUENCY </li></ul>
31. 31. Graphical Representation <ul><li>The data can be graphically presented according to their scale or level of measurements. </li></ul><ul><li>1. Pie chart or circle graph. The pie chart at the right is the enrollment from elementary to master’s degree of a certain university. The total population is 4350 students </li></ul>
32. 32. <ul><li>2. Histogram or bar graph- this graphical representation can be used in nominal, ordinal or interval. For nominal bar graph, the bars are far apart rather than connected since the categories are not continuous. For ordinal and interval data, the bars should be joined to emphasize the degree of differences </li></ul>
33. 33. Given the bar graph of how students rate their library. <ul><li>A-strongly favorable, 90 </li></ul><ul><li>B-favorable, 48 </li></ul><ul><li>C-slightly favorable, 88 </li></ul><ul><li>D-slightly unfavorable, 48 </li></ul><ul><li>E-unfavorable, 15 </li></ul><ul><li>F-strongly unfavorable, 25 </li></ul>
34. 34. The Histogram of Person’s Age with Frequency of Travel 100% 51 total 3.9% 2 27-28 7.8% 4 25-26 7.8% 4 23-24 41.2% 21 21-22 39.2% 20 19-20 RF freq age
35. 35. Exercises <ul><li>From the previous grouped data on algebra scores, </li></ul><ul><li>Draw its histogram using the frequency in the y axis and midpoints in the x axis. </li></ul><ul><li>Draw the line graph or frequency polygon using frequency in the y axis and midpoints in the x axis. </li></ul><ul><li>Draw the less than and greater than ogives of the data. Ogives is a cumulation of frequencies by class intervals. Let the y axis be the CF> and x axis be LCB while y axis be CF< and x axis be UCB </li></ul>
36. 36. Con’t <ul><li>d. Plot the relative frequency using the y axis as the relative frequency in percent value while in the x axis the midpoints. </li></ul>
37. 40. Assignment No. 2 <ul><li>Given the score in a statistics examinations, </li></ul><ul><li>38 56 35 70 44 81 44 80 </li></ul><ul><li>45 72 45 50 51 51 52 66 </li></ul><ul><li>54 53 56 84 58 56 57 70 </li></ul><ul><li>56 39 56 59 72 63 89 63 </li></ul><ul><li>69 65 61 62 64 64 69 60 </li></ul><ul><li>53 66 66 67 67 68 68 69 </li></ul><ul><li>66 67 70 59 40 71 73 60 </li></ul><ul><li>73 73 73 73 73 74 73 73 </li></ul><ul><li>79 74 74 70 73 46 74 74 </li></ul><ul><li>74 75 75 76 55 77 78 73 </li></ul><ul><li>48 81 44 84 77 88 63 85 </li></ul><ul><li>73 </li></ul>
38. 41. <ul><li>Construct the class interval, frequency table, class midpoint(use a whole number midpoint), less than and greater than cumulative frequency, upper and lower boundary and relative frequency. </li></ul><ul><li>Plot the histogram, frequency polygon, and ogives </li></ul>
39. 42. <ul><li>3. Draw the pie chart and bar graph of the plans of computer science students with respect to attending a seminar. Compute for the Relative frequency of each. </li></ul><ul><li>A-will not attend=45 </li></ul><ul><li>B-probably will not attend=30 </li></ul><ul><li>C-probably will attend=40 </li></ul><ul><li>D-will attend=25 </li></ul>
40. 43. Measures of Centrality and Location <ul><li>Mean for Ungrouped Data </li></ul><ul><li>X’ = Σ X / N </li></ul><ul><li>where X’ = the mean </li></ul><ul><li>Σ X = the sum of all scores/data </li></ul><ul><li>N = the total number of cases </li></ul><ul><li>Mean for Grouped Data </li></ul><ul><li>X’ = Σ fM / N </li></ul><ul><li>where X’ = the mean </li></ul><ul><li>M = the midpoint </li></ul><ul><li>fM = the product of the frequency and each midpoint </li></ul><ul><li>N = total number of cases </li></ul>
41. 44. <ul><li>Ex. </li></ul><ul><li>Find the mean of 10, 20, 25,30, 30, 35, 40 and 50. </li></ul><ul><li>Given the grades of 50 students in a statistics class </li></ul><ul><li>Class interval f </li></ul><ul><li>10-14 4 </li></ul><ul><li>15-19 3 </li></ul><ul><li>20-24 12 </li></ul><ul><li>25-29 10 </li></ul><ul><li>30-34 6 </li></ul><ul><li>35-39 6 </li></ul><ul><li>40-44 6 </li></ul><ul><li>45-49 3 </li></ul>
42. 45. <ul><li>The weighted mean. The weighted arithmetic mean of given groups of data is the average of the means of all groups </li></ul><ul><li>WX’ = Σ Xw / N </li></ul><ul><li>where WX’ = the weighted mean </li></ul><ul><li>w = the weight of X </li></ul><ul><li>Σ Xw = the sum of the weight of X’s </li></ul><ul><li>N = Σ w = the sum of the weight of X </li></ul>
43. 46. <ul><li>Ex. </li></ul><ul><li>Find the weighted mean of four groups of means below: </li></ul><ul><li>Group, i 1 2 3 4 </li></ul><ul><li>X i 60 50 70 75 </li></ul><ul><li>W i 10 20 40 50 </li></ul>
44. 47. <ul><li>Median for Ungrouped Data </li></ul><ul><li>The median of ungrouped data is the centermost scores in a distribution. </li></ul><ul><li>Mdn = (X N/2 + X (N + 2)/2 ) / 2 if N is even </li></ul><ul><li>Mdn = X (1+N)/2 if N is odd </li></ul><ul><li>Ex. Find the median of the following sets of score: </li></ul><ul><li>Score A: 12, 15, 19, 21, 6, 4, 2 </li></ul><ul><li>Score B: 18, 22, 31, 12, 3, 9, 11, 8 </li></ul>
45. 48. <ul><li>Median for Grouped Data </li></ul><ul><li>Procedure: </li></ul><ul><li>Compute the cumulative frequency less than. </li></ul><ul><li>Find N/2 </li></ul><ul><li>Locate the class interval in which the middle class falls, and determine the exact limit of this interval. </li></ul><ul><li>Apply the formula </li></ul><ul><li>Mdn = L + [(N/2 – F)i]/fm </li></ul><ul><li>where L = exact lower limit interval containing the median class </li></ul><ul><li>F = The sum of all frequencies preceeding L. </li></ul><ul><li>fm = Frequency of interval containing the median class </li></ul><ul><li>i = class interval </li></ul><ul><li>N = total number of cases </li></ul>
46. 49. <ul><li>Ex. </li></ul><ul><li>Find the median of the given frequency table. </li></ul><ul><li>class interval f cf< </li></ul><ul><li>25-29 3 3 </li></ul><ul><li>30-34 5 8 </li></ul><ul><li>35-39 10 18 </li></ul><ul><li>40-44 15 33 </li></ul><ul><li>45-49 15 48 </li></ul><ul><li>50-54 15 63 </li></ul><ul><li>55-59 21 84 </li></ul><ul><li>60-64 8 92 </li></ul><ul><li>65-69 6 98 </li></ul><ul><li>70-74 2 100 </li></ul>
47. 50. <ul><li>Mode of Ungrouped Data </li></ul><ul><li>It is defined as the data value or specific score which has the highest frequency. </li></ul><ul><li>Find the mode of the following data. </li></ul><ul><li>Data A : 10, 11, 13, 15, 17, 20 </li></ul><ul><li>Data B: 2, 3, 4, 4, 5, 7, 8, 10 </li></ul><ul><li>Data C: 3.5, 4.8, 5.5, 6.2, 6.2, 6.2, 7.3, 7.3, 7.3, 8.8 </li></ul>
48. 51. <ul><li>Mode of Grouped Data </li></ul><ul><li>For grouped data, the mode is defined as the midpoint of the interval containing the largest number of cases. </li></ul><ul><li>Mdo = L + [d 1 /(d 1 + d 2 )]i </li></ul><ul><li>where L = exact lower limit interval containing the modal class. </li></ul><ul><li>d 1 = the difference of the modal class and the frequency of the interval preceding the modal class </li></ul><ul><li>d 2 = the difference of the modal class and the frequency of the interval after the modal class. </li></ul>
49. 52. <ul><li>Ex. </li></ul><ul><li>Find the mode of the given frequency table. </li></ul><ul><li>class interval f cf< </li></ul><ul><li>25-29 3 3 </li></ul><ul><li>30-34 5 8 </li></ul><ul><li>35-39 10 18 </li></ul><ul><li>40-44 15 33 </li></ul><ul><li>45-49 15 48 </li></ul><ul><li>50-54 15 63 </li></ul><ul><li>55-59 21 84 </li></ul><ul><li>60-64 8 92 </li></ul><ul><li>65-69 6 98 </li></ul><ul><li>70-74 2 100 </li></ul>
50. 53. Exercises <ul><li>Determine the mean, median and mode of the age of 15 students in a certain class. </li></ul><ul><li>15, 18, 17, 16, 19, 18, 23 , 24, 18, 16, 17, 20, 21, 19 </li></ul><ul><li>2. To qualify for scholarship, a student should have garnered an average score of 2.25. determine if the a certain student is qualified for a scholarship. </li></ul>
51. 54. <ul><li>Subject no. of units grade </li></ul><ul><li>A 1 2.0 </li></ul><ul><li>B 2 3.0 </li></ul><ul><li>C 3 1.5 </li></ul><ul><li>D 3 1.25 </li></ul><ul><li>E 5 2.0 </li></ul>
52. 55. <ul><li>Find the mean, median and mode of the given grouped data. </li></ul><ul><li>Classes f </li></ul><ul><li>11-22 2 </li></ul><ul><li>23-34 8 </li></ul><ul><li>35-46 11 </li></ul><ul><li>47-58 19 </li></ul><ul><li>59-70 14 </li></ul><ul><li>71-82 5 </li></ul><ul><li>83-94 1 </li></ul>
53. 56. <ul><li>Quartiles refer to the values that divide the distribution into four equal parts. There are 3 quartiles represented by Q 1 , Q 2 and Q 3 . The value Q 1 refers to the value in the distribution that falls on the first one fourth of the distribution arranged in magnitude. In the case of Q 2 or the second quartile, this value corresponds to the median. In the case of third quartile or Q 3 , this value corresponds to three fourths of the distribution. </li></ul>
54. 58. <ul><li>For grouped data, the computing formula of the kth quartile where k = 1,2,3,4,… is given by </li></ul><ul><li>Q k = L + [(kn/4 - F)/fm]Ii </li></ul><ul><li>Where L = lower class boundary of the kth quartile class </li></ul><ul><li>F = cumulative frequency before the kth quartile class </li></ul><ul><li>fm = frequency before the kth quartile </li></ul><ul><li>i = size of the class interval </li></ul>
55. 59. Exercises <ul><li>Compute the value of the first and third quartile of the given data </li></ul><ul><li>class interval f cf< </li></ul><ul><li>25-29 3 3 </li></ul><ul><li>30-34 5 8 </li></ul><ul><li>35-39 10 18 </li></ul><ul><li>40-44 15 33 </li></ul><ul><li>45-49 15 48 </li></ul><ul><li>50-54 15 63 </li></ul><ul><li>55-59 21 84 </li></ul><ul><li>60-64 8 92 </li></ul><ul><li>65-69 6 98 </li></ul><ul><li>70-74 2 100 </li></ul>
56. 60. <ul><li>Decile: </li></ul><ul><li>If the given data is divided into ten equal parts, then we have nine points of division known as deciles. It is denoted by D 1 , D 2 , </li></ul><ul><li>D 3 , D 4 …and D 9 </li></ul><ul><li>D k = L + [(kn/10 – F)/fm] I </li></ul><ul><li>Where k = 1,2,3,4 …9 </li></ul>
57. 61. Exercises <ul><li>Compute the value of the third, fifth and seventh decile of the given data </li></ul><ul><li>class interval f cf< </li></ul><ul><li>25-29 3 3 </li></ul><ul><li>30-34 5 8 </li></ul><ul><li>35-39 10 18 </li></ul><ul><li>40-44 15 33 </li></ul><ul><li>45-49 15 48 </li></ul><ul><li>50-54 15 63 </li></ul><ul><li>55-59 21 84 </li></ul><ul><li>60-64 8 92 </li></ul><ul><li>65-69 6 98 </li></ul><ul><li>70-74 2 100 </li></ul>
58. 62. <ul><li>Percentile- refer to those values that divide a distribution into one hundred equal parts. There are 99 percentiles represented by P 1 , P 2 , P 3 , P 4 , P 5 , …and P 99 . when we say 55 th percentile we are referring to that value at or below 55/100 th of the data. </li></ul><ul><li>P k = L + [(kn/100 – F)/fm]i </li></ul><ul><li>Where k = 1,2,3,4,5,…99 </li></ul>
59. 63. Exercises <ul><li>Compute the value of the 30 th , 55 th , 68 th and 88 th percentile of the given data </li></ul><ul><li>class interval f cf< </li></ul><ul><li>25-29 3 3 </li></ul><ul><li>30-34 5 8 </li></ul><ul><li>35-39 10 18 </li></ul><ul><li>40-44 15 33 </li></ul><ul><li>45-49 15 48 </li></ul><ul><li>50-54 15 63 </li></ul><ul><li>55-59 21 84 </li></ul><ul><li>60-64 8 92 </li></ul><ul><li>65-69 6 98 </li></ul><ul><li>70-74 2 100 </li></ul>
60. 64. Assignment no. 3 <ul><li>The rate per hour in pesos of 12 employees of a certain company were taken and are shown below. </li></ul><ul><li>44.75, 44.75, 38.15, 39.25, 18.00, 15.75, 44.75, 39.25, 18.50, 65.25, 71.25, 77.50 </li></ul><ul><li>Find the mean, median and mode. </li></ul><ul><li>If the value 15.75 was incorrectly written as 45.75, what measure of central tendency will be affected? Support your answer. </li></ul>
61. 65. <ul><li>II. The final grades of a student in six subjects were tabulated below. </li></ul><ul><li>Subj units final grade </li></ul><ul><li>Algebra 3 60 </li></ul><ul><li>Religion 2 90 </li></ul><ul><li>English 3 75 </li></ul><ul><li>Pilipino 3 86 </li></ul><ul><li>PE 1 98 </li></ul><ul><li>History 3 70 </li></ul><ul><li>Determine the weighted mean </li></ul><ul><li>If the subjects were of equal number of units, what would be his average? </li></ul>
62. 66. <ul><li>III. The ages of qualified voters in a certain barangay were taken and are shown below </li></ul><ul><li>Class Interval Frequency </li></ul><ul><li>18-23 20 </li></ul><ul><li>24-29 25 </li></ul><ul><li>30-35 40 </li></ul><ul><li>36-41 52 </li></ul><ul><li>42-47 30 </li></ul><ul><li>48-53 21 </li></ul><ul><li>54-59 12 </li></ul><ul><li>60-65 6 </li></ul><ul><li>66-71 4 </li></ul><ul><li>72-77 1 </li></ul>
63. 67. <ul><li>Find the mean, median and mode </li></ul><ul><li>Find the 1 st and 3 rd quantile </li></ul><ul><li>Find the 4 th and 6 th decile </li></ul><ul><li>Find the 25 th and 75 th percentile </li></ul>
64. 68. Measure of Variation <ul><li>The range is considered to be the simplest form of measure of variation. It is the difference between the highest and the lowest value in the distribution. </li></ul><ul><li>R = H – L </li></ul><ul><li>For grouped data, the3 difference between the highest upper class boundary and the lowest lower class boundary. </li></ul><ul><li>Example: find the range of the given grouped data in slide no. 59 </li></ul>
65. 69. Semi-inter Quartile Range <ul><li>This value is obtained by getting one half of the difference between the third and the first quartile. </li></ul><ul><li>Q = (Q 3 – Q 1 )/2 </li></ul><ul><li>Example: </li></ul><ul><li>Find the semin-interquartile range of the previous example in slide no. 59 </li></ul>
66. 70. Average Deviation <ul><li>The average deviation refers to the arithmetic mean of the absolute deviations of the values from the mean of the distribution. This measure is sometimes known as the mean absolute deviation. </li></ul><ul><li>AD = Σ│ x – x’ │ / n </li></ul><ul><li>Where x = the individual values </li></ul><ul><li>x’ = mean of the distribution </li></ul>
67. 71. <ul><li>Steps in solving for AD </li></ul><ul><li>Arrange the values in column according to magnitude </li></ul><ul><li>Compute for the value of the mean x’ </li></ul><ul><li>Determine the deviations (x – x’) </li></ul><ul><li>Convert the deviations in step 3 into positive deviations. Use the absolute value sign. </li></ul><ul><li>Get the sum of the absolute deviations in step 4 </li></ul><ul><li>Divide the sum in step 5 by n. </li></ul>
68. 72. <ul><li>Example: </li></ul><ul><li>Consider the following values: </li></ul><ul><li>16, 13, 9, 6, 15, 7, 11, 12 </li></ul><ul><li>Find the average deviation. </li></ul>
69. 73. <ul><li>For grouped data: </li></ul><ul><li>AD = Σ f│x – x’│ / n </li></ul><ul><li>Where f = frequency of each class </li></ul><ul><li>x = midpoint of each class </li></ul><ul><li>x’ = mean of the distribution </li></ul><ul><li>n = total number of frequency </li></ul>
70. 74. <ul><li>Example: </li></ul><ul><li>Find the average deviation of the given data </li></ul><ul><li>Classes f </li></ul><ul><li>11-22 2 </li></ul><ul><li>23-34 8 </li></ul><ul><li>35-46 11 </li></ul><ul><li>47-58 19 </li></ul><ul><li>59-70 14 </li></ul><ul><li>71-82 5 </li></ul><ul><li>83-94 1 </li></ul>
71. 75. Variance <ul><li>For ungrouped data </li></ul><ul><li>s 2 = Σ (x – x’) 2 / n </li></ul><ul><li>Example: </li></ul><ul><li>Find the variance of </li></ul><ul><li>16, 13, 9, 6, 15, 7, 11, 12 </li></ul>
72. 76. <ul><li>For grouped data </li></ul><ul><li>s 2 = Σ f(x – x’) 2 / n </li></ul><ul><li>Where f = frequency of each class </li></ul><ul><li>x = midpoint of each class interval </li></ul><ul><li>x’ = mean of the distribution </li></ul><ul><li>n = total number of frequency </li></ul>
73. 77. <ul><li>Example: </li></ul><ul><li>Find the variance of the given data </li></ul><ul><li>Classes f </li></ul><ul><li>11-22 2 </li></ul><ul><li>23-34 8 </li></ul><ul><li>35-46 11 </li></ul><ul><li>47-58 19 </li></ul><ul><li>59-70 14 </li></ul><ul><li>71-82 5 </li></ul><ul><li>83-94 1 </li></ul>
74. 78. <ul><li>Coefficient of variation </li></ul><ul><li>If you wish to compare the variability between different sets of scores or data, coefficient of variation would be very useful measure for interval scale data </li></ul><ul><li>CV = s/x </li></ul><ul><li>Where s = standard deviation </li></ul><ul><li>x = the mean </li></ul>
75. 79. <ul><li>Example: </li></ul><ul><li>In a particular university, a researcher wishes to compare the variation in scores of the urban students with that of the scores of the rural students in their college entrance test. It is know that the urban student’s mean score is 384 with a standard deviation of 101; while among the rural students, the mean is 174, with a standard deviation of 53, which group shows more variation in scores? </li></ul>
76. 80. Standard Deviation <ul><li>s = √s 2 </li></ul><ul><li>For ungrouped data </li></ul><ul><li>s = √ Σ (x – x’) 2 / n </li></ul><ul><li>For grouped data </li></ul><ul><li>s = √ Σ f(x – x’) 2 / n </li></ul>
77. 81. <ul><li>Find the standard deviation of the previous examples for ungrouped and grouped data. </li></ul><ul><li>Find the standard deviation of the given data </li></ul><ul><li>Classes f </li></ul><ul><li>11-22 2 </li></ul><ul><li>23-34 8 </li></ul><ul><li>35-46 11 </li></ul><ul><li>47-58 19 </li></ul><ul><li>59-70 14 </li></ul><ul><li>71-82 5 </li></ul><ul><li>83-94 1 </li></ul>
78. 82. <ul><li>Find the standard deviation of </li></ul><ul><li>16, 13, 9, 6, 15, 7, 11, 12 </li></ul>
79. 83. <ul><li>Measure of variation for nominal data </li></ul><ul><li>VR = 1 – fm/N </li></ul><ul><li>Where VR = the variation ratio </li></ul><ul><li>fm = modal class frequency </li></ul><ul><li>N = counting of observation </li></ul>
80. 84. <ul><li>Example: </li></ul><ul><li>With the data given by a clinical psychologist on the type of therapy used, compute the variation ratios. </li></ul><ul><li>Type of therapy no. of patients </li></ul><ul><li>YR 1980 YR 1985 </li></ul><ul><li>Logotherapy 20 8 </li></ul><ul><li>Reality Therapy 60 105 </li></ul><ul><li>Rational Therapy 42 6 </li></ul><ul><li>Transactional analysis 39 9 </li></ul><ul><li>Family therapy 52 5 </li></ul><ul><li>Others 41 8 </li></ul>
81. 85. Assignment no. 4 <ul><li>I. Compute for the semi-interquartile range, absolute deviation, variance and standard deviation test III of assignment no. 3. </li></ul><ul><li>II. Compute for the semi-interquartile range, absolute deviation, variance and standard deviation of test I of assignment no. 3. </li></ul>
82. 86. SIMPLE LINEAR REGRESSION AND MEASURES OF CORRELATION <ul><li>In this topic, you will learn how to predict the value of one dependent variable from the corresponding given value of the independent variable. </li></ul>
83. 87. <ul><li>The scatter diagram: </li></ul><ul><li>In solving problems that concern estimation and forecasting, a scatter diagram can be used as a graphical approach. This technique consist of joining the points corresponding to the paired scores of dependent and independent variables which are commonly represented by X and Y on the X-Y coordinate system. </li></ul>
84. 88. <ul><li>Example: </li></ul><ul><li>The working experience and income of 8 employees are given below </li></ul><ul><li>Employee years of income </li></ul><ul><li>experience (in Thousands) </li></ul><ul><li>X Y </li></ul><ul><li>A 2 8 </li></ul><ul><li>B 8 10 </li></ul><ul><li>C 4 11 </li></ul><ul><li>D 11 15 </li></ul><ul><li>E 5 9 </li></ul><ul><li>F 13 17 </li></ul><ul><li>G 4 8 </li></ul><ul><li>H 15 14 </li></ul>
85. 89. <ul><li>Using the Least Squares Linear Regression Equation: </li></ul><ul><li>Y = a + bX </li></ul><ul><li>Where b = [n Σ xy – Σ x Σ y] / [n Σ x 2 – ( Σ x) 2 ] </li></ul><ul><li>a = y’ – bx’ </li></ul><ul><li>Obtain the equation of the given data and estimate the income of an employee if the number of years experience is 20 years. </li></ul>
86. 90. <ul><li>Standard Error of Estimate </li></ul><ul><li>Se = √ [ Σ Y i 2 – a(Y i ) – b(X i Y i )] / n-2 </li></ul><ul><li>The standard error of estimate is interpreted as the standard deviation. We will find that the same value of X will always fall between the upper and lower 3Se limits. </li></ul>
87. 91. Measures of Correlation <ul><li>The degree of relationship between variables is expressed into: </li></ul><ul><li>Perfect correlation (positive or negative) </li></ul><ul><li>Some degree of correlation (positive or negative) </li></ul><ul><li>No correlation </li></ul>
88. 92. <ul><li>For a perfect correlation, it is either positive or negative represented by +1 and -1. correlation coefficients, positive or negative, is represented by +0.01 to +0.99 and -0.01 to -0.99. The no correlation is represented by 0. </li></ul>
89. 93. <ul><li>0 to +0.25 very small positive correlation </li></ul><ul><li>+0.26 to +0.50 moderately small positive correlation </li></ul><ul><li>+0.51 to +0.75 high positive correlation </li></ul><ul><li>+0.76 to +0.99 very high positive correlation </li></ul><ul><li>+1.00 perfect positive correlation </li></ul><ul><li>---------------------------------------------------------- </li></ul><ul><li>0 to -0.25 very small negative correlation </li></ul><ul><li>-0.26 to -0.50 moderately small positive correlation </li></ul><ul><li>-0.51 to -0.75 high negative correlation </li></ul><ul><li>-0.76 to -0.99 very high negative correlation </li></ul><ul><li>-1.00 perfect negative correlation </li></ul>
90. 94. <ul><li>Anybody who wants to interpret the results of the coefficient of correlation should be guided by the following reminders: </li></ul><ul><li>The relationship of two variables does no necessarily mean that one is the cause of the effect of the other variable. It does not imply cause-effect relationship. </li></ul><ul><li>When the computed Pearson r is high, it does not necessarily mean that one factor is strongly dependent on the other. On the other hand, when the computed Pearson r is small it does not necessarily mean that one factor has no dependence on the other. </li></ul><ul><li>If there is a reason to believe that the two variables are related and the computed Pearson r is high, these two variables are really meant as associated. On the other hand, if the variables correlated are low, other factors might be responsible for such small association. </li></ul><ul><li>Lastly, the meaning of correlation coefficient just simply informs us that when two variables change there may be a strong or weak relationship taking place. </li></ul>
91. 95. <ul><li>The formula for finding the Pearson r is </li></ul><ul><li>[n Σ XY – Σ X Σ Y] </li></ul><ul><li>r = ------------------------------ </li></ul><ul><li>√ [n Σ X 2 – ( Σ X) 2 ] [n Σ Y 2 – ( Σ Y) 2 ] </li></ul>
92. 96. <ul><li>Example: Given two sets of scores. Find the Pearson r and interpret the result. </li></ul><ul><li>X Y </li></ul><ul><li>18 10 </li></ul><ul><li>16 14 </li></ul><ul><li>14 14 </li></ul><ul><li>13 12 </li></ul><ul><li>12 10 </li></ul><ul><li>10 8 </li></ul><ul><li>10 5 </li></ul><ul><li>8 6 </li></ul><ul><li>6 12 </li></ul><ul><li>3 0 </li></ul>
93. 97. Correlation between Ordinal Data <ul><li>This is the Spearman Rank-Order Correlation Coefficient (Spearman Rho). For cases of 30 or less, Spearman ρ is the most widely used of the rank correlation method. </li></ul><ul><li>6 Σ D 2 </li></ul><ul><li>ρ = 1 - ----------- </li></ul><ul><li>n(n 2 – 1) </li></ul><ul><li>Where D = (RX – RY) </li></ul>
94. 98. <ul><li>Example: </li></ul><ul><li>Individual Test X Test Y </li></ul><ul><li>1 18 24 </li></ul><ul><li>2 17 28 </li></ul><ul><li>3 14 30 </li></ul><ul><li>4 13 26 </li></ul><ul><li>5 12 22 </li></ul><ul><li>6 10 18 </li></ul><ul><li>7 8 15 </li></ul><ul><li>8 8 12 </li></ul>
95. 99. Gamma Rank Order <ul><li>An alternative to the rank order correlation is the Goodman’s and Kruskal’s Gamma (G). </li></ul><ul><li>The value of one variable can be estimated or predicted from the other variable when you have the knowledge of their values. The gamma can also be used when ties are found in the ranking of the data. </li></ul>
96. 100. <ul><li>N S - N 1 </li></ul><ul><li>G = ----------------- </li></ul><ul><li>N S + N 1 </li></ul><ul><li>Where N S = the number of pairs ordered in the parallel direction </li></ul><ul><li>N 1 = the number of pairs ordered in the opposite direction </li></ul>
97. 101. Given a segment of the Filipino Electorate according to religion and political party Total 10 12 22 Born Again 21 72 34 INC 20 25 50 Catholic Total NP LP LAKAS
98. 102. Correlation between Nominal Data <ul><li>The Guttman’s Coefficient of predictability is the proportionate reduction in error measure which shows the index of how much an error is reduced in predicting values of one variable from the value of another. </li></ul><ul><li>Σ FBR - MBC </li></ul><ul><li>λ c = ------------------ </li></ul><ul><li>N – MBC </li></ul><ul><li>Where FBR = the biggest cell frequencies in the ith row </li></ul><ul><li>MBC = the biggest column totals </li></ul><ul><li>N = total observations </li></ul>
99. 103. <ul><li>Σ FBC - MBR </li></ul><ul><li>λ r = ------------------- </li></ul><ul><li>N – MBR </li></ul><ul><li>Where FBC = the biggest cell frequencies in the column </li></ul><ul><li>MBR = the biggest of the row totals </li></ul><ul><li>N = total number of observations </li></ul><ul><li>Compute for the λ c and λ r for the segment of Filipino electorate and political parties. </li></ul>
100. 104. Assignment no. 5 <ul><li>Given the average yearly cost and sales of company A for a period of 8 years. Find the pearson r and interpret the results. </li></ul><ul><li>Year Cost Sales </li></ul><ul><li>per P10,000 per P10,000 </li></ul><ul><li>15 38 </li></ul><ul><li>30 53.3 </li></ul><ul><li>16 60 </li></ul><ul><li>39 72 </li></ul><ul><li>20 40 </li></ul><ul><li>36 47.5 </li></ul><ul><li>45 82 </li></ul><ul><li>10 21.5 </li></ul>
101. 105. <ul><li>Given the grades of 10 students in statistics determine the spearman rho and interpret the result </li></ul><ul><li>Student Q1 Q2 </li></ul><ul><li>A 62 57 </li></ul><ul><li>B 90 88 </li></ul><ul><li>C 75 90 </li></ul><ul><li>D 60 67 </li></ul><ul><li>E 58 60 </li></ul><ul><li>F 89 79 </li></ul><ul><li>G 91 78 </li></ul><ul><li>H 90 62 </li></ul><ul><li>I 94 86 </li></ul><ul><li>J 50 55 </li></ul>
102. 106. 3. Compute for the gamma shown and interpret the result TOTAL 25 26 9 LOWER 29 54 12 MIDDLE 5 19 24 UPPER TOTAL LOWER MIDDLE UPPER TOTAL EDUCATIONAL STATUS Socio-economic status
103. 107. <ul><li>4. Compute for the λ c and λ r for the problem no. 3. </li></ul>
104. 108. Counting Techniques <ul><li>Consider the numbers 1,2,3 and 4. suppose you want to determine the total 2 digit numbers that can be formed if these are combined. First, let us assume that no digit is to be repeated. </li></ul><ul><li>12 21 31 41 </li></ul><ul><li>23 32 42 </li></ul><ul><li>24 34 43 </li></ul><ul><li>Notice that we were able to used all the possibilities. In this example, we have 12 possible 2 digit numbers. </li></ul>
105. 109. <ul><li>Now, what if the digits can be repeated? </li></ul><ul><li>12 13 14 </li></ul><ul><li>22 23 24 </li></ul><ul><li>23 33 34 </li></ul><ul><li>42 43 44 </li></ul><ul><li>Hence, we have 16 possible outcomes. </li></ul><ul><li>In the first activity, we can do it in n 1 ways and after it has been done, the second activity can be done in n 2 ways, then the total number of ways in which the two activities can be done is equal to n 1 n 2 . </li></ul>
106. 110. <ul><li>Example: </li></ul><ul><li>How many two digit numbers can be formed from the numbers 1,2,3 and 4 if </li></ul><ul><li>Repetition is not allowed? </li></ul><ul><li>Repetition is allowed? </li></ul><ul><li>2. How many three digit numbers can be formed from the digits 1,2,3,4 and 5 if any of the digits can be repeated? </li></ul><ul><li>3. The club members are going to elect their officers. If there are 5 candidates for president, 5 candidates for vice president and 3 for secretary, then how many ways can the officers be elected? </li></ul>
107. 111. <ul><li>An office executive plans to buy as laptop in which there are 5 brands available. Each of the brands has 3 models and each model has 5 colors to chose from. In how many ways can the executive choose? </li></ul><ul><li>Consider the numbers 2,3 5 and 7. if repetition is not allowed, how many three digit numbers can be formed such that </li></ul><ul><li>They are all odd? </li></ul><ul><li>They are all even? </li></ul><ul><li>They are greater that 500? </li></ul>
108. 112. <ul><li>6. A pizza place offers 3 choices of salad, 20 kinds of pizza and 4 different deserts. How many different 3 course meals can one order? </li></ul><ul><li>7. The executive of a certain company is consist of 5 males and 2 females. How many ways can the presidents and secretary be chosen if </li></ul><ul><li>The president must be female and the secretary must be male? </li></ul><ul><li>The president and the secretary are of opposite sex? </li></ul><ul><li>The president and the secretary should be male? </li></ul>
109. 113. Permutation <ul><li>The term permutation refers to the arrangement of objects with reference to order. </li></ul><ul><li>P(n,r) = n! / (n – r)! </li></ul><ul><li>Evaluate: </li></ul><ul><li>P(10,6) </li></ul><ul><li>P(5,5) </li></ul><ul><li>P(4,3) + P(4,4) </li></ul>
110. 114. <ul><li>Examples: </li></ul><ul><li>In how many ways can a president, a vice president, a secretary and a treasurer be elected from a class with 40 students? </li></ul><ul><li>In how many ways can 7 individuals be seated in a row of 7 chairs? </li></ul><ul><li>In how many ways can 9 individuals be seated in a row of 9 chairs if two individuals wanted to be seated side by side? </li></ul>
111. 115. <ul><li>4. Suppose 5 different math books and 7 different physics books shall be arranged in a shelf. In how many ways can such books be arranged if the books of the same subject be placed side by side? </li></ul><ul><li>Determine the possible permutations of the word MISSISSIPPI. </li></ul><ul><li>Find the total 8 digit numbers that can be formed using all the digits in the following numerals 55777115 </li></ul>
112. 116. <ul><li>In how many ways can 6 persons be seated around a table with 6 chairs if two individuals wanted to be seated side by side? </li></ul><ul><li>In a local election, there are 7 people running for 3 positions. In how many ways can this be done? </li></ul>
113. 117. Combination <ul><li>A combination is an arrangement of objects not in particular order. </li></ul><ul><li>nCr = C(n,r) = n! / r!(n-r)! </li></ul><ul><li>Evaluate: </li></ul><ul><li>8 C 4 </li></ul><ul><li>5( 5 C 4 – 5 C 2 ) </li></ul><ul><li>7 C 5 / ( 7 C 6 – 7 C 2 ) </li></ul>
114. 118. <ul><li>A class is consist of 12 boys and 10 girls. </li></ul><ul><li>In how many ways can the class elect the president, vice president, secretary and a treasurer? </li></ul><ul><li>In how many ways can the class elect 4 members of a certain committee? </li></ul><ul><li>In how many ways can a student answer 6 out of ten questions? </li></ul><ul><li>In how many ways can a student answer 6 out of 10 questions if he is required to answer 2 of the first 5 questions? </li></ul>
115. 119. <ul><li>In how many ways can 3 balls be drawn from a box containing 8 red and 6 green balls? </li></ul><ul><li>A box contain 8 red and 6 green balls. In how many ways can 3 balls be drawn such that </li></ul><ul><li>They are all green? </li></ul><ul><li>2 is red and 1 is green? </li></ul><ul><li>1 is red and 2 is green? </li></ul>
116. 120. <ul><li>A shipment of 40 computers are unloaded from the van and tested. 6 of them are defective. In how many ways can we select a set of 5 computers and get at least one defective? </li></ul><ul><li>Five letters a,b,c,d,e are to be chosen. In how many ways could you choose </li></ul><ul><li>None of them </li></ul><ul><li>At least two of them </li></ul><ul><li>At most three of them </li></ul>
117. 121. Assignment no. 6 <ul><li>How many possible outcomes are there if </li></ul><ul><li>A die is rolled? </li></ul><ul><li>A pair of dice is rolled? </li></ul><ul><li>2. In how many ways can 5 math teachers be assigned to 4 available subjects if each of the 5 teachers have equal chance of being assigned to any of the 4 subjects? </li></ul>
118. 122. <ul><li>3. Consider the numbers 1,2,3,5,and 6. how many 3 digit numbers can be formed from these numbers if </li></ul><ul><li>Repetition is not allowed and 0 should not be in the first digit? </li></ul><ul><li>Repetition is allowed and 0 should not be in the first digit? </li></ul><ul><li>4. A college has 3 entrance gates and 2 exit gates. In how many ways can a student enter then leave the building? </li></ul>
119. 123. <ul><li>In how many ways can 9 passengers be seated in a bus if there are only 5 seats available? </li></ul><ul><li>In how many ways can 4 boys and 4 girls be seated in a row of 8 chairs if </li></ul><ul><li>They can sit anywhere? </li></ul><ul><li>The boys and girls are to be seated alternately? </li></ul><ul><li>7. In how many ways can ten participants in a race placed first, second and third? </li></ul>
120. 124. <ul><li>Determine the number of distinct permutations of each of the following: </li></ul><ul><li>STATISTICS </li></ul><ul><li>ADRENALIN </li></ul><ul><li>44044999404 </li></ul><ul><li>A class consist of 12 boys and 10 girls. In how many ways can a committee of five be formed if </li></ul><ul><li>All members are boys? </li></ul><ul><li>2 are boys and 3 are girls? </li></ul>
121. 125. <ul><li>10. In how many ways can a student answer an exam if out of the 6 problem, he is required to answer only 4? </li></ul>