<< Chapter < Page Chapter >> Page >
Basic directions on how to use Google Spreadsheet and Excel to calculate and display Chi-Square results for bivariate proportional data.

The chi-square distribution using spreadsheets

In this section we will discuss techniques using spreadsheet for exploring Chi-Square

Hypothesis testing formulas

In Excel and in Google Spreadsheet we will need to enter equations (as we did before) to generate the Chi-Square Expected Values before using the built in formulas. The built in formulas ask for the actual values and the expected values. To generate these values, we have created the following demonstration using the example 11.2 from the chapter. You can generate this type of contingency table using Pivot Tables. We will demonstrate how to use that table to create a table for expected values.

2 Type of Volunteer 1-3 hrs. 4-6 hrs. 7-9 hrs. Row Total
3 Community College Students 111 96 48 255
4 Four-Year College Students 96 133 61 290
5 Nonstudents 91 150 53 294
6 Column Total 298 379 162 839

Using the cell addresses as above I will create the expected values using these formulas.

You will now have the data you need to use the Chisq.test formula. Pick a cell on your spreadsheet where you would like the results. For this example we picked cell B16, so in cell A16 I entered my label. In cell B16 I typed, =chisq.test. The menu then pops up and lets you know to enter the actual values and the expected values. Once you select the cells that contain your actual and expected values the p-value for the chi-square test will appear. Observe the following two screenshots.

If you are more interested in the actual Chi-Square calculation based on the sum of the (observed-expected)^2 / expected rather than the p-value output which is given by the above formula, we would need to create one more set of data, to create the Chi-Square sum value below you will see the set up.

These values will produce the following results.

A Chi-Square sum value of 12.99

Displaying chi-square results:

To graph Chi-Square Distribution use the “Statistics Online Computational Resources (SOCR)” (just as in the previous chapter) at http://socr.ucla.edu/htmls/SOCR_Distributions.html has in the dropdown menu for SOCR distribution the Chi-Square distribution. For the Chi-Square distribution, you will only need the Degrees of Freedom (c-1)*(r-1). You can then enter your right cut off values (which in this case will be your critical values). Below is a graph of the Chi distribution for the above example.

Note that our value of 12.99 gives us the probability value that we calculated using the Excel chisq.test.

Optional classroom exercise:

At your computer, try to use some of these tools to work out your homework problems or check homework that you have completed to see if the results are the same or similar.

Questions & Answers

what is variations in raman spectra for nanomaterials
Jyoti Reply
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
yes that's correct
I think
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
scanning tunneling microscope
how nano science is used for hydrophobicity
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
what is differents between GO and RGO?
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
The nanotechnology is as new science, to scale nanometric
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
what school?
biomolecules are e building blocks of every organics and inorganic materials.
anyone know any internet site where one can find nanotechnology papers?
Damian Reply
sciencedirect big data base
Introduction about quantum dots in nanotechnology
Praveena Reply
what does nano mean?
Anassong Reply
nano basically means 10^(-9). nanometer is a unit to measure length.
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
Damian Reply
absolutely yes
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, Collaborative statistics using spreadsheets. OpenStax CNX. Jan 05, 2016 Download for free at http://legacy.cnx.org/content/col11521/1.23
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Collaborative statistics using spreadsheets' conversation and receive update notifications?