StatCrunch – Hypothesis Tests For A Population Mean

December 3, 2010 at 3:22 pm 1 comment

In today’s blog I will go over the steps for performing a hypothesis test for a single population mean using StatCrunch. Although I will be explaining the p-value approach to these tests, you could also use StatCrunch for a classical hypothesis test.

I will be focusing on both the z-test and the t-test for a single population mean. Consult your instructor, class notes, and/or textbook for the conditions for determining when to use a z-test and when to use a t-test.

z-test if you have summary data …

If you want to perform a z-test and already know the sample mean, sample standard deviation, and sample size, click the “Stat” button in StatCrunch and select “Z statistics” > “One sample” > “with summary” from the menu list. When the dialog box opens, input the sample mean, sample standard deviation, and sample size in the appropriate boxes.

Click the “Next” button to go to the second screen. Here you need to determine the inequality sign for the alternate hypothesis as well as the claimed value of \mu. Click on the “Calculate” button to display the results.

Here is the output box showing the results for testing H_0: \mu = 55.8 versus H_1: \mu > 55.8 with a sample mean of 57, a sample standard deviation of 6.2, and a sample size of 123.

In addition to calculating the Z-Statistic, StatCrunch provides you with the p-value for the test. Here the p-value is 0.0159. Here is how the hypothesis test would be written at \alpha = 0.05.

Step 1

H_0: \mu = 55.8 \\ H_1: \mu > 55.8

Step 2

\alpha = 0.05

Step 3

One mean, z-test

\frac {\bar {x} - \mu}{s/ \sqrt {n}}

Step 4

Reject H_0 if p-value < 0.05.

Step 5

p-value = 0.0159

Reject H_0.

There is significant evidence to support H_1.

z-test if you have sample data …

If you have sample data to work with, begin by typing it in one column in the StatCrunch spreadsheet. (Sample data can be copied and pasted into StatCrunch from other programs.) To perform the test, start with the “Stat” button and select “Z statistics” > “One sample” > “with data” from the menu list.

On the first screen of the dialog box you bill be prompted for the column containing the data, as well as the population standard deviation. On the second screen, enter the inequality for the alternate hypothesis as well as the claimed value of \mu and click the “Calculate” button.

The output is displayed in the same fashion as the test “with summary” as shown above.


If you need to perform a t-test, use the “T statistics” button.

The test “with summary” is exactly as it is described above for the z-test.

The test “with data” is the same as the z-test above, except you will not need to enter the (unknown) population standard deviation.


I hope that you find this useful. In future blogs I will explain how to use StatCrunch to perform proportion tests, 2-sample tests, chi-square tests, ANOVA, and paired sample tests. If you have any StatCrunch or statistical questions, you can reach me through the contact page on my website .


I am a mathematics instructor at College of the Sequoias in Visalia, CA. Each Friday I will blog about technology, inside and outside of the classroom. Let me know if there are other topics you’d like me to cover by leaving a comment or by reaching me through the contact page on my website:



Entry filed under: Math, StatCrunch, statistics, technology. Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , .

Group Resume (Community of Learners) MyMathLab: Preparing For The Final – Part 2

1 Comment Add your own

  • 1. danielle  |  December 9, 2011 at 4:58 pm

    hi you seem very knowledgeable about statcrunch. i am trying to put data in to perform a hypothesis test but i am having trouble putting it in. do you think you could help?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,501 other followers

December 2010
« Nov   Jan »


%d bloggers like this: