Professional Documents
Culture Documents
Instructional Materials in
STAT 20053
Contributors:
Elizon, Katrina
Usona, Laurence
Bautista, Lincoln
Baccay, Edcon
Republic of the Philippines
POLYTECHNIC UNIVERSITY OF THE PHILIPPINES
COLLEGE OF SCIENCE
Department of Mathematics and Statistics
The final grade will be based on the weighted average of the student’s scores on each test
assigned at the end of each lesson. The final SIS grade equivalent will be based on the following
table according to the approved University Student Handbook.
Midterm and/or Final Exam (MFE) = (((Weighted Average of the Midterm and/or Final Tests) x
50)+50)
Prepared by:
Katrina D. Elizon
Faculty Member, Department of Mathematics and Statistics
College of Science
Republic of the Philippines
POLYTECHNIC UNIVERSITY OF THE PHILIPPINES
COLLEGE OF SCIENCE
Department of Mathematics and Statistics
Contents
INTRODUCTION TO THE
Statistics plays a major role in many aspects of our
lives. It is used in sports, for example, to help a
general manager decide which player might be the
STATISTICAL best fit for a team. It is used in politics to help
candidates understand how the public feels about
Take Note!
- Food Preferences
- Rank of a Military officer
- Social Economic Class (First, Middle, Lower)
3. Interval Level - This is a measurement level
not only classifies and orders the
measurements, but it also specifies that the
distances between each interval on the scale
Levels of Measurement are equivalent along the scale from low interval
to high interval. A value of zero does not mean
They are sometimes called categorical scales the absence of the quantity. Arithmetic
or categorical data. Such a scale classifies operations such as addition and subtraction
persons or objects into two or more categories. can be performed on values of the variable.
Whatever the basis for classification, a person
can only be in one category, and members of a Example:
given category have a common set of
characteristics. - Te m p e r a t u r e o n F a h r e n h e i t / C e l s i u s
Thermometer
Example:
- Trait anxiety (e.g., high anxious vs. low
- Method of payment (cash, check, debit card, anxious)
credit card)
- IQ (e.g., high IQ vs. average IQ vs. low IQ)
- Type of school (public vs. private)
4. Ratio Level - A ratio scale represents the
- Eye Color (Blue, Green, Brown) highest, most precise, level of measurement. It
has the properties of the interval level of
2. Ordinal Level - This involves data that may measurement and the ratios of the values of
be arranged in some order, but differences the variable have meaning. A value of zero
between data values either cannot be means the absence of the quantity. Arithmetic
determined or meaningless. An ordinal scale operations such as multiplication and division
not only classifies subjects but also ranks them can be performed on the values of the
in terms of the degree to which they possess a variable.
characteristics of interest. In other words, an
ordinal scale puts the subjects in order from Example:
highest to lowest, from most to least. Although
ordinal scales indicate that some subjects are - Height and weight
higher, or lower than others, they do not - Time
indicate how much higher or how much better.
- Distance and speed
Example: ______________1. A teacher wants to know
the attitudes of all students towards abortion.
Categorize each of the following as nominal,
ordinal, interval or ratio measurement. ______________2. A market analyst of a sales
firm draws a chart showing the sales figures of
1. Ranking of college athletic teams. a given product for the period 2006-2007.
(Ordinal)
______________3. A forecaster predicts the
2. Employee number. (Nominal) results of an election using the number of
votes cast in 15 out of 25 barangays.
3. Number of vehicles registered. (Ratio)
______________4. Men are better in math
4. Brands of soft drinks. (Nominal)
than women.
5. Number of car passers along C5 on a
______________5. Forty percent of the
given day. (Ratio)
employees of an organization were recorded
ACTIVITIES/ASSESSMENTS: tardy for at least 15 working days.
I. A research objective is presented. For _____________6. There are very few gender-
each, identify the (A) population and (B) related occupations.
sample in the study.
______________7. An account predicts
6. A polling organization contacts 2141 male accuracy rate of a client’s financial resources.
university graduates who have a white-
______________8. A quality control manager
collar job and asks whether or not they had
wishes to check production output.
received a raise at work during the past 4
months. ______________9. Records indicated that
75% of the faculty in the graduate school are
A. ______________________________
doctoral degree holders.
B. ______________________________
______________10. There is no relationship
2. Every year the PSA releases the Current between educational qualification of parents
Population Report based on a survey of and academic achievement of their children.
50,000 households. The goal of this report
III. Identify the qualitative and quantitative
is to learn the demographic characteristics,
variables and indicate the highest level of
such as income, of all households within
measurement required in each. If
the Philippines.
quantitative, classify whether discrete or
A. ______________________________ continuous.
REFERENCES:
Whether conducting research in the social 2. Decide on the type of questionnaire (Open
sciences, humanities arts, or natural sciences, Ended or Closed Ended).
the ability to distinguish between primary and
3. Write the questions properly.
secondary sources is essential.
4. Order the questions appropriately.
Primary Sources - Provide a first-hand
account of an event or time period and are 5. Avoid questions that prompt or motivate the
considered to be authoritative. They respondent to say what you would like to hear.
represent original thinking, reports on
discoveries or events, or they can share new 6. Write an introductory letter or an
information. Often these sources are created introduction.
at the time the events occurred but they can
also include sources that are created later. 7. Write special instructions for interviewers or
They are usually the first formal appearance respondents.
of original research.
8. Translate the questions if necessary.
Secondary Sources - offer an analysis,
9. Always test your questions before taking the
interpretation or a restatement of primary
survey. (Pre-test)
sources and are considered to be
persuasive. They often involve An open-ended question is a type of question
generalisation, synthesis, interpretation, that does not include response categories.
commentary or evaluation in an attempt to This type of question is usually appropriate for
convince the reader of the creator's collecting subjective data.
argument. They often attempt to describe or
explain primary sources. A closed-ended question is a type of
question that includes a list of response
The primary data can be collected by the categories from which the respondent will
following five methods: select his answer. This type of question is
usually appropriate for collecting objective
Open- Ended versus Closed - Ended
SAMPLE SIZE
( e )
Three criteria need to be specified to Zσ
determine the appropriate sample size: n≥
Also called sampling error, the level of Z is the z-score corresponding to level of
precision, is the range in which the true value confidence.
of the population is estimated to be.
e is the level of precision.
2. Confidence Interval
Take Note:
It is statistical measure of the number of times
out of 100 that results can be expected to be If When σ is unknown, it is common practice to
within a specified range. For example, a conduct a preliminary survey to determine s
confidence interval of 90% means that results and use it as an estimate of σ or use results
of an action will probably meet expectations from previous studies to obtain an estimate of
90% of the time. σ. When using this approach, the size of the
sample should be at least 30. The formula for
To find the right z – score to use, refer to the the sample standard deviation s is
table:
∑ (x − x̄)2
Desired Confidence
Z - Score s=
Level n−1
80% 1.28
85% 1.44
Example:
90% 1.65
95% 1.96 A soft drink machine is regulated so that the
99% 2.58 amount of drink dispensed is approximately
normally distributed with a standard deviation
3. Degree of Variability equal to 0.5 ounce. Determine the sample size
needed if we wish to be 95% confident that our
Depending upon the target population and
sample mean will be within 0.03 ounce from
attributes under consideration, the degree of
the true mean.
variability varies considerably. The more
heterogeneous a population is, the larger the Solution: The z – score for confidence level
95% in the z – table is 1.96.
When p = 0.5, the maximum value of
2
1.96(0.5)
( 0.03 )
n≥ = 1067.11
p(1- p)=0.25. This is called the most
conservative estimate, since it gives the
largest possible estimate of n.
We need a 1068 sample for our study.
The conservative formula using the strong law
• Estimating Proportion (Infinite of large number.
2
1 Z
4 (e)
Population)
n≥ ≈ 385
The sample size required to obtain a
Where:
confidence interval for p with specified margin
of error e is given by Confidence level is 95%.
2
(e)
Z
n≥ p(1 − p) The level of precision is 0.05.
Where: Example:
Z is the z-score corresponding to level of Suppose we are doing a study on the
confidence. inhabitants of a large town, and want to find
out how many households serve breakfast in
e is the level of precision.
the mornings. We don’t have much information
P is population proportion. on the subject to begin with, so we’re going to
assume that half of the families serve
There is a dilemma in this formula: breakfast: this gives us maximum variability.
So p = 0.5. We want 99% confidence and at
It dependents on least 1% precision.
x
p=
N Solution: The z – score for confidence level
which we know only after we have taken the 99% in the z – table is 2.58.
2
2.58
sample.
( 0.01 )
n≥ 0.5(1 − 0.5) = 16,641
There are two ways to solve this dilemma:
1. We could determine a preliminary value for We need a 16,641 sample for our study.
p based on a pilot study or an earlier study.
• Slovin’s Formula
Example: If last month 37% of all voters
thought that state taxes are too high, then it is Slovin’s formula is used to calculate the
likely that the proportion with that opinion this sample size n given the population size and
month will not be dramatically different, and we error. It is computed as
would use the value 0.37 for p in the formula.
N
n≥
2. Simply to replace p in the formula by 0.5. 1 + Ne 2
Where: This is the link for online calculator of sample
size:
N is the total population.
https://select-statistics.co.uk/calculators/
e is the level of precision. sample-size-calculator-population-proportion/
Example: https://www.calculator.net/sample-size-
calculator.html
A researcher plans to conduct a survey about
food preference of BS Stat students. If the BASIC SAMPLING DESIGN
population of students is 1000, find the sample
size if the error is 5%. The goal in sampling is to obtain individuals for
a study in such a way that accurate information
Solution: about the population can be obtained.
1000
n≥ = 285.71 Reason for Sampling
1 + 1000(0.05)2
- Important that the individuals included in a
The researcher need to survey 286 BS stat sample represent a cross section of
students. individuals in the population.
• Finite Population Correction - If sample is not representative it is biased.
You cannot generalize to the population from
If the population is small then the sample size
your statistical data.
can be reduced slightly.
Some definitions are needed to make the
n0
n≥ notion of a good sample more precise.
n −1
1+ o
N Definitions:
Where:
• Observation unit - An object on which a
no is Cochran’s sample size recommendation. measurement is taken. This is the basic unit
of observation, sometimes called an element.
N is the population size. In studying human populations, observation
units are often individuals.
Sampling Procedure
Sampling technique can be grouped into how - It is obtained by selecting every kth
selections of items are made such as individual from the population.
probability sampling and non-probability
- The first individual selected corresponds to a
sampling.
random number between 1 to k.
Basic Sampling Technique of Probability
Obtaining a Systematic Random Sample
Sampling
1. Decide on a method of assigning a unique
• Simple Random Sampling serial number, from 1 to N, to each one of
- Most basic method of drawing a probability the elements in the population.
sample.
2. Compute for the sampling interval
- Assigns equal probabilities of selection to N PopulationSize
k= =
each possible sample. n SampleSize
3. Select a number, from 1 to k, using a
- Results to a simple random sample.
randomization mechanism. The element in
Advantage: It is very simple and easy to use. the population assigned to this number is
the first element of the sample. The other
Disadvantage: The sample chosen may be elements of the sample are those assigned
distributed over a wide geographic area. to the numbers and so on until you get a
sample of size.
When to use: This is preferable to use if the
population is not widely spread geographically. Example:
Also, this is more appropriate to use if the
population is more or less homogenous with We want to select a sample of 50 students
respect to the characteristics of the population. from 500 students under this method kth item
and picked up from the sampling frame.
Solution:
500
k= = 10
50
We start to get a sample starting form i and for
every kth unit subsequently. Suppose the
random number i is 6, then we select 15, 25,
35, 45, .. .
When to use: This is advisable to us if the There are two strata in this case.
ordering of the population is essentially
random and when stratification with numerous Given:
data is used. N1 = 200 N2 = 300 N = 500 n = 50
50
(N) ( 500 )
When to use: This is advisable to us if the n
ordering of the population is essentially n1 = N1 = 200 = 20
random and when stratification with numerous
50
(N) ( 500 )
data is used. n
n2 = N2 = 300 = 30
• Stratified Random Sampling
The sample sizes are 20 from A and 30 from B.
- It is obtained by separating the population
Then the units from each institution are to be
into non-overlapping groups called strata
selected by simple random sampling.
and then obtaining a simple random sample
from each stratum. Advantage: Stratification of respondents is
advantageous in terms of precision of the
- The individuals within each stratum should
estimates of the characteristics of the
be homogeneous (or similar) in some way.
population. Sampling designs may vary by
Example: stratum to adjust for the differences in the
conditions across strata. It is easy to use as a
A sample of 50 students is to be drawn from a random sampling design.
population consisting of 500 students
belonging to two institutions A and B. The Disadvantage: Values of the stratification
number of students in the institution A is 200 variable may not be easily available for all
and the institution B is 300. How will you draw units in the population especially if the
the sample using proportional allocation? characteristic of interest is homogeneous. It is
possible that there are not representative
• Cluster Sampling
- You take the sample from naturally occurring
groups in your population.
Example:
When to use: If no population list is available - Only few are willing to be interviewed
and if the population covers a wide area.
- Extreme difficulties in locating or identifying
Take Note! subjects
Used probability sampling if the main objective - Probability sampling is more expensive to
of the sample survey is making inferences implement
about the characteristics of the population
- Cannot enumerate the population elements.
under study.
Sources of Errors in Sampling
Basic Sampling Technique of Non-
Probability Sampling 1. Non-sampling Error
• Accidental Sampling - There is no system - Errors that result from the survey process.
of selection but only those whom the
researcher or interviewer meets by chance. - Any errors that cannot be attributed to the
sample-to-sample variability.
• Quota Sampling - There is specified
number of persons of certain types is Sources of Non-Sampling Error
included in the sample. The researcher is
aware of categories within the population 1. Non-responses
and draws samples from each category. The
2. Interviewer Error
size of each categorical sample is
proportional to the proportion of the 3. Misrepresented Answers
population that belongs in that category.
4. Data entry errors II. Determine the sample size of the following
problems. Show your solution.
5. Questionnaire Design
1. A dermatologist wishes to estimate the
6. Wording of Questions proportion of young adults who apply
sunscreen regularly before going out in the
7. Selection Bias
sun in the summer. Find the minimum
2. Sampling Error sample size required to estimate the
proportion with precision of 3%, and 90%
- Error that results from taking one sample confidence.
instead of examining the whole population.
2. The administration at a college wishes to
- Error that results from using sampling to estimate, the proportion of all its entering
estimate information regarding a population. freshmen who graduate within four years,
with 95% confidence. Estimate the
minimum size sample required. Assume
that the population standard deviation is σ
ACTIVITIES/ASSESSMENTS:
= 1.3 and precision level is 0.05.
I. Determine if the source would be a primary
3. A government agency wishes to estimate
or a secondary source.
the proportion of drivers aged 16–24 who
______________1. Government Records have been involved in a traffic accident in
the last year. It wishes to make the
______________2. Dictionary estimate to within 1% error and at 90%
confidence. Find the minimum sample size
______________3. Artifact required, using the information that several
years ago the proportion was 0.12.
______________4. A TV show explaining what
happened in Philippines. 4. An internet service provider wishes to
estimate, to within one percentage error,
______________5. Autobiography about
the current proportion of all email that is
Rodrigo Duterte.
spam, with 85% confidence. Last year the
______________6. Enrile diary describing proportion that was spam was 71%.
what he thought about the Estimate the minimum size sample
world war II. required if the total email that is spam is
10,000.
______________7. Audio and video
recordings III. Determine the type of sampling. (ex.
Simple Random Sampling, Purposive
______________8. Speeches Sampling)
Advantage of Tabular
Tabular Presentation: Presentation
• It is a systematic and logical arrangement of ✦ More information may be presented.
data in the form of Rows and Columns with
respect to the characteristics of data.
✦
Exact values can be read from a table to
retain precision.
• A table is best suited for representing individual
information and represents both quantitative
✦ Flexibility is maintained without
and qualitative information. distortion of data.
✦ Less work and less cost are required in
the preparation.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Preparing Tables B. Boxhead: The boxhead contains the captions or
The making of a compact table itself is an art. This should column headings. The heading of each column
contain all the information needed within the smallest possible
should contain as few words as possible, yet
space. What the purpose of tabulation is and how the tabulated
information is to be used are the main points to be kept in mind explain exactly what the data in the columns
while preparing for a statistical table. An ideal table should represent.
consist of the following main parts:.
A. Title: The title must tell as simply as possible what is in the C. Stubs: The row captions are known as the stub.
table. It should answer the questions: Items in the stub should be grouped to facilitate
✦ Who? White females with breast cancer, black males with interpretation of the data. For example, rows may
lung cancer. stand for score of classes and columns for data
✦ What are the data? Counts, percentage distributions, rates. related to sex of students. In the process, there will
✦ Where are the data from? Example: One hospital, or the be many rows for scores classes but only two
entire population covered by your registry. columns for male and female students.
✦
When? A particular year, time period.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Distribution Table?
A frequency distribution list each
category of data and the number of
occurrences for each category of data.
Solution:
To answer this question we need to construct a frequency
distribution to determine how many female and male
respondents participated in the study.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Procedure in Constructing
Frequency Table
✦ If the data is in the form of qualitative data
To construct the frequency distribution using
excel use the command:
=frequency(data_array,bins_array)
Then Ctrl → Shift → Enter
{=frequency(data_array,bins_array)}
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
graphic. Let the data speak for themselves. Ungrouped data without a 0
1
7
15
frequency distribution 2 12
3 4
1, 5, 4, 7, 2, 4, 1, 3, 8, 2, 2, 9 4 5
Polytechnic University of the Philippines
College of Science
Polytechnic University of the Philippines 5 2
College of Science
Department of Mathematics and Statistics
Department of Mathematics and Statistics Total 45
• It is the sum of the data values divided by the number of where: where:
∑i=1 fxi
data values.
∑i=1 xi xi = data values
xi = data values n r
• It is also called the average. n = no. of
x̄ = f = frequency x̄ =
• It is appropriate only for data under interval and ratio scale sample n n = no. of n
measurement. observations sample
observations
Advantage of Mean Population Mean
✦ Simple to understand and easy to calculate. where:
∑i=1 xi xi = data values ∑i=1 fxi
N where: r
✦ It is rigidly defined. xi = data values
✦ It is least affected fluctuation of sampling. N = no. of μ= f = frequency
μ=
observations N N
✦ It takes into account all the values in the series. N = no. of
observations
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Measures of Central Tendency: Formula for Median:
MEDIAN ✦ For Ungrouped Data ✦ For Grouped Data
It is the “middle observation” when the data set is sorted (in
(2 )
•
1. Arrange the data from n
either increasing or decreasing order). − < cf i
lowest to highest (or highest
• The median divides the distribution into two equal parts. x̃ = LB +
to lowest). f
Advantage of Median where:
✦ The median is not affected by the size of extreme values but 2. For an odd number of LB = lower boundary of the
by the number of observations. data, the median of a data median class
✦ The median can be calculated even when the frequency set is the “middle i = class width
distribution contains “open-ended” intervals. observation”. When the n = no. of observations
✦ It can also be used to define the middle of a number of
number of data is even, the < cf = less than the cumulative
median is the “average of frequency of the class
objects, properties, or quantities which are not really
quantitative in a nature. the two middle scores”. preceding the median class
f = frequency of the median
✦ It can be easily interpreted.
Polytechnic University of the Philippines Polytechnic University of the Philippines
class
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
In both data sets, the median is 116, as it is the number that • The mode is simply the most frequently occurring data
divides the data set into two exact halves. However, you will values in the data set. Therefore, it is mainly useful for the
notice that the mean is not identical in both data sets. For the nominal level of measurement. Both median and mean are
first data set, the mean is equal to 116 where the mean of the useful when the variable being measured can be quantified.
second data set is equal to 132.5 Also both data sets have no mode that’s why mode is not
appropriate measure to use in these data sets.
Notice how the mean of the second data set has been
influenced by the presence of an unusual case/outlier in the
data set. If we were to say the mean is equal to 132.5 for the
• It is better to use the median than to use the mean when
the sample is small or asymmetrical (i.e., skewed) and
second data set and it represents a typical case, this will not
make much sense because the majority of data values are less
unusual cases/outliers is present in the data sets. This is
than 120. Therefore, the mean should not be used when
why the average housing price is always reported with the
unusual, or outlying, data values are present in the data set, as median, since even one million-dollar house can distort the
the mean tends to be extremely sensitive to the unusual average housing price when most of the houses are in
values. Rather, the median should be reported in this case. Php500,000–Php650,000 range.
55 - 59 3
It is the midpoint of
Class Interval Frequency
50 - 54 6 every class interval.
55 - 59 55 45 - 49 7
To compute this:
LC + UP
50 - 54 23 40 - 44 9
x=
45 - 49 37 35 - 39 6
40 - 44 37 30 - 34 4
2
35 - 39 48 25 - 29 5 Ex:
7 55 + 59
30 - 34 42
fxi = x= = 57
25 - 29 27
Total n=
∑ 2
50 + 54
i=1
x= = 52
Polytechnic University of the Philippines Polytechnic University of the Philippines
2
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Solution: Solution:
7 To compute median and mode of grouped data, first
Class Interval Frequency x fx ∑i=1 fxi
x̄ =
(f) you need to fill out this table.
55 - 59 3 57 171
50 - 54 6 52 312 n Class
f LB < cf
Interval To compute the lower
1,675
45 - 49 7 47 329 55 - 59 3
b o u n d a r y, a l w a y s
=
40 - 44 9 42 378 50 - 54 6
subtract 0.5 to lower
40
35 - 39 6 37 222 45 - 49 7
30 - 34 4 32 128 40 - 44 9 class limit (LC).
= 41.88
25 - 29 5 27 135
7
35 - 39 6 Ex:
55 − 0.5 = 54.5
30 - 34 4
fxi = 1,675
Total n = 40 ∑
50 − 0.5 = 49.5
25 - 29 5
i=1
Total n=
(2 )
5 + 4 = 9 + 6 = 15 + 9 = 24 + 7 = 31 + 6 = 37 + 3 = 40 n
− < cf i
(20 − 15)5
x̃ = LB + x̃ = 39.5 + = 42.28
f 9
Solution:
Class
Interval f LB < cf The modal class is the class interval
Measures of Relative Position
55 - 59 3 54.5 40 with the highest frequency. The
modal class is 40 - 44.
50 - 54 6 49.5 37 Quantiles are statistics that describe
45 - 49
40 - 44
7
9
44.5
39.5
31
24 If there are two class interval that various subdivisions of a frequency
35 - 39 6 34.5 15
contains the highest frequency, distribution into equal proportions.
always choose the highest class
30 - 34 4 29.5 9
25 - 29 5 24.5 5
interval. Three special Quantiles:
d1 = 9 − 6 = 3 1. Quartiles
( d1 + d2 )
d1
x ̂ = LB + i
d2 = 9 − 7 = 2 2. Deciles
3
(3 + 2)
x ̂ = 39.5 + 5 = 42.5
3. Percentiles
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Formula for Quartile:
Quartiles - split
the ordered data ✦ For Ungrouped Data ✦ For Grouped Data
into four quarters.
(4 )
nk
1. Arrange the data from − < cf i
lowest to highest. Then use
Qk = LB +
this formula. f
Deciles - split the nk
Qclass = + 0.5
where:
ordered data into
ten equal. 4 LB = lower boundary of the
quartile class
2. If the resulting positioning i = class width
point is an integer, the
n = no. of observations
particular numerical k = quartile position
Percentiles - split
observation corresponding
the ordered data < cf = less than the cumulative
to that point is chosen for frequency of the class
into 100 equal
parts.
the quartile. If not, use preceding the quartile class
interpolation. f = frequency of the quartile
class
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
( 100 )
nk
( 10 )
1. Arrange the data from 1. Arrange the data from
nk
− < cf i lowest to highest. Then use − < cf i
lowest to highest. Then use
this formula. Dk = LB + this formula. Pk = LB +
f f
nk
Dclass =
nk
+ 0.5 Pclass = + 0.5 where:
10
where: 100 LB = lower boundary of the
LB = lower boundary of the
2. If the resulting 2. If the resulting percentile class
decile class
i = class width positioning point is an i = class width
positioning point is an
n = no. of observations n = no. of observations
integer, the particular integer, the particular
k = decile position k = percentile position
numerical observation numerical observation
< cf = less than the cumulative < cf = less than the cumulative
corresponding to that point corresponding to that point frequency of the class
is chosen for the decile.If frequency of the class is chosen for the percentile.
preceding the decile class preceding the percentile class
not, use interpolation. If not, use interpolation. f = frequency of the percentile
f = frequency of the decile class
Polytechnic University of the Philippines
College of Science
Department of Mathematics and Statistics
Polytechnic University of the Philippines
College of Science
Department of Mathematics and Statistics
class
Example 1: Solution: To compute Q3 of ungrouped data:
The data given below is the total number of hours 1. Arrange the data from lowest to highest.
lost due to tardiness and absences of employees in a 20 23 24 27 30 32 37 37 40 42 48 55
company in a given year. 1 2 3 4 5 6 7 8 9 10 11 12
(12)(3)
Qclass = = 9.5
Month Hour Lost (x)
Find Q3, D4 and P55. January
February
55
23
4
March 37
2. Use interpolation since the computed Qclass is not an integer.
April 37
May 48 20 23 24 27 30 32 37 37 40 42 48 55
June 42 1 2 3 4 5 6 7 8 9 10 11 12
Q3 = 40 + 0.5(42 − 40)
July 27
August 20
= 41
September 30
October 32
November 24
December 40
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
1. Arrange the data from lowest to highest. 1. Arrange the data from lowest to highest.
20 23 24 27 30 32 37 37 40 42 48 55 20 23 24 27 30 32 37 37 40 42 48 55
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
(12)(4) (12)(55)
Dclass = + 0.5 = 5.3 Pclass = + 0.5 = 7.1
10 100
2. Use interpolation since the computed Dclass is not an integer. 2. Use interpolation since the computed Pclass is not an integer.
20 23 24 27 30 32 37 37 40 42 48 55 20 23 24 27 30 32 37 37 40 42 48 55
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
(4 )
5 + 4 = 9 + 6 = 15 + 9 = 24 + 7 = 31 + 6 = 37 + 3 = 40 nk
− < cf i
(10 − 9)5
Qk = LB + Q1 = 34.5 + = 35.33
f 6
( 10 ) ( 100 )
nk
− < cf i
nk
− < cf i (5 − 0)5
(28 − 24)5 P10 = 24.5 + = 29.5
Dk = LB + D7 = 44.5 + = 47.36 Pk = LB + 5
f 7 f
Example 2: Solution:
The ages of the town’s people in a certain community To compute Q2, D5, and P50 of grouped data, first you
is as follows: need to fill out this table.
Class
f LB < cf
Class Interval Frequency Interval To compute the lower
18 - 24 28 18 - 24 28 b o u n d a r y, a l w a y s
25 - 31 54
25 - 31 54 subtract 0.5 to lower
32 - 38 38
32 - 38 38 class limit (LC).
39 - 45 20
39 - 45 20 Ex:
18 − 0.5 = 17.5
46 - 52 17
46 - 52 17
53 - 59 3
53 - 59 3
Total n= 25 − 0.5 = 24.5
Find Q2, D5, and P50. 32 − 0.5 = 31.5
(4 )
28 + 54 = 82 + 38 = 120 + 20 = 140 + 17 = 157 + 3 = 160 nk
− < cf i
(80 − 28)7
Qk = LB + Q2 = 24.5 + = 31.24
f 54
Solution: Solution:
nk
nk First, compute , it will help us to
Class First, compute , it will help us to Class
100
10
Interval f LB < cf Interval f LB < cf
determine the percentile class and
18 - 24 28 17.5 28 determine the decile class and the 18 - 24 28 17.5 28
the
< cf. (160)(5) (160)(50)
25 - 31 54 24.5 82 25 - 31 54 24.5 82
nk < cf. nk
= = 80 = = 80
10 10 100 100
32 - 38 38 31.5 120 32 - 38 38 31.5 120
39 - 45 20 38.5 140 39 - 45 20 38.5 140
46 - 52 17 45.5 157 The decile class is the class 46 - 52 17 45.5 157 The percentile class is the class
53 - 59 3 52.5 160 containing the 80th item. Hence, the 53 - 59 3 52.5 160 containing the 80th item. Hence, the
Total n = 160 decile class is 25 - 31. Total n = 160 percentile class is 25 - 31.
( 10 ) ( 100 )
nk nk
− < cf i − < cf i (80 − 28)7
(80 − 28)7
Dk = LB + D5 = 24.5 + = 31.24 Pk = LB + P50 = 24.5 + = 31.24
f 54 f 54
R = Xmax. − Xmin.
• The larger the standard deviation, the more variation there
is in the data set.
Range is simple to calculate. However, we should be • The standard deviation can never be a negative number,
cautious about using range as a measure of variability. due to the way it’s calculated and the fact that it measures a
distance (distances are never negative numbers).
Range is a very crude measure of variability as it only
uses the highest and lowest values in computation. • The smallest possible value for the standard deviation is 0,
Therefore, it does not accurately capture information and that happens only in contrived situations where every
about how data values in the set differ if the data set single number in the data set is exactly the same (no
deviation).
contains an unusual cases/outliers.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Formula for Standard Deviation: Measures of Dispersion/Variability:
Sample Standard Deviation
✦ For Ungrouped Data ✦ For Grouped Data
VARIANCE
where: where: It represents all data points in a set and is calculated
∑i=1 (xi − x̄) xi = data
2 ∑i=1 f(xi − x̄)2
n r
xi = data
values s = values s =
by averaging the squared deviation of each mean.
n−1 n−1
x̄ = mean x̄ = mean
n = no. of sample observations f = frequency Variance is not easy to read as it is the squared format
n = no. of sample observations and hence not easily interpretable. However,
Population Standard Deviation Standard deviation being in the same units as the
where: mean we can easily understand the spread of data.
where:
xi = data
∑i=1 (xi − μ) 2 xi = data ∑i=1 f(xi − μ)2
N r
values σ = values σ =
μ = mean N μ = mean N
N = no. of observations f = frequency
College of Science
N = no. of observations
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Solution: Solution: 7
∑i=1 f(xi − x̄)2
Class
(xi − x̄)2 f(xi − x̄)2 s=
f x fx
n−1
(xi − x̄) 2
f(xi − x̄) 2
Interval
Class
55 - 59 3 57 171 228.61 685.83
3,124.20
Interval
s=
50 - 54 6 52 312 102.41 614.46 55 - 59 228.61 685.83
45 - 49 7 47 329 26.21 183.47 50 - 54 102.41 614.46 40 − 1
40 - 44 9 42 378 0.01 0.09 45 - 49 26.21 183.47 = 8.95
35 - 39 6 37 222 23.81 142.86 40 - 44 0.01 0.09
30 - 34 4 32 128 97.61 390.44
7
∑i=1 f(xi − x̄)2
35 - 39 23.81 142.86
s =
25 - 29 5 27 135 221.41 1107.05 30 - 34 97.61 390.44 2
7 7
fx = f(x − x̄)2 =
25 - 29 221.41 1107.05
n−1
Total n = 40 ∑ i ∑ i 7
1,675 3,124.20 f(xi − x̄)2 = 3,124.20
i=1
∑
i=1
s2 =
Total
3,124.20
f(x1 − x̄) = 3(228.61) = 685.83
2 i=1
40 − 1
f(x2 − x̄)2 = 6(102.41) = 614.46 = 80.11
f(x3 − x̄)2 = 7(26.21) = 183.47
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
How to interpret variance and standard We cannot use variance as a measure of variability. Let us
assume that the values represent weight losses measured in
deviation? pounds taken from five subjects. Because the deviation of each
observation from the mean has been squared, the unit for the
Consider the following data set of toddler variance is now in (pound)2 . What does (pound)2 mean? If we
weights in an outpatient clinic, assuming that the were to say that data values differ from the mean on average
data values were taken: about 9.7 (pound)2, would this claim make sense? Probably not,
since there is no such a unit as a (pound)2.
Data Set 15 13 20 19 14
Why do we then take the square of the deviation if the (unit)2
will not make sense to interpret at the end? The answer is
Computed variance for this data set is 9.7. simple: If you do not square the deviation and sum each
Computed standard deviation for this data set is deviation, it will always add up to zero no matter what data
set you work with.
3.11. n n
(xi − x̄) = 0 → (xi − x̄)2 ≠ 0
What does this mean? ∑ ∑
i=1 i=1
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
How can we then talk about variability if the measure of Choosing a Measure of Dispersion/Variability:
variability comes out to be equal to zero? This is why we take We have discussed four types of dispersion/variability - the
square of the deviation to compute the variance first and range, the interquartile range, the variance, and the
then take square root of it to compute the standard standard deviation and examined how they differ. The next
deviation, bringing us back to the original unit of legitimate question to ask may be “When do we use which
measurement. measure?”
We get the standard deviation of 3.11 by taking square root of
9.7; we can then say that the data values differ from the mean You should use the range only as a crude measure, since it
(16.2 lbs.) on an average of about 3.11 pounds. We can is extremely sensitive to unusual values in the data set.
interpret this finding to mean that, on average, the weights fall Interquartile range is not as sensitive to unusual data values,
between 13.09 and 19.31 pounds. This makes more sense where standard deviation is very sensitive to unusual values.
when you look at the data set, compared to the variance. Note Therefore, the interquartile range should be used with the
that the mean and standard deviation should always be median when the data contain unusual data values.
reported together! However, the standard deviation should be used with the
16.2 − 3.11 = 13.09
mean when the data are free of unusual data values.
16.2 + 3.11 = 19.31
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Shape of Distribution Skewness
A symmetrical distribution will have a skewness of 0.
These two statistics give you insights into the shape of So, a normal distribution will have a skewness of 0.
the distribution.
In a symmetrical distribution, the Mean, Median and
✦
Skewness is the degree of distortion from the Mode are equal to each other and the ordinate at
symmetrical bell curve or the normal distribution. It mean divides the distribution into two equal parts.
measures the lack of symmetry in data distribution.
✦ Kurtosis is a measure of the combined sizes of the
two tails. It tells you how tall and sharp the central
peak is, relative to a standard bell curve.
and μ + σ.
Remember!
Positive values of z-score indicate how far above
the mean a score falls and negative values
indicate how far below the mean a score falls.
= -
z1 z2 0 z1 0 z2
1 − Area 1 − Area
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Patterns for Finding Areas under a Standard Normal Curve Patterns for Finding Areas under a Standard Normal Curve
= - = +
0 z1 0 z1 0 z1 0 z2 0 z2 z1 0
Area = 0.50 0.50 − Area 0.50 − Area
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
ACTIVITIES/ASSESSMENTS: ACTIVITIES/ASSESSMENTS:
4. Consider the above Frequency Distribution of 5. The length of life of an instrument produced by a machine has a normal
distribution with a mean of 12 months and standard deviation of 2 months.
Salaries. Find the probability that an instrument produced by this machine will last
Salary Frequency Percentage
A. less than 7 months.
41,000 - 50,000 1 1%
51,000 - 60,000 20 13% B. between 7 and 12 months.
61,000 - 70,000 53 35% Be sure to draw a normal curve with the area corresponding to the
71,000 - 80,000 43 29% probability shaded.
81,000 - 90,000 26 17% 6. The lengths of human pregnancies are approximately normally distributed,
91,000 - 100,000 6 4% with mean μ = 266 days and standard deviation σ = 16 days.
101,000 - 110,000 1 1% What proportion of pregnancies lasts more than 270 days?
Total 150 100% B. What proportion of pregnancies lasts less than 250 days?
1.What percentage of the employees earns less than or C. What proportion of pregnancies lasts between 240 and 280 days?
equal 80,000? D. What is the probability that a randomly selected pregnancy?
2.What is the salary range of values? lasts more than 280 days?
3.What salary categories have percentage less than 5? Be sure to draw a normal curve with the area corresponding to the
4.What salary category includes the most employees? probability shaded.
Polytechnic University of the Philippines
Polytechnic University of the Philippines
College of Science
College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
ACTIVITIES/ASSESSMENTS: ACTIVITIES/ASSESSMENTS:
7. Construct frequency distribution table based on the A. Based on the frequency distribution, compute measures of
scores of 75 randomly selected students. central tendency, measures of variation, Q1, D9, P10 , Skewness
37 46 37 26 30 41 28 49 29 34 46 50 38 35 42 and kurtosis.
B. Based on the raw data, compute measures of central
35 46 45 27 41 26 45 39 43 46 36 32 46 36 48 tendency, measures of variation, Skewness and kurtosis using
49 47 30 43 31 34 38 41 39 45 28 43 37 39 26 Excel.
38 30 29 38 26 31 42 44 48 43 37 46 38 27 50 C. Compute Skewness and kurtosis of grouped and ungrouped
42 33 42 42 43 39 39 31 46 46 48 48 50 45 31 data. Make sure to describe the shape of the distribution
Scores Frequency Percentage (%) D. Do you think that computed value for grouped and
26 to 30 ungrouped data are the same?
31 to 35
36 to 40 8. Begin with the following set of data, call it Data Set I.
41 to 45 5, −2, 6, 14, −3, 0, 1, 4, 3, 2, 5
46 to 50 A. Compute the sample standard deviation and sample mean of
Total Data Set I.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
ACTIVITIES/ASSESSMENTS:
B. Form a new data set, Data Set II, by adding 3 to each
number in Data Set I. Calculate the sample standard deviation References
and sample mean of Data Set II. https://prezi.com/rirrca9ckuiz/textual-
C. Form a new data set, Data Set III, by subtracting 6 from presentation-of-data/
each number in Data Set I. Calculate the sample standard
deviation and sample mean of Data Set III. https://www.toppr.com/guides/economics/
D. Comparing the answers to parts (a), (b), and (c), can you presentation-of-data/textual-and-tabular-
guess the pattern? State the general principle that you expect presentation-of-data/
to be true.
Statistics. Informed Decision using Data by
9.Using “Encoded Data file”, construct frequency distribution Michael Sullivan, III,. Fifth Edition
table for age, sex, marital status and educational attainment
and interpret the table.
• The generally accepted levels are 0.10, 0.05, and 0.01. What happen to the defendant if the jury made type I
• Be as rigorous as possible. and type II error?
Two Types of Error
Answer:
A type I error is like putting an innocent person in
jail.
A type II error is like letting a guilty person go free.
Performing statistical analysis using statistical Reject the null hypothesis if the test statistic is not within
software such as Excel, SPSS, R, Minitab, SAS, the range specified by the confidence interval.
etc. ✦ Using Traditional Approach
Reject Ho if the computed value of the test statistic falls in
5. Make Statistical Decision the region of rejection.
✦ Using P-value Approach
✦ Using confidence interval Reject the null hypothesis if the computed p-value is less
than or equal to the set significance level , otherwise do not
✦ Using p-value approach reject the null hypothesis.
Example: If the level of significance (α = 0.05),
✦ Using traditional method P-value Decision
0.01 Reject H0
0.05 Reject H0
0.10 Failed to Reject H0
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Traditional Approach One-tailed and Left tailed One-tailed and Right tailed
Ha : μ1 < μ2 Ha : μ1 > μ2
Rejection of region Rejection Region
or critical region is Rejection Region
the set of all values of
the test statistic
which will lead to the -2 0 2 -2 0 2
rejection of H0.
Acceptance Region is Two-tailed
the set of all values of Ha : μ1 ≠ μ2
the test statistic that Rejection Region
Rejection Region
leads the researcher to
retain H0.
Polytechnic University of the Philippines Polytechnic University of the Philippines -2 0 2
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Use "=DEVSQ( )”
function in excel
Polytechnic University of the Philippines Polytechnic
Polytechnic University
University of the Philippines
of the Philippines
College of Science College
College of Science
of Science
Department of Mathematics and Statistics Department
Department of Mathematics and Statistics
of Mathematics and Statistics
∑ i ( n+1−i
STEP 3: Calculate b as follows: b = a x − xi)
i=1
n is the number of
observation
If n is even:
n
m=
2
If n is odd:
n−1
m=
2
Since n is even in this
SS means Sum of Square example, m=8. That’s
why we used a1 to a8
Polytechnic
Polytechnic University
University of the Philippines
of the Philippines Polytechnic University of the Philippines
College
College of Science
of Science College of Science
Department
Department of Mathematics and Statistics
of Mathematics and Statistics Department of Mathematics and Statistics
Shapiro - Wilk Table
We choose this
interval in the table of
Shapiro - Wilk,
because our n=16 and
our test statistic
(W=0.955) is within
Polytechnic University of the Philippines Polytechnic University of the Philippines
this interval.
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Assumptions
Dependent Sample t - Test 1. Your dependent variable should be measured at
the interval or ratio level (i.e., they are
The dependent sample t-test (also called continuous).
the paired t-test or paired-samples t-test) 2. Your independent variable should consist of two
compares the means of two related groups categorical, "related groups" or "matched pairs”.
to determine whether there is a statistically 3. There should be no significant outliers in the
significant difference between these differences between the two related groups.
means. 4. The distribution of the differences in the
H0 : μ1 ≥ μ2 and Ha : μ1 < μ2 dependent variable between the two related
H0 : μ1 ≤ μ2 and Ha : μ1 > μ2 groups should be approximately normally
H0 : μ1 = μ2 and Ha : μ1 ≠ μ2 distributed.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Example: 1. State the Null and Alternative
A teacher is interested to know if the new learning program Hypothesis
will help to increase the number of correct remembered
Null hypothesis: Ho : μ1 ≥ μ2
words. 10 Subjects learn a list of 50 words. Learning
performance is measured using a recall test. The new learning program will not help to increase
After the first test all subjects the number of correct remembered words.
are instructed how to use the Alternative hypothesis: Ha : μ1 < μ2
learning program and then
The new learning program will help to increase the
learn a second list of 50 words.
Learning performance is again number of correct remembered words.
measured with the recall test. In 2. Set the Level of Significance or Alpha
the following table the number
of correct remembered words Level (α)
are listed for both tests. α = 0.05
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Reject Ho
Exercises:
6. Draw Conclusion Apply the procedure in testing the hypothesis.
Professor Rhea measured the time (in second) required to
catch a falling meter sticks for 10 randomly selected
There is sufficient evidence to support that the new students' dominant hand and non-dominant hand. Professor
learning program help to increase the number of Rhea claims that the reaction time in an individual's
correct remembered words. dominant hand is less than the reaction time in
their non-dominant hand.
Proper Presentation of Results Test the claim at the level
of significance. The data
obtained are presented:
Assumptions Example:
1. Your dependent variable should be measured on a Researchers wanted to know whether there was a difference in
continuous scale (i.e., it is measured at the interval or comprehension among students learning a computer program
ratio level). based on the style of the text. They randomly divided 18
2. Your independent variable should consist of two students into two groups of 9 each. The researchers verified
categorical, independent groups. that the 18 students were similar in terms of educational level,
3. You should have independence of observations, which age, and so on. Group 1 individuals learned the software using
means that there is no relationship between the visual manual (multimodal
observations in each group or between the groups instruction), while Group 2
themselves. individual learned the software
4. There should be no significant outliers. using textual manual (Unimodal
5. Your dependent variable should be approximately instruction). The following data
normally distributed for each group of the independent represent scores the students
variable. received on an exam given to them
6. There needs to be homogeneity of variances. they studied from the manuals.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
1. State the Null and Alternative 3. Determine the Test
Hypothesis
Null hypothesis: Ho : μ1 = μ2
Distribution to Use.
There is no significant difference between the scores of the Dependent Variable:
students learning computer program using textual and
visual style. Scores
Alternative hypothesis: Ha : μ1 ≠ μ2 Independent Variable:
There is significant difference between the scores of the
students learning computer program using textual and Style of the Text (Visual and Textual)
visual style.
2. Set the Level of Significance or Alpha Since we are comparing the means of two
Level (α) independent groups, we will use the
α = 0.05 independent sample t-test.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Determine if the
variances are equal
or not equal.
Failed to
Reject Ho
Since we failed to reject Ho, we will proceed to t-test: Two
Sample Assuming Equal Variances.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Result
Failed to
Polytechnic University of the Philippines
College of Science
Department of Mathematics and Statistics
Reject Ho Polytechnic University of the Philippines
College of Science
Department of Mathematics and Statistics
Exercises:
Apply the procedure in testing the hypothesis.
Twenty participants were given a list of 20 words to
process. The 20 participants were randomly assigned to
one of two treatment conditions. Half were instructed to
count the number of vowels in each word (shallow
processing). Half were instructed to judge whether the
object described by each word would be useful if one
were stranded on a desert island (deep processing).
After a brief distractor task, all subjects were given a
surprise free recall task. Did the instruction affect the
level of recall?The number of words correctly recalled
was recorded for each subject. Here are the data:
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Result
Failed to
Reject Ho
E q u a l
Variances
Polytechnic University of the Philippines
College of Science
Polytechnic University of the Philippines
College of Science
Assumed
Department of Mathematics and Statistics Department of Mathematics and Statistics
Failed to
Reject Ho
E q u a l
Variances
Polytechnic University of the Philippines
College of Science
Polytechnic University of the Philippines
College of Science
Assumed
Department of Mathematics and Statistics Department of Mathematics and Statistics
Using p-value approach: If pvalue ≤ α , reject Ho,
otherwise failed to reject Ho
Ho: Equal Variances Assumed
Ha: Equal Variances Not Assumed
Failed to
Reject Ho
E q u a l
Variances
Polytechnic University of the Philippines
College of Science
Polytechnic University of the Philippines
College of Science
Assumed
Department of Mathematics and Statistics Department of Mathematics and Statistics
Reject Ho
Exercises:
6. Draw Conclusion Apply the procedure in testing the hypothesis.
There is enough evidence to support that the A teacher is concerned about the level of
distribution of exam scores of students in knowledge possessed by PUP students regarding
mathematics is different for each city. Philippine history. Students completed a high
school senior level standardized history exam.
Proper Presentation of Results Academic major of the students was also recorded.
Data in terms of percent correct is recorded below
for 24 students. Is there a significant difference
between the levels of knowledge possessed by PUP
students regarding Philippine history when
grouped according to their academic major?
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Result
X X X
r = -1 r = -.6 r =0
If r is positive, the correlation is direct. Y Y
If r is negative, the correlation is inverse.
r = .6 r=1
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Reminders: Assumptions
• Correlation does not imply causation. 1. Your two variables should be measured at the
• Watch out for hidden (lurking) variables. interval or ratio level (i.e., they are
continuous).
Lurking Variable
2. There is a linear relationship between your
• A variable that is not included as an explanatory two variables.
or response variable in the analysis but can affect
the interpretation of relationships between 3. There should be no significant outliers.
variables.
4. Your variables should be approximately
• Can falsely identify a strong relationship between normally distributed.
variables or it can hide the true relationship.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Significance Testing of Pearson r Example:
Test Statistic: A dietetics student wanted to look at the
df relationship between calcium intake and
t=r knowledge about calcium in sports
1 − r2
where: science students. Table shows the data
df = degrees of freedom she collected. Is there a relationship
between calcium intake and knowledge
r = correlation coefficient of Pearson r
about calcium in sports science
Note:
students?
df = n − 2
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
df
t=r
1 − r2
Result
df = n − 2
Polytechnic University of the Philippines Polytechnic
Polytechnic University
University of the Philippines
of the Philippines
College of Science College
College of Science
of Science
Department of Mathematics and Statistics Department
Department of Mathematics and Statistics
of Mathematics and Statistics
5. Make Statistical Decision 6. Draw Conclusion
There is sufficient evidence to conclude that there
Using p-value approach: If pvalue ≤ α , is significant relationship between the calcium
reject Ho, otherwise failed to reject intake and knowledge about calcium in sports
Ho Strong and science students.
D i r e c t Proper Presentation of Results
Correlation
Exercises:
Apply the procedure in testing the hypothesis.
Example: Reminders:
1. A doctor who knows that hypertension depends
on smoking habits can tell his smoking patients what
they should do. The word contingency refers to
dependence, but this is only a
2. If the traffic condition (light, moderate, heavy,
standstill) is found to be dependent on vehicle plate statistical dependence and cannot be
numbers (odd, even) a traffic officer may decide to used to establish a direct cause-and-
revise traffic law enforcement. effect link between the two variables in
3. If poverty status of households is found to be question.
correlated with family size, government ought to
adopt a viable poverty management program
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
1. State the Null and Alternative
Example: Hypothesis
Null hypothesis:
Educators are always looking for novel ways in
which to teach statistics to undergraduates as part Gender is independent with the preferred type of
of a non-statistics degree course (e.g., psychology). learning medium.
With current technology, it is possible to present Alternative hypothesis:
how-to guides for statistical programs online Gender is dependent with the preferred type of
instead of in a book. However, different people learning medium.
learn in different ways. An educator would like to
know whether gender (male/female) is associated
2. Set the Level of Significance or Alpha
with the preferred type of learning medium (online Level (α)
vs. books). Use “Data_Example and Exercises file”. α = 0.0.5
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Grand Total
Column Total
ACTIVITIES/ASSESSMENTS:
Result Determine whether the sampling is dependent or independent.
________1. A researcher wishes to compare academic
aptitudes of married mathematicians and their spouses. She
obtains a random sample of 287 such couples who take an
academic aptitude test and determines each spouses academic
aptitude.
________2. A political scientist wants to know how a random
sample of 18- to 25-year-olds feel about Democrats and
Republicans in Congress. She obtains a random sample of
1030 registered voters 18 to 25 years of age and asks, Do you
have favorable/unfavorable opinion of the Democratic/
Republican party? Each individual was asked to disclose his
or her opinion about each party.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
ACTIVITIES/ASSESSMENTS: ACTIVITIES/ASSESSMENTS:
________3. An educator wants to determine whether a new Solve the following problems. Make sure to follow the 6 steps
curriculum significantly improves standardized test scores for third procedure.
grade students. She randomly divides 80 third-graders into two
groups. Group 1 is taught using the new curriculum, while group 2 is 1. A study is designed to test whether there is a difference in mean daily
taught using the traditional curriculum. At the end of the school year, calcium intake in adults with normal bone density, adults with
both groups are given the standardized test and the mean scores are osteopenia (a low bone density which may lead to osteoporosis) and
adults with osteoporosis. Adults 60 years of age with normal bone
compared.
density, osteopenia and osteoporosis are selected at random from
________4. A stock analyst wants to know if there is difference hospital records and invited to participate in the study. Each
between the mean rate of return from energy stocks and that from
participant's daily calcium intake is measured based on reported food
financial stocks. He randomly select 13 energy stocks and computes
intake and supplements. The data are shown below.
the rate of return for the past year. He randomly selects 13 financial
stocks and compute the rate of return for the past year. I s t h e r e a s t a t i s t i c a l l y Normal Bone Osteopenia Osteoporosis
significant difference in mean Density
1200 1000 890
________5. An urban economist believes that commute times to work calcium intake in patients 1000 1100 650
in the South are less than commute times to work in the Midwest. He with normal bone density as 980 700 1100
randomly selects 40 employed individuals in the south and 45 compared to patients with 900 800 900
employed individuals in the Midwest and determines their commute osteopenia and osteoporosis? 750 500 400
times.
Polytechnic University of the Philippines
College of Science
Polytechnic University of the Philippines
College of Science 800 700 350
Department of Mathematics and Statistics Department of Mathematics and Statistics
ACTIVITIES/ASSESSMENTS: ACTIVITIES/ASSESSMENTS:
2. Some studies have shown that in the United Men Women 3. A researcher is interested whether a training course increases
(in $) (in $)
States, men spend more than women buying gifts the teaching performance of the teachers who attended the
and cards on Valentine’s Day. Suppose a researcher 107.48 125.98
training courses. Test at 10% level of significance. The data are
wants to test this hypothesis by randomly sampling 143.61 45.53 shown below:
nine men and 10 women with comparable Case Before After Case Before After
demographic characteristics from various large cities 90.19 56.35
across the United States to be in a study. Each study
1 85 95 11 89 97
125.53 80.62
participant is asked to keep a log beginning one 2 84 98 12 87 98
month before Valentine’s Day and record all 70.7 46.37 3 86 97 13 82 95
purchases made for Valentine’s Day during that one- 83 44.34 4 87 92 14 81 95
month period. The resulting data are shown below.
129.63 75.21
5 89 96 15 86 92
Use these data and a 1% level of significance to test 6 82 93 16 89 91
to determine if, on average, men actually do spend 154.22 68.48 7 80 94 17 89 94
significantly more than women on Valentine’s Day.
Assume that such spending is normally distributed 93.8 85.82 8 84 95 18 84 95
in the population and that the population variances 126.11
9 86 90 19 85 96
are equal.
Polytechnic University of the Philippines
10 82 82
Polytechnic University of the Philippines
20 88 97
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
ACTIVITIES/ASSESSMENTS: ACTIVITIES/ASSESSMENTS:
Head
4. A pediatrician wants to Height
Circumference
5. The following data represent the smoking status from a
determine the relation that may (inches) random sample of 1054 U.S. residents 18 years or older by
(inches)
exist between a child’s height 27.75 17.5 level of education.
and head circumference. She 24.5 17.1
No. Of Years Smoking Status
randomly selects eleven 3- 25.5 17.1 of Education
yearold children from her 26 17.3 Current Former Never
practice, measures their heights 25 16.9 Less than 12 178 88 208
and head circumference, and 27.75 17.6
obtains the data shown in the 12 137 69 143
26.5 17.3
table below. 13 - 15 44 25 44
27 17.5
26.75 17.3 16 or more 34 33 51
26.75 17.5
27.5 17.5 Test whether smoking status and level of education are
independent at the α = 0.05 level of significance.
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
ACTIVITIES/ASSESSMENTS:
6. A pediatrician wants to Height
(inches)
Head
Circumference
References
determine the relation that may (inches)
exist between a child’s height 27.75 17.5 h t t p s : / / w o l f w e b . u n r. e d u / h o m e p a g e / a n i a /
and head circumference. She 24.5 17.1 stat352f12lectures/352lecture21f12.pdf
randomly selects eleven 3- 25.5 17.1
yearold children from her Statistics. Informed Decision using Data by
26 17.3
practice, measures their heights 25 16.9
Michael Sullivan, III,. Fifth Edition
and head circumference, and 27.75 17.6 http://www.real-statistics.com/tests-normality-
obtains the data shown in the 26.5 17.3
table below. and-symmetry/statistical-tests-normality-
27 17.5 symmetry/shapiro-wilk-test/
26.75 17.3
26.75 17.5
27.5 17.5
Polytechnic University of the Philippines Polytechnic University of the Philippines
College of Science College of Science
Department of Mathematics and Statistics Department of Mathematics and Statistics
Republic of the Philippines
Polytechnic University of the Philippines
Directions: Read each item carefully. Write the letter corresponding to the best answer on a yellow paper on each
item. Write NONE if no correct choice is given. Make sure to write also your solutions.
1. A bank surveyed all of its 60 employees to determine the proportion who participate in volunteer activities.
Which of the following statements is true?
(a) The bank should not use the data from this survey because this is an observational study.
(b) The bank does not need to use an inference procedure to determine the proportion of employees who
participate in volunteer activities because the survey was a census of all employees.
(c) The bank can use the result of this survey to prove that working for the bank causes employees to
participate in volunteer activities.
(d) The bank did not select a random sample of employees, so the survey will not provide the bank with useful
information.
2. In the design of a survey, which of the following best explains how to minimize response bias?
(a) Increase the sample size (c) Randomly select the sample
(b) Carefully word and field-test survey questions (d) Increase the number of questions in the survey
3. A body of principle, which deals with collection, analysis, interpretation and presentation of numerical facts or
data.
5. Which of the following statements regarding a researchers use of inferential statistics is true?
(a) It is best to measure every member of a population if possible.
(b) A random sample provides a perfect estimate of the population values.
(c) Descriptive statistics from a sample are used to estimate the characteristics of the population.
(d) We usually need to take several samples to obtain a good estimate of the population values.
7. What sampling technique is used when the respondents are chosen on the basis of pre-determined criteria set
by the researchers?
(a) cluster sampling (b) systematic sampling (c) purposive sampling (d) convenience sampling
(a) Normal (b) Unimodal (c) Negatively Skewed (d) Positively Skewed
(a) Increase (b) Decrease (c) stay the same (d) None of the above
11. If the statistics grades of Karen are 87, 85, 91, 89 and X, what must be the value of X so that the average is
89?
15. Mr. Martin had seven students in his after-school statistics tutorial. The scores they received on their last quiz
were as follows: 81, 73, 84, 78, 89, 82, 81. What was the mean score?
Page 2
(a) First Quartile (b) Fiftieth Percentile (c) Sixth decile (d) Third quartile
19. 5 is subtracted from each observation of a set, then the mean of the observation is reduced by
20. The standard deviation of 10 observations is 15. If 5 is added to each observations the value of new standard
deviation is
21. If the minimum value in a set is 9 and its range is 57, the maximum value of the set is
22. Which of the following situations exhibit the function of Inferential Statistics?
(a) The highest score obtained by BSS section 1 in their first quiz is 48.
(b) All the ten scores are closely scattered around the average value.
(c) Mathematical anxiety of the students will be related with their academic performance.
(d) Line graphs will be used to exhibit the fluctuating trend of monthly consumption of electricity.
23. Which of the following situations exhibit the function of Descriptive Statistics?
(a) Determining the most favored characteristics of the ideal teacher students perceived.
(b) Relating the number of absences committed by students with their academic performance.
(c) Citing the differences in perception of the male and female students towards NO ID-NO ENTRY policy.
(d) Comparing the course grades in Statistics of every section who are taking the subject during the first
semester.
For items 24 to 27, consider this situation. There were 200 students of PUP San Juan enrolled in General
Statistics in the first semester. A periodic examination was given and it was found out that the average score
is 93. When a random section with 50 students is chosen, it was found out thet 89 is the average score of the
section.
24. What do we call to the number 200?
(a) statistic (b) sample size (c) parameter (d) population size
(a) statistic (b) sample size (c) parameter (d) population size
(a) statistic (b) sample size (c) parameter (d) population size
(a) statistic (b) sample size (c) parameter (d) population size
For items 28 to 30, consider this situation.A group of undergraduate researchers aims to execute stratified
random sampling among 63 Section 1 students, 52 Section 2 students, 48 Section 3 students and 37 Section 4
students. The margin or error is 5%.
28. What is the sample size?
Page 3
(a) 124 students (b) 134 students (c) 144 students (d) 154 students
(a) TV station (b) encyclopedias (c) living organisms (d) scientific journals
32. A marketing team specializing in food products set stands in a mall to determine the preference of the mall-goers
in choosing and consuming finger-foods. What sampling technique is appropriate in doing this?
(a) cluster sampling (b) purposive sampling (c) convenience sampling (d) systematic sampling
33. A market research company asks a sample of students to rate the taste of a new soft drink. The response scale
is really yummy, yummy, ok, yuck, really yuck. This is an example of a
(a) Nominal Level (b) Ordinal Leve (c) Interval Level (d) Ratio Level
34. A researcher is studying students in college in PUP. She takes a sample of 400 students from 10 colleges. The
average age of selected college students in PUP is
35. A coffee shop wants to know the temperature of coffee that most people prefer. They brew coffee at the typical
temperature for the shop and then ask customers “Do you prefer coffee to be at this temperature?” and record
a yes or no answer for each customer. What is the level of measurement of the way they measured preferred
temperature?
36. The same coffee shop later repeats the study but this time they ask “Do you prefer coffee to be a lot colder, a
little cooler, this temperature, a little warmer or a lot hotter?” and record the persons response. Now, what is
the level of measurement of the way they measured preferred temperature?
(a) I, II and III (b) I, II, III and IV (c) II, III and IV (d) I, III and IV
38. Given a normally distribution, find the area under the curve which lies to the right of z = 1.96.
Page 4
(a) 0.9750 (b) 0.0196 (c) 0.4750 (d) 0.0250
For items 56 to 60, consider this situation. A researcher has collected the following sample data. 5, 12, 6, 8, 5,
6, 7, 5, 12, 4
39. Find the median.
43. Find the Pearson coefficient of skewness using the value of median.
Problem Solving
A. The PUPCET scores for the math portion of the test were normally distributed, with a mean of 23.4 and a
standard deviation of 4.8. Find the probability that a randomly selected student who took the math portion
of the PUPCET has a score that is
(a) less than 18.
Page 5
(g) D1
(h) D9
(i) P10
(j) P90
(k) Karl Pearsons Measure of Skewness
(l) Kurtosis
C. Construct a frequency distribution table.
(a) What percentage of couples married seven years has two children?
(b) What percentage of couples married seven years has at least two children?
Page 6
Republic of the Philippines
Polytechnic University of the Philippines
Directions: Read each item carefully. Write the letter corresponding to the best answer on a yellow paper on each
item. Write NONE if no correct choice is given. Make sure to write also your solutions.
4. If a researcher conducts a study in which the reading ability of a class of 20 second graders is tested at the
beginning and at the end of the year, the appropriate statistical procedure to analyze the results would be
5. Suppose a researcher is conducting a study in which five groups of adults, each group having a distinct life
situation, are assessed on a measure of stress. The appropriate statistical procedure to compare the groups is
a(n)
6. When the value of x variable increases and the value of y variable also increases. It is known as .
7. If the computed correlation coefficient of two continuous variables is 0.967, then describe the relationship.
(a) Weak Negative and Inverse Relationship
(b) Strong Negative and Inverse Relationship
(c) Strong Positive and Direct Relationship
(d) Weak Positive and Direct Relationship
8. If the computed value for Pearson r is negative, this implies that there is a/an relationship between
variables x and y.
9. You find children who take vitamins have higher health index scores than children who do not take vitamins
(p < 0.05). You have found that these two groups of children are
(a) significantly different
(b) different because of chance
(c) positively correlated
(d) negatively correlated
10. A conclusion in a research on Science Teaching in selected Quezon City high schools states, Most schools are
lack of adequate facilities. Which of the following is a proper recommendation for this conclusion?
(a) School administrators should be pro-active and skillful in acquiring adequate facilities.
(b) School administrators should conduct Science achievement tests that are centralized and uniform
(c) School administrators should hire more competent Science teachers for proper handling of the facilities.
(d) School administrators should work on the revision of the Science curricula so that lessons may adapt with
the facilities.
11. Which of the following is a positive correlation?
(a) Gas mileage decreases as vehicle weight increases
(b) As study time decreases, students achieve lower grades
(c) As levels of self-esteem decline, levels of depression increase
(d) People who exercise regularly are less likely to be obese
12. A friend of mine studies the effects of praise on happiness. She believes that children who receive praise are
happier overall than children who do not receive praise. She measures happiness by counting the number of
times a child smiles in a one hour period. She knows that in the population of children who do not receive praise
smiles average 4 times per hour with a standard deviation of .5, and that these data are normally distributed.
She selects a sample of 100 children whom she knows receive praise and finds that they smile an average of 3.5
times per hour.
An appropriate null hypothesis for this study is:
(a) Children who receive praise smile more than children who do not.
(b) Children who receive praise smile the same amount as children who do not.
(c) Children who receive praise are happier than children who do not.
(d) Children who receive praise do not smile more than children who do not.
13. What is the criterion for rejecting the null hypothesis using p value approach?
(a) If p value is less than or equal to the level of significance retain Ho, otherwise Reject Ho.
(b) If p value is less than or equal to the level of significance reject Ho, otherwise retain Ho.
(c) If p value is greater than or equal to the level of significance reject Ho, otherwise retain Ho.
(d) If p value is greater than or equal to the level of significance retain Ho, otherwise Reject Ho.
14. The alternative hypothesis of Shapiro wilk test is .
Page 2
(a) Equal variances assumed (c) Data follows a Normal Distribution
(b) Equal variances Not assumed (d) Data does not follows a Normal Distribution
15. An inspector needs to learn if customers are getting fewer ounces of a soft drink than the 28 ounces stated on
the label. After she collects data from a sample of bottles, she is going to conduct a test of a hypothesis. She
should use
(a) A two tailed test.
(b) A one tailed test with an alternative to the right.
(c) A one tailed test with an alternative to the left.
(d) Either a one or a two tailed test because they are equivalent.
16. A hypothesis test is done in which the alternative hypothesis is that more than 10% of a population is left-
handed. The computed p value is 0.25. Which statement is correct?
(a) We can conclude that more than 10% of the population is left-handed.
(b) We can conclude that more than 25% of the population is left-handed.
(c) We can conclude that exactly 25% of the population is left-handed.
(d) We cannot conclude that more than 10% of the population is left-handed.
17. If there is a negative correlation between no. of absences students have and grades. What can we conclude
from this research finding?
(a) That being absent leads to lower grades
(b) That students that are absent more often are likely to have lower grades
(c) That low grades leads to people being absent
(d) That this is an illusory correlation
18. It is a procedure on sample evidence and probability, used to test claims regarding a characteristic of one or
more populations.
19. If the computed p-value is 0.0001 and the level of significance is 0.01, what do you think will be the decision
of the researcher?
20. Which of the following statistical test is not used for testing significant difference?
Problem Solving
A. The ACT is a college entrance exam. ACT has determined that a score of 22 on the mathematics portion of
the ACT suggests that a student is ready for college-level mathematics. To achieve this goal, ACT recommends that
students take a core curriculum of math courses: Algebra I, Algebra II, and Geometry. Suppose a random sample
of 200 students who completed this core set of courses results in a mean ACT math score of 22.6 with a standard
deviation of 3.9. Do these results suggest that students who complete the core curriculum are ready for college-level
mathematics? That is, are they scoring above 22 on the math portion of the ACT?
Page 3
1. State the appropriate null and alternative hypotheses.
B. A corporation owns a chain of several hundred gasoline stations on the eastern seaboard. The marketing
director wants to test a proposed marketing campaign by running ads on some local television stations and deter-
mining whether gasoline sales at a sample of the companys stations increase after the advertising. The following
data represent gasoline sales for a day before and a day after the advertising campaign. Determine whether sales
increased significantly after the advertising campaign. Use an alpha of 0.05.
1. Step 1:
2. Step 2:
3. Step 3:
Check the assumptions.
4. Step 4:
5. Step 5:
6. Step 6:
Page 4