#### Title

Intro to Statistical Tools: R vs. PSPP

#### Description

A simple example of hypothesis testing using R vs. PSPP – a free alternative to SPSS! See comments for download links, sample question and quiz.

Loading...

Media is loading

#### Publication Date

Spring 2020

#### City

New Orleans, LA

#### Disciplines

Online and Distance Education | Statistics and Probability

#### Recommended Citation

Saltzman, Alex, "Intro to Statistical Tools: R vs. PSPP" (2020). *Data Visualization Lab Videos*. 13.

https://digitalcommons.xula.edu/data_instruct/13

## Comments

Today’s question:

A researcher would like to examine the effects of humidity on eating behavior. Laboratory rats normally eat an average of mu = 21 grams of food each day. The researcher selects a random sample of 16 rats and places them in a controlled atmosphere where relative humidity is maintained at 90%, predicting that humidity will affect food consumption. The daily food consumption scores are as follows:

14,18,21,15,18,18,21,18,16,20,17,19,20,17,17,19

Is this finding statistically significant with an alpha (significance level) or 5%?

First we make our null hypothesis:

H0: mean at 90% humidity = population mean

Can we reject this null hypothesis? How do we answer this question using R and PSPP to conduct a 1-sample t-test? See video for solution!

=== Install links ===

R: https://mirror.las.iastate.edu/CRAN/

RStudio: https://rstudio.com/products/rstudio/download/

PSPP: https://www.gnu.org/software/pspp/get.html

=== R vs. PSPP Quiz ===

1) What are the differences between the variable tab and the data tab in PSPP?

2) What needs to be done in PSPP before adding real data?

3) Given an increase in our number of samples – but no change to the mean and standard deviation of the samples – what will happen to your 95% confidence interval?

4) Which number is equal to 2.433e-05

5) What advantages do R and PSPP have over other software?