Introduction
(Slide 1 of 28)

Chapter 1. Successful Dieting: Everything Up to the Independent-Samples t Test

Which Test Is Best?
true
true
You must read each slide, and complete any questions on the slide, in sequence.

Successful Dieting: Everything Up to the Independent-Samples t Test

By Warren Fass, University of Pittsburgh Bradford, and Susan A. Nolan, Seton Hall University

Successful Dieting: Everything Up to the Independent-Samples t Test

Tofu with boiled vegetables on plate and tomato closeup
mama_mia/Shutterstock

In this activity, we will consider various findings from the lifehacker.com article, "The Foods Successful Dieters Eat More Of, According to MyFitnessPal" (Pinola, 2016). Then you will identify statistical analyses that could be used to support the various conclusions.

Guidelines for choosing the appropriate hypothesis test
Flashon Studio/Shutterstock

Successful Dieting: Everything Up to the Independent-Samples t Test

Plus Size Female Exercise Outdoor Happy Smile Under Sunny Blue Sky
Flashon Studio/Shutterstock

Have you ever tried to lose weight? If you are like us, and thousands of other people, you may have tried monitoring what you eat, following different diet plans, and/or exercising. With so many ads for weight loss methods, it can be confusing to figure out which option is best; however, there are a variety of Web sites and smart phone apps that might help.

For example, users of MyFitnessPal enter data (either on the Web site or on a smart phone) related to their food intake and the type of exercise performed (Pinola, 2016). MyFitnessPal has compiled these data from approximately 4.2 million users to distinguish the diets of successful dieters from those of unsuccessful dieters. MyFitnessPal operationally defined success in dieting as attaining a weight within 5% of the desired weight-loss goal. So, if you wanted to lose 20 pounds (9.1 kilograms), success would mean getting within 1 pound (0.5 kilogram) of that goal – that is, losing at least 19 pounds (8.6 kilograms). A total of 427,000 out of 4.2 million users met that criterion for successful dieters. The remaining 3.8 million users were considered the unsuccessful dieters. What can we learn from these data?

Successful Dieting: Everything Up to the Independent-Samples t Test

What do successful dieters eat compared to unsuccessful dieters? The answer may be surprising. Let’s look at one of the findings obtained by MyFitnessPal (Pinola, 2016):

Mean daily fiber intake of unsuccessful and successful dieters.
Source: https://blog.myfitnesspal.com/eat-like-successful-myfitnesspal-user (p. 14)

Mean daily fiber intake of unsuccessful and successful dieters, Image Long Description

The graph shows that successful dieters had a mean daily fiber intake of 13.5 grams and the unsuccessful dieters had a mean daily fiber intake of 10.5 grams. Consequently, successful dieters eat 29% more fiber.

Mean daily fiber intake of unsuccessful and successful dieters
Grams of fiber
Unsuccessful dieters 10.5
Successful dieters 13.5

As indicated in the graph, successful dieters had a mean daily fiber intake of 13.5 grams and the unsuccessful dieters had a mean daily fiber intake of 10.5 grams.

Successful Dieting: Everything Up to the Independent-Samples t Test

Which statistical test could be used to determine if the successful dieters consumed significantly more daily fiber than the unsuccessful dieters?





Correct! The researchers could have used an independent-samples t test because there is one nominal independent variable, success in dieting, with two levels or groups: successful and unsuccessful. There is one scale dependent variable, fiber intake in grams. And participants are in only one of the two groups, so it is a between-groups design.
 
Now you can skip ahead to the next example by clicking here. Or, if you would like more practice walking through the flowchart questions, then simply click the Next button in the bottom right corner of the screen.
Actually, that’s not the correct statistical analysis. Let’s walk through the questions on the flow chart in Appendix E to help you determine what analysis could be used in this case.

Successful Dieting: Everything Up to the Independent-Samples t Test

In which of the following four categories does this situation fall? Click if you’d like to see the data again. And click on the flowchart button if you’d like to see the overview for choosing the best test.

The graph shows that successful dieters had a mean daily fiber intake of 13.5 grams and the unsuccessful dieters had a mean daily fiber intake of 10.5 grams. Consequently, successful dieters eat 29% more fiber.





Correct! There is at least one nominal independent variable and a scale dependent variable.
Actually, there is at least one nominal independent variable and a scale dependent variable.

Successful Dieting: Everything Up to the Independent-Samples t Test

How many nominal independent variables are there?



Correct! There is one nominal independent variable – dieter’s outcome. (The dependent variable, fiber intake in grams, is scale.)
Actually, there is only one nominal independent variable – dieter’s outcome. (The dependent variable, fiber intake in grams, is scale.)

Successful Dieting: Everything Up to the Independent-Samples t Test

How many levels does this independent variable have?



Correct! One level of the independent variable would be successful diet outcome, and the other level would be unsuccessful diet outcome.
Actually, there are two levels of the independent variable. One level of the independent variable would be successful diet outcome, and the other level would be unsuccessful diet outcome.

Successful Dieting: Everything Up to the Independent-Samples t Test

How many samples are there?



Correct! There are two samples, one consisting of the successful dieters and one consisting of the unsuccessful dieters.
Actually, there are two samples, one consisting of the successful dieters and one consisting of the unsuccessful dieters.

Successful Dieting: Everything Up to the Independent-Samples t Test

What type of design is this?



Correct! This is a between-groups design. Each participant appears in only one of the groups.
Actually, the design is a between-groups design. Each participant appears in only one of the groups.

Successful Dieting: Everything Up to the Independent-Samples t Test

Based on the answers to these questions, what statistical test could be used to determine if the successful dieters consumed significantly more daily fiber than the unsuccessful dieters?





Correct! The researchers could have used an independent-samples t test because there is one nominal independent variable, success in dieting, with two levels, or groups: successful and unsuccessful. There is one scale dependent variable, fiber intake in grams. And participants are in only one of the two groups, so it is a between-groups design.
Actually, that’s not the correct statistical analysis. The researchers could have used an independent-samples t test because there is one nominal independent variable, success in dieting, with two levels, or groups: successful and unsuccessful. There is one scale dependent variable, fiber intake in grams. And participants are in only one of the two groups, so it is a between-groups design.

Successful Dieting: Everything Up to the Independent-Samples t Test

Feet in socks on a scale
Bodrov Kirill/Shutterstock

Now let’s look at another finding from MyFitnessPal (Pinola, 2016). As previously indicated, successful dieters attained a weight loss within 5% of their goals. What about the unsuccessful dieters? What percentage within their weight-loss goals did they attain? How different was that percentage from the successful dieter’s percentage? Unfortunately, the unsuccessful dieter’s percentage was not provided in the article. However, we can set-up the situation as if those data were provided. For the purposes of this example, let’s assume that the successful dieters attained a mean of 3.7% from their weight-loss goal. Imagine that you randomly selected 20 unsuccessful dieters, obtained their percentages within their weight-loss goal and found their mean for this sample was 9.95%, with a standard deviation of 2.866%.

Successful Dieting: Everything Up to the Independent-Samples t Test

What statistical analysis could be used to determine whether the unsuccessful dieters attained a significantly different percentage from their weight-loss goal, on average, than did the successful dieters?





Correct! The researchers could have used a single-sample t test because there is one nominal independent variable –dieter’s outcome. There are two levels or groups: unsuccessful and successful. The former is represented by a sample and the latter by a population. There is a scale dependent variable, percentage within weight-loss goal, and we know the population mean, but not the population standard deviation.
 
Now you can skip ahead to the next example by clicking here. Or, if you would like more practice walking through the flowchart questions, then simply click the Next button in the bottom right corner of the screen.
That’s not the correct statistical analysis. Let’s walk through the questions on the flow chart in Appendix E to help you determine what analysis could be used in this case.

Successful Dieting: Everything Up to the Independent-Samples t Test

In which of the following four categories does this situation fall? Click if you’d like to see the data again. And click on the flowchart button if you’d like to see the overview for choosing the best test.





Correct! There is at least one nominal independent variable and a scale dependent variable.
Actually, there is at least one nominal independent variable and a scale dependent variable.

Successful Dieting: Everything Up to the Independent-Samples t Test

How many nominal independent variables are there?



Correct! There is one nominal independent variable – dieter’s outcome. (The dependent variable, percentage from weight-loss goal, is scale.)
Actually, there is only one nominal independent variable – dieter’s outcome. (The dependent variable, percentage from weight-loss goal, is scale.)

Successful Dieting: Everything Up to the Independent-Samples t Test

How many levels does this independent variable have?



Correct! There are two levels or groups: unsuccessful and successful.
Actually, there are two levels or groups: unsuccessful and successful.

Successful Dieting: Everything Up to the Independent-Samples t Test

How many samples are there?



Correct! There are two levels or groups: unsuccessful and successful dieters. The former is represented by the sample and the latter by a population.
Actually, there are two levels or groups: unsuccessful and successful. The former is represented by the sample and the latter by a population.

Successful Dieting: Everything Up to the Independent-Samples t Test

For the level represented by a population, what parameters do you know with respect to the scale dependent variable?



Correct! For the scale dependent variable, percentage within weight-loss goal, we know only the population mean of 3.7% – not the population standard deviation.
Actually, for the scale dependent variable, percentage within weight-loss goal, we just know the population mean of 3.7% – not the population standard deviation.

Successful Dieting: Everything Up to the Independent-Samples t Test

Based on the answers to these questions, what test could be used?





Correct! The researchers could have used a single-sample t test. There is one nominal independent variable – dieter’s outcome. There are two levels or groups: unsuccessful and successful. The former is represented by a sample and the latter by a population. There is a scale dependent variable, percentage within weight-loss goal, and we know the population mean, but not the population standard deviation, for this measure.
Actually, we could have used a single-sample t test. There is one nominal independent variable – dieter’s outcome. There are two levels or groups: unsuccessful and successful. The former is represented by a sample and the latter by a population. There is a scale dependent variable, percentage within weight-loss goal, and we know the population mean, but not the population standard deviation, for this measure.

Successful Dieting: Everything Up to the Independent-Samples t Test

Let’s look at a final set of data from MyFitnessPal (Pinola, 2016). MyFitnessPal researchers found that successful and unsuccessful dieters consumed similar percentages of calories from carbohydrates, fats, and proteins each day. However, as we can see in this bar graph, among all dieters, there seemed to be different percentages of calories consumed per day attributed to carbohydrates, fats, and proteins.

Percentages of calories from carbohydrates, fats, and proteins consumed by successful and unsuccessful dieters each day.
Source: https://1y2u3hx8yml32svgcf0087imj-wpengine.netdna-ssl.com/wp-content/uploads/2016/01/Successful_Users_Infographic_sec2.png (p. 14)

Percentages of calories from carbohydrates, fats, and proteins consumed by successful and unsuccessful dieters each day, Image Long Description

Both groups consumed 46% of carbs, 35% of fats and 19% of proteins.

Percentages of calories from carbohydrates, fats, and proteins consumed by successful and unsuccessful dieters each day.
Proportion of daily calories
Carbohydrates 46
Fats 35
Proteins 19

Successful Dieting: Everything Up to the Independent-Samples t Test

Imagine that you randomly selected 100 dieters and recorded the percentage of carbohydrate calories and the percentage of fat calories that each of them consumed in a day. What statistical test could be used to determine if the dieters consumed a significantly greater percentage of carbohydrate calories than fat calories per day?





Correct! The researchers could have used a paired-samples t test. There is one nominal independent variable, type of food category, with two levels or groups: carbohydrates and fats. There is one scale dependent variable, percentage of calories. All participants have consumed both types of food.
 
Now you can skip ahead to the end of the activity by clicking here. Or, if you would like more practice walking through the flowchart questions, then simply click the Next button in the bottom right corner of the screen.
Actually, that’s not the correct statistical analysis. Let’s walk through the questions on the flow chart in Appendix E to help you determine what analysis could be used in this case.

Successful Dieting: Everything Up to the Independent-Samples t Test

In which of the following four categories does this situation fall? Click if you’d like to see the data again. And click on the flowchart button if you’d like to see the overview for choosing the best test.

Both groups consumed 46% of carbs, 35% of fats and 19% of proteins.





Correct! There is at least one nominal independent variable and a scale dependent variable.
Actually, there is at least one nominal independent variable and a scale dependent variable.

Successful Dieting: Everything Up to the Independent-Samples t Test

How many nominal independent variables are there?



Correct! There is one nominal independent variable – type of food category. (The dependent variable, percentage of calories, is scale.)
Actually, there is only one nominal independent variable – type of food category. (The dependent variable, percentage of calories, is scale.)

Successful Dieting: Everything Up to the Independent-Samples t Test

How many levels does this independent variable have?



Correct! The independent variable has two levels or groups: carbohydrates and fats.
Actually, the independent variable has two levels or groups: carbohydrates and fats.

Successful Dieting: Everything Up to the Independent-Samples t Test

How many samples are there?



Correct! There are two samples, one consisting of the carbohydrates and one consisting of fats.
Actually, there are two samples, one consisting of the carbohydrates and one consisting of fats.

Successful Dieting: Everything Up to the Independent-Samples t Test

What type of design is this?



Correct! This is a within-groups design. Each participant consumed both types of food.
Actually, the design is a within-groups design. Each participant consumed both types of food.

Successful Dieting: Everything Up to the Independent-Samples t Test

Based on the answers to these questions, what test could be used?





Correct! The researchers could have used a paired-samples t test because there is one nominal independent variable, type of food category, with two levels, or groups: carbohydrates and fats. There is one scale dependent variable, percentage of calories. And participants have consumed both types of food, so it is a within-groups design.
Actually, that’s not the correct statistical analysis. The researchers could have used a paired-samples t test because there is one nominal independent variable, type of food category, with two levels, or groups: carbohydrates and fats. There is one scale dependent variable, percentage of calories. And participants have consumed both types of food, so it is a within-groups design.

Congratulations! You have completed the activity and gained some good experience in choosing the best hypothesis test.