<< Chapter < Page Chapter >> Page >
Basic directions on how to use Google Spreadsheets and Excel to calculate and display Confidence Intervals.

Confidence intervals using spreadsheets

In this section we will discuss techniques using spreadsheet for creating confidence intervals for a one population mean, population standard deviation known; a one population mean, population standard deviation unknown: and for a population proportion,

Confidence intervals formulas

You can set up a worksheet in Excel to compute the confidence interval be using one of the following formulas in Excel or Google Spreadsheet

Function Excel Formula Google Spreadsheet formula
Confidence interval for one population mean, population standard deviation known. =confidence.norm(alpha, standard deviation, number in sample) =confidence(alpha, standard deviation, number in sample)
Confidence interval for one population mean, population standard deviation unknown. =confidence.t(alpha, standard deviation, number in sample) No built in formula
Confidence interval for one population proportion. There is no built in formula. . . we will calculate using model below = p-hat±(critical value z-score*sqrt((p-hat*(1-p-hat)/n) There is no built in formula. . . we will calculate using model below = p-hat±(critical value z-score*sqrt((p-hat*(1-p-hat)/n)

Displaying confidence intervals:

To graph confidence intervals 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 normal distribution and for a Student’s t-distribution. For a normal distribution, you will need to have your mean and standard deviation and again your right and left cut off values (which in this case will be your critical values). For a Student’s t-distribution, you will need to have degrees of freedom and again your right and left cut off values (which in this case will be your critical values). Below is a graph of the Student’s t-distribution. We have used the example from 8.6 Two column Model step by step example for this demonstration. The degrees of freedom were 14 and a 95% confidence interval. We used the t-table to determine the left and right cut off values. In this instance two tailed confidence interval of 95% with 14 degrees for freedom is minus and plus 2.145.

This next example is using the normal distribution for determining the confidence interval for a population proportion. The normal density curve here has the population proportion as the mean (p or p-hat) and the standard deviation (the square root of (p(1-p)/n). We have demonstrated the example 8.8 to show you how this looks in SOCR. For this problem the mean proportion was .842 and the critical z-value for a 95% confidence interval was ± 0.032 or (0.81, 0.874).

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

Explain the following terms . (1) Abiotic factors in an ecosystem
Nomai Reply
Abiotic factors are non living components of ecosystem.These include physical and chemical elements like temperature,light,water,soil,air quality and oxygen etc
Qasim
what is biology
daniel Reply
what is diffusion
Emmanuel Reply
passive process of transport of low-molecular weight material according to its concentration gradient
AI-Robot
what is production?
Catherine
Pathogens and diseases
how did the oxygen help a human being
Achol Reply
how did the nutrition help the plants
Achol Reply
Biology is a branch of Natural science which deals/About living Organism.
Ahmedin Reply
what is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
cell is the smallest unit of the humanity biologically
Abraham
what is biology
Victoria Reply
what is biology
Abraham
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is respiration
Deborah
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




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?

Ask