# 11.3 Test of independence  (Page 3/20)

 Page 3 / 20

De Anza College is interested in the relationship between anxiety level and the need to succeed in school. A random sample of 400 students took a test that measured anxiety level and need to succeed in school. [link] shows the results. De Anza College wants to know if anxiety level and need to succeed in school are independent events.

Need to succeed in school vs. anxiety level
Need to Succeed in School High
Anxiety
Med-high
Anxiety
Medium
Anxiety
Med-low
Anxiety
Low
Anxiety
Row Total
High Need 35 42 53 15 10 155
Medium Need 18 48 63 33 31 193
Low Need 4 5 11 15 17 52
Column Total 57 95 127 63 58 400

a. How many high anxiety level students are expected to have a high need to succeed in school?

a. The column total for a high anxiety level is 57. The row total for high need to succeed in school is 155. The sample size or total surveyed is 400.

$E=\frac{\text{(row total)(column total)}}{\text{total surveyed}}=\frac{155\cdot 57}{400}=22.09$

The expected number of students who have a high anxiety level and a high need to succeed in school is about 22.

b. If the two variables are independent, how many students do you expect to have a low need to succeed in school and a med-low level of anxiety?

b. The column total for a med-low anxiety level is 63. The row total for a low need to succeed in school is 52. The sample size or total surveyed is 400.

c. $E=\frac{\text{(row total)(column total)}}{\text{total surveyed}}$ = ________

c. $E=\frac{\text{(row total)(column total)}}{\text{total surveyed}}=8.19$

d. The expected number of students who have a med-low anxiety level and a low need to succeed in school is about ________.

d. 8

## Try it

Refer back to the information in [link] . How many service providing jobs are there expected to be in 2020? How many nonagriculture wage and salary jobs are there expected to be in 2020?

12,727, 14,965

## References

DiCamilo, Mark, Mervin Field, “Most Californians See a Direct Linkage between Obesity and Sugary Sodas. Two in Three Voters Support Taxing Sugar-Sweetened Beverages If Proceeds are Tied to Improving School Nutrition and Physical Activity Programs.” The Field Poll, released Feb. 14, 2013. Available online at http://field.com/fieldpollonline/subscribers/Rls2436.pdf (accessed May 24, 2013).

Harris Interactive, “Favorite Flavor of Ice Cream.” Available online at http://www.statisticbrain.com/favorite-flavor-of-ice-cream (accessed May 24, 2013)

“Youngest Online Entrepreneurs List.” Available online at http://www.statisticbrain.com/youngest-online-entrepreneur-list (accessed May 24, 2013).

## Chapter review

To assess whether two factors are independent or not, you can apply the test of independence that uses the chi-square distribution. The null hypothesis for this test states that the two factors are independent. The test compares observed values to expected values. The test is right-tailed. Each observation or cell category must have an expected value of at least 5.

## Test of independence

• The number of degrees of freedom is equal to (number of columns - 1)(number of rows - 1).
• The test statistic is $\underset{\left(i\cdot j\right)}{\Sigma }\frac{{\left(O–E\right)}^{2}}{E}$ where O = observed values, E = expected values, i = the number of rows in the table, and j = the number of columns in the table.
• If the null hypothesis is true, the expected number $E=\frac{\text{(row total)(column total)}}{\text{total surveyed}}$ .

what is standard deviation?
It is the measure of the variation of certain values from the Mean (Center) of a frequency distribution of sample values for a particular Variable.
Dominic
Yeah....the simplest one
IRFAN
what is the number of x
10
Elicia
Javed Arif
Jawed
how will you know if a group of data set is a sample or population
population is the whole set and the sample is the subset of population.
umair
if the data set is drawn out of a larger set it is a sample and if it is itself the whole complete set it can be treated as population.
Bhavika
hello everyone if I have the data set which contains measurements of each part during 10 years, may I say that it's the population or it's still a sample because it doesn't contain my measurements in the future? thanks
Alexander
Pls I hv a problem on t test is there anyone who can help?
Peggy
Dominic
Bhavika is right
Dominic
what is the problem peggy?
Bhavika
hi
Sandeep
Hello
hi
Bhavika
hii Bhavika
Dar
Hi eny population has a special definition. if that data set had all of characteristics of definition, that is population. otherwise that is a sample
Hoshyar
three coins are tossed. find the probability of no head
three coins are tossed consecutively or what ?
umair
umair
or .125 is the probability of getting no head when 3 coins are tossed
umair
🤣🤣🤣
Simone
what is two tailed test
if the diameter will be greater than 3 cm then the bullet will not fit in the barrel of the gun so you are bothered for both the sides.
umair
in this test you are worried on both the ends
umair
lets say you are designing a bullet for thw gun od diameter equals 3cm.if the diameter of the bullet is less than 3 cm then you wont be able to shoot it
umair
In order to apply weddles rule for numerical integration what is minimum number of ordinates
excuse me?
Gabriel
why?
didn't understand the question though.
Gabriel
which question? ?
We have rules of numerical integration like Trapezoidal rule, Simpson's 1/3 and 3/8 rules, Boole's rule and Weddle rule for n =1,2,3,4 and 6 but for n=5?
John
geometric mean of two numbers 4 and 16 is:
10
umair
really
iphone
quartile deviation of 8 8 8 is:
iphone
sorry 8 is the geometric mean of 4,16
umair
quartile deviation of 8 8 8 is
iphone
can you please expalin the whole question ?
umair
mcq
iphone
h
iphone
can you please post the picture of that ?
umair
how
iphone
hello
John
10 now
John
how to find out the value
can you be more specific ?
umair
yes
KrishnaReddy
what is the difference between inferential and descriptive statistics
descriptive statistics gives you the result on the the data like you can calculate various things like variance,mean,median etc. however, inferential stats is involved in prediction of future trends using the previous stored data.
umair
if you need more help i am up for the help.
umair
Thanks a lot
Anjali
Inferential Statistics involves drawing conclusions on a population based on analysis of a sample. Descriptive statistics summarises or describes your current data as numerical calculations or graphs.
fred
my pleasure😊. Helping others offers me satisfaction 😊
umair
for poisson distribution mean............variance.
both are equal to mu
Faizan
mean=variance
Faizan
what is a variable
something that changes
Festus
why we only calculate 4 moment of mean? asked in papers.
why we only 4 moment of mean ? asked in BA exam
Faizan
Hello, can you please share the possible questions that are likely to be examined under the topic: regression and correlation analysis.
Refiloe
for normal distribution mean is 2 & variance is 4 find mu 4?
repeat quastion again
Yusuf
find mu 4. it can be wrong but want to prove how.
Faizan
for a normal distribution if mu 4 is 12 then find mu 3?
Question hi wrong ha
Tahir
ye BA mcqs me aya he teen he. 2dafa aya he
Faizan
if X is normally distributed. (n,b). then its mean deviation is?
Faizan
The answer is zero, because all odd ordered central moments of a normal distribution are Zero.
nikita
which question is zero
Faizan
sorry it is (5,16) in place of (n,b)
Faizan
I got. thanks. it is zero.
Faizan
a random variable having binomial distribution is?
Bokaho