Download Introduction to Statistics Lecture Notes and more Lecture notes Statistics in PDF only on Docsity!
AAU
Introduction to statistics
Instructor Anteneh T.
M.T
W W W. A A U. E D U. E T
- Inference of data: The interpretation and further observation of the various statistical measures through the analysis of the data by implementing those methods by which conclusions are formed and inferences made.
- Statistical techniques based on probability theory are required.
Definitions of some terms
- A (statistical) population: is the complete set of possible measurements for which inferences are to be made. The population represents the target of an investigation, and the objective of the investigation is to draw conclusions about the population hence we sometimes call it target population. Examples 9 Population of trees under specified climatic conditions 9 Population of animals fed a certain type of diet 9 Population of farms having a certain type of natural fertility 9 Population of house holds, etc The population could be finite or infinite (an imaginary collection of units) There are two ways of investigation: Census and sample survey.
- Census: a complete enumeration of the population. But in most real problems it can not be realized, hence we take sample.
- Sample: A sample from a population is the set of measurements that are actually collected in the course of an investigation. It should be selected using some pre-defined sampling technique in such a way that they represent the population very well. Examples: 9 Monthly production data of a certain factory in the past 10 years. 9 Small portion of a finite population. In practice, we don’t conduct census, instead we conduct sample survey
- Parameter: Characteristic or measure obtained from a population.
- Statistic: Characteristic or measure obtained from a sample.
- Sampling: The process or method of sample selection from the population.
- Sample size : The number of elements or observation to be included in the sample.
- Variable : It is an item of interest that can take on many different numerical values.
Types of Variables or Data
- Qualitative Variables are nonnumeric variables and can't be measured. Examples: gender, religious affiliation, and state of birth.
- Quantitative Variables are numerical variables and can be measured. Examples include balance in checking account, number of children in family. Note that quantitative variables are either discrete (which can assume only certain values, and there are usually "gaps" between the values, such as the number of bedrooms in your house) or continuous (which can assume any value within a specific range, such as the air pressure in a tire.)
Applications, Uses and Limitations of statistics.
Applications of statistics:
- In almost all fields of human endeavor.
- Almost all human beings in their daily life are subjected to obtaining numerical facts e.g. abut price.
- Applicable in some process e.g. invention of certain drugs, extent of environmental pollution.
- In industries especially in quality control area. Uses of statistics : The main function of statistics is to enlarge our knowledge of complex phenomena. The following are some uses of statistics:
- It presents facts in a definite and precise form.
- Data reduction.
- Measuring the magnitude of variations in data.
- Furnishes a technique of comparison
- Estimating unknown population characteristics.
- Testing and formulating of hypothesis.
- Studying the relationship between two or more variable.
- Forecasting future events. Limitations of statistics As a science statistics has its own limitations. The following are some of the limitations:
- Deals with only quantitative information.
- Deals with only aggregate of facts and not with individual data items.
- Statistical data are only approximately and not mathematical correct.
- Statistics can be easily misused and therefore should be used be experts.
Distance
The property of distance is concerned with the relationship of differences between objects. If a measurement system possesses the property of distance it means that the unit of measurement means the same thing throughout the scale of numbers. That is, an inch is an inch, no matters were it falls - immediately ahead or a mile downs the road.
More precisely, an equal difference between two numbers reflects an equal difference in the "real world" between the objects that were assigned the numbers. In order to define the property of distance in the mathematical notation, four objects are required: O (^) i , Oj , Ok, and Ol. The difference between objects is represented by the "-" sign; O (^) i - Oj refers to the actual "real world" difference between object i and object j, while M(O (^) i ) - M(Oj ) refers to differences between numbers.
The property of DISTANCE exists, for all i, j, k, l
If Oi -Oj ≥ Ok- Ol then M(O (^) i )-M(Oj ) ≥ M(Ok )-M( Ol ).
Fixed Zero
A measurement system possesses a rational zero (fixed zero) if an object that has none of the attribute in question is assigned the number zero by the system of rules. The object does not need to really exist in the "real world", as it is somewhat difficult to visualize a "man with no height". The requirement for a rational zero is this: if objects with none of the attribute did exist would they be given the value zero. Defining O 0 as the object with none of the attribute in question, the definition of a rational zero becomes:
The property of FIXED ZERO exists if M(O 0 ) = 0.
The property of fixed zero is necessary for ratios between numbers to be meaningful.
SCALE TYPES
Measurement is the assignment of numbers to objects or events in a systematic fashion. Four levels of measurement scales are commonly distinguished: nominal, ordinal, interval, and ratio and each possessed different properties of measurement systems.
Nominal Scales
Nominal scales are measurement systems that possess none of the three properties stated above.
- Level of measurement which classifies data into mutually exclusive, all inclusive categories in which no order or ranking can be imposed on the data.
- No arithmetic and relational operation can be applied.
Examples:
o Political party preference (Republican, Democrat, or Other,) o Sex (Male or Female.) o Marital status(married, single, widow, divorce) o Country code o Regional differentiation of Ethiopia.
Ordinal Scales
Ordinal Scales are measurement systems that possess the property of order, but not the property of distance. The property of fixed zero is not important if the property of distance is not satisfied.
- Level of measurement which classifies data into categories that can be ranked. Differences between the ranks do not exist.
- Arithmetic operations are not applicable but relational operations are applicable.
- Ordering is the sole property of ordinal scale.
Examples:
o Letter grades (A, B, C, D, F). o Rating scales (Excellent, Very good, Good, Fair, poor). o Military status.
Interval Scales
Interval scales are measurement systems that possess the properties of Order and distance, but not the property of fixed zero.
- Your score on the first statistics test as a measure of your knowledge of statistics.
- Your score on an individual intelligence test as a measure of your intelligence.
- The distance around your forehead measured with a tape measure as a measure of your intelligence.
- A response to the statement "Abortion is a woman's right" where "Strongly Disagree" = 1, "Disagree" = 2, "No Opinion" = 3, "Agree" = 4, and "Strongly Agree" = 5, as a measure of attitude toward abortion.
- Times for swimmers to complete a 50-meter race
- Months of the year Meskerm, Tikimit…
- Socioeconomic status of a family when classified as low, middle and upper classes.
- Blood type of individuals, A, B, AB and O.
- Pollen counts provided as numbers between 1 and 10 where 1 implies there is almost no pollen and 10 that it is rampant, but for which the values do not represent an actual counts of grains of pollen.
- Regions numbers of Ethiopia (1, 2, 3 etc.)
- The number of students in a college;
- the net wages of a group of workers;
- the height of the men in the same town;
Introduction to methods of data collection
There are two sources of data:
- Primary Data
- Data measured or collect by the investigator or the user directly from the source.
- Two activities involved: planning and measuring. a) Planning: Identify source and elements of the data. Decide whether to consider sample or census. If sampling is preferred, decide on sample size, selection method,… etc Decide measurement procedure. Set up the necessary organizational structure. b) Measuring: there are different options. Focus Group Telephone Interview Mail Questionnaires
Door-to-Door Survey Mall Intercept New Product Registration Personal Interview and Experiments are some of the sources for collecting the primary data.
- Secondary Data
- Data gathered or compiled from published and unpublished sources or files.
- When our source is secondary data check that: The type and objective of the situations. The purpose for which the data are collected and compatible with the present problem. The nature and classification of data is appropriate to our problem. There are no biases and misreporting in the published data. Note: Data which are primary for one may be secondary for the other.
Example: a social worker collected the following data on marital status for 25 persons.(M=married, S=single, W=widowed, D=divorced)
M S D W D S S M M M W D S M M W D D S S S W W D D
Solution:
Since the data are categorical, discrete classes can be used. There are four types of marital status M, S, D, and W. These types will be used as class for the distribution. We follow procedure to construct the frequency distribution.
Step 1: Make a table as shown.
Class
(1)
Tally
(2)
Frequency
(3)
Percent
(4) M S D W
Step 2: Tally the data and place the result in column (2).
Step 3: Count the tally and place the result in column (3).
Step 4: Find the percentages of values in each class by using;
% * 100 n
= f Where f= frequency of the class, n=total number of value.
-Percentages are not normally a part of frequency distribution but they can be added since they are used in certain types diagrammatic such as pie charts.
Step 5: Find the total for column (3) and (4).
Combing all the steps one can construct the following frequency distribution.
Class
(1)
Tally
(2)
Frequency
(3)
Percent
(4) M (^) //// 5 20 S //// // 7 28 D //// // 7 28 W //// / 6 24
- Ungrouped frequency Distribution:
-Is a table of all the potential raw score values that could possible occur in the data along with the number of times each actually occurred.
-Is often constructed for small set or data on discrete variable.
Constructing ungrouped frequency distribution:
- First find the smallest and largest raw score in the collected data.
- Arrange the data in order of magnitude and count the frequency.
- To facilitate counting one may include a column of tallies.
Example:
The following data represent the mark of 20 students.
80 76 90 85 80 70 60 62 70 85 65 60 63 74 75 76 70 70 80 85
Construct a frequency distribution, which is ungrouped.
Solution:
Step 1: Find the range, Range=Max-Min=90-60=30. Step 2: Make a table as shown Step 3: Tally the data.
- Class width : the difference between the upper and lower class boundaries of any class. It is also the difference between the lower limits of any two consecutive classes or the difference between any two consecutive class marks.
- Class mark (Mid points): it is the average of the lower and upper class limits or the average of upper and lower class boundary.
- Cumulative frequency: is the number of observations less than/more than or equal to a specific value.
- Cumulative frequency above: it is the total frequency of all values greater than or equal to the lower class boundary of a given class.
- Cumulative frequency blow: it is the total frequency of all values less than or equal to the upper class boundary of a given class.
- Cumulative Frequency Distribution (CFD): it is the tabular arrangement of class interval together with their corresponding cumulative frequencies. It can be more than or less than type, depending on the type of cumulative frequency used.
- Relative frequency (rf): it is the frequency divided by the total frequency.
- Relative cumulative frequency (rcf): it is the cumulative frequency divided by the total frequency.
Guidelines for classes
- There should be between 5 and 20 classes.
- The classes must be mutually exclusive. This means that no data value can fall into two different classes
- The classes must be all inclusive or exhaustive. This means that all data values must be included.
- The classes must be continuous. There are no gaps in a frequency distribution.
- The classes must be equal in width. The exception here is the first or last class. It is possible to have an "below ..." or "... and above" class. This is often used with ages.
Steps for constructing Grouped frequency Distribution
- Find the largest and smallest values
- Compute the Range(R) = Maximum - Minimum
- Select the number of classes desired, usually between 5 and 20 or use Sturges rule where k is number of classes desired and n is total number of observation.
k = 1 + 3. 32 log n
- Find the class width by dividing the range by the number of classes and rounding up, not off. k
w = R.
- Pick a suitable starting point less than or equal to the minimum value. The starting point is called the lower limit of the first class. Continue to add the class width to this lower limit to get the rest of the lower limits.
- To find the upper limit of the first class, subtract U from the lower limit of the second class. Then continue to add the class width to this upper limit to find the rest of the upper limits.
- Find the boundaries by subtracting U/2 units from the lower limits and adding U/2 units from the upper limits. The boundaries are also half-way between the upper limit of one class and the lower limit of the next class. !may not be necessary to find the boundaries.
- Tally the data.
- Find the frequencies.
- Find the cumulative frequencies. Depending on what you're trying to accomplish, it may not be necessary to find the cumulative frequencies.
- If necessary, find the relative frequencies and/or relative cumulative frequencies
Example*:
Construct a frequency distribution for the following data.
11 29 6 33 14 31 22 27 19 20 18 17 22 38 23 21 26 34 39 27
Solutions:
Step 1: Find the highest and the lowest value H=39, L=
Step 2: Find the range; R=H-L=39-6=
Step 3: Select the number of classes desired using Sturges formula;
k = 1 + 3. 32 log n =1+3.32log (20) =5.32=6(rounding up)
Step 4: Find the class width; w=R/ k= 33/6=5.5=6 (rounding up)
Step 5: Select the starting point, let it be the minimum observation.
6, 12, 18, 24, 30, 36 are the lower class limits.
Class limit
Class boundary
Class Mark
Tally Freq. Cf (less than type)
Cf (more than type)
rf. rcf (less than type
Diagrammatic and Graphic presentation of data.
-These are techniques for presenting data in visual displays using geometric and pictures.
Importance:
- They have greater attraction.
- They facilitate comparison.
- They are easily understandable.
-Diagrams are appropriate for presenting discrete data.
-The three most commonly used diagrammatic presentation for discrete as well as qualitative data are:
- Pie charts
- Pictogram
- Bar charts
Pie chart
A pie chart is a circle that is divided in to sections or wedges according to the percentage of frequencies in each category of the distribution. The angle of the sector is obtained using:
Valueofthepart Angle ofsector=
Example: Draw a suitable diagram to represent the following population in a town.
Men Women Girls Boys 2500 2000 4000 1500
Solutions:
Step 1: Find the percentage.
Step 2: Find the number of degrees for each class.
Step 3: Using a protractor and compass, graph each section and write its name corresponding percentage.
Class Frequency Percent Degree Men 2500 25 90 Women 2000 20 72 Girls 4000 40 144 Boys 1500 15 54 CLASS
Boys
Girls Women
Men