Professional Documents
Culture Documents
Mid Term
Mid Term
Duhig
Student ID No. 2023-04344
A random variable is discrete if its set of possible values is a collection of isolated points on
the number line. A discrete random variable almost always arises in connection with counting
(e.g., the number of items purchased, the number of gas pumps in use or the number of
broken eggs in a carton).
On the other hand, a variable is continuous if its set of possible values includes an entire
interval on the number line. A continuous random variable is one whose value is typically
obtained by measurement (temperature in a freezer compartment, weight of a pineapple,
amount of time spent in the store, etc.)
The most basic method for sampling is referred to as "simple random sampling." In simple
random sampling, a sample is chosen in a manner that ensures every possible subset of the
desired size has an equal likelihood of being selected.
When the total population can be divided into distinct and non-overlapping subcategories, a
technique called "stratified sampling" is frequently a more practical and cost-efficient
approach than simple random sampling. In stratified random sampling, discrete simple
random samples are autonomously chosen from each subgroup.
3. Compute the Mean and Standard Deviation, and determine the Median and the Mode for the table below:
MEAN
Σx
x=
n
3640
x=
80
x=45.5 0
MEDIAN
~
x=If n is odd , then ~ ( ) 1
x= n+ th term
2
n n
( )th term+( +1)th term
~ 2 2
x=If n is even , then ~
x=
2
~ 45+ 46
x=
2
~ 40+ 41
x=
2
~x=45.5 0
MODE
Length of
Butterfly Frequency
wings in cm
39 1
40 2
41 3
42 7
43 8
44 9
45 10
46 10
47 9
48 8
49 7
50 3
51 2
52 1
total 80
^x =45∧46
Square of
Distance the
Data Point from the distance
mean from the
STANDARD DEVIATION
mean
39 (6.50) 42.25
40 (5.50) 30.25
40 (5.50) 30.25
41 (4.50) 20.25
41 (4.50) 20.25
√
41 (4.50) 20.25
2
42 (3.50) 12.25
Σ ( X−μ )
42
42
(3.50)
(3.50)
12.25
12.25 σ=
42 (3.50) 12.25 N
42 (3.50) 12.25
42 (3.50) 12.25
42 (3.50) 12.25
43 (2.50) 6.25
43 (2.50) 6.25
√
43 (2.50) 6.25
43 (2.50) 6.25 644
43 (2.50) 6.25 σ=
43 (2.50) 6.25 80
43 (2.50) 6.25
43 (2.50) 6.25
44 (1.50) 2.25
44 (1.50) 2.25
44 (1.50) 2.25
44
44
(1.50)
(1.50)
2.25
2.25
σ =2.837252192
44 (1.50) 2.25
44 (1.50) 2.25
44 (1.50) 2.25
44 (1.50) 2.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
45 (0.50) 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
46 0.50 0.25
47 1.50 2.25
47 1.50 2.25
47 1.50 2.25
47 1.50 2.25
47 1.50 2.25
47 1.50 2.25
47 1.50 2.25
47 1.50 2.25
47 1.50 2.25
48 2.50 6.25
48 2.50 6.25
48 2.50 6.25
48 2.50 6.25
48 2.50 6.25
48 2.50 6.25
48 2.50 6.25
48 2.50 6.25
49 3.50 12.25
49 3.50 12.25
49 3.50 12.25
49 3.50 12.25
49 3.50 12.25
49 3.50 12.25
49 3.50 12.25
50 4.50 20.25
50 4.50 20.25
50 4.50 20.25
51 5.50 30.25
51 5.50 30.25
52 6.50 42.25
Total 644
N 80
Standard Deviation 2.837252
5. Interpret the descriptive results in “3” (Hint: use the Mean and Standard Deviation by approximating the
Histogram to the properties of the Normal Curve (Bell Curve).
6. A rapid survey was conducted on voter’s preference with results tabulated in the Contingency Table below:
Research Question:
How does one's party affiliation influence their voting preferences in the 2024 US Presidential
Election, specifically in terms of the number of Democratic and Republican voters who favor either
Biden or Trump?
There is no significant difference in the number of Democratic and Republican voters favoring
Biden and Trump in the 2024 US Presidential Election.
P(Democrats for Biden)=P( Democrats for Trump)∧P(Republicans for Biden)=P(Republicans for Trump).
There is a significant difference in the number of Democratic and Republican voters favoring
Biden and Trump in the 2024 US Presidential Election.
8. Calculate the Expected Values (EVs) in each cell of the Contingency Table of EVs. Use the formula below:
Rn C n
Expected Value , ER ,C =
N
χ2=∑
χ ² ≈ 180.54
Df =(2−1)(2−1)
df =( 1 ) (1 )
Df =1
For α =0.05 and degrees of freedom = 1, the critical value from a chi-squared distribution table is
approximately 3.841.
Since the computed chi-squared value of 180.54 is greater than the critical chi-squared value of 3.841, I
would reject the null hypothesis.
This indicates that there is a significant relationship between party affiliation and voting preferences in the
2024 US Presidential Election. In other words, party affiliation is not independent of voting preferences.