The document describes how to conduct an independent samples t-test. It explains that the t-test is used to compare differences between separate groups. An example is provided where participants are randomly assigned to either a pizza or beer diet for a week, and their weight gain is measured. Calculations are shown to find the variance, mean, and t-value for each group. The results indicate participants on the beer diet gained significantly more weight than those on the pizza diet, t(8) = 4.47, p < .05. Instructions are also provided for conducting this analysis in SPSS.
Multiple Linear Regression II and ANOVA IJames Neill
Explains advanced use of multiple linear regression, including residuals, interactions and analysis of change, then introduces the principles of ANOVA starting with explanation of t-tests.
Multiple Linear Regression II and ANOVA IJames Neill
Explains advanced use of multiple linear regression, including residuals, interactions and analysis of change, then introduces the principles of ANOVA starting with explanation of t-tests.
At the end of this lecture, the student should be able to:
1. understand structure of research study appropriate for independent-measures t hypothesis test
2. test between two populations or two treatments using independent measures t statistics
3. understand how to evaluate the assumptions underlying this test
Hypothesis is usually considered as the principal instrument in research and quality control. Its main function is to suggest new experiments and observations. In fact, many experiments are carried out with the deliberate object of testing hypothesis. Decision makers often face situations wherein they are interested in testing hypothesis on the basis of available information and then take decisions on the basis of such testing. In Six –Sigma methodology, hypothesis testing is a tool of substance and used in analysis phase of the six sigma project so that improvement can be done in right direction
This presentation is on using repeated measures design in the area of social sciences, behavioural sciences, management, sports, physical education etc.
The slides discuss comparing two means to ascertain which mean is of greater statistical significance. In these slides we will learn about three research questions in which the t-test can be used to analyze the data and compare the means from two independent groups, two paired samples, and a sample and a population.
Computational Pool-Testing with Retesting StrategyWaqas Tariq
Pool testing is a cost effective procedure for identifying defective items in a large population. It also improves the efficiency of the testing procedure when imperfect tests are employed. This study develops computational pool-testing strategy based on a proposed pool testing with re-testing strategy. Statistical moments based on this applied design have been generated. With advent of computers in 1980‘s, pool-testing with re-testing strategy under discussion is handled in the context of computational statistics. From this study, it has been established that re-testing reduces misclassifications significantly as compared to Dorfman procedure although re-testing comes with a cost i.e. increase in the number of tests. Re-testing considered improves the sensitivity and specificity of the testing scheme.
36086 Topic Discussion3Number of Pages 2 (Double Spaced).docxrhetttrevannion
36086 Topic: Discussion3
Number of Pages: 2 (Double Spaced)
Number of sources: 1
Writing Style: APA
Type of document: Essay
Academic Level:Master
Category: Psychology
Language Style: English (U.S.)
Order Instructions: Attached
I will upload the instructions
Reference/Module
Learning Objectives
•Explain what the x2 goodness-of-fit test is and what it does.
•Calculate a x2 goodness-of-fit test.
•List the assumptions of the x2 goodness-of-fit test.
•Calculate the x2 test of independence.
•Interpret the x2 test of independence.
•Explain the assumptions of the x2 test of independence.
The Chi-Square (x2) Goodness-of-Fit test: What It Is and What It Does
The chi-square (x2) goodness-of-fit test is used for comparing categorical information against what we would expect based on previous knowledge. As such, it tests what are called observed frequencies (the frequency with which participants fall into a category) against expected frequencies (the frequency expected in a category if the sample data represent the population). It is a nondirectional test, meaning that the alternative hypothesis is neither one-tailed nor two-tailed. The alternative hypothesis for a x2 goodness-of-fit test is that the observed data do not fit the expected frequencies for the population, and the null hypothesis is that they do fit the expected frequencies for the population. There is no conventional way to write these hypotheses in symbols, as we have done with the previous statistical tests. To illustrate the x2 goodness-of-fit test, let's look at a situation in which its use would be appropriate.
chi-square (x2) goodness-of-fit test A nonparametric inferential procedure that determines how well an observed frequency distribution fits an expected distribution.
observed frequencies The frequency with which participants fall into a category.
expected frequencies The frequency expected in a category if the sample data represent the population.
Calculations for the x2 Goodness-of-Fit Test
Suppose that a researcher is interested in determining whether the teenage pregnancy rate at a particular high school is different from the rate statewide. Assume that the rate statewide is 17%. A random sample of 80 female students is selected from the target high school. Seven of the students are either pregnant now or have been pregnant previously. The χ2goodness-of-fit test measures the observed frequencies against the expected frequencies. The observed and expected frequencies are presented in Table 21.1.
TABLE 21.1Observed and expected frequencies for χ2 goodness-of-fit example
FREQUENCIES
PREGNANT
NOT PREGNANT
Observed
7
73
Expected
14
66
As can be seen in the table, the observed frequencies represent the number of high school females in the sample of 80 who were pregnant versus not pregnant. The expected frequencies represent what we would expect based on chance, given what is known about the population. In this case, we would expect 17% of the females to be pregnant .
Please Subscribe to this Channel for more solutions and lectures
http://www.youtube.com/onlineteaching
Chapter 11: Goodness-of-Fit and Contingency Tables
11.1: Goodness of Fit Notation
5 big bets to drive growth in 2024 without one additional marketing dollar AND how to adapt to the biggest shifting eCommerce trend- AI.
1) Romance Your Customers - Retention
2) ‘Alternative’ Lead Gen - Advocacy
3) The Beautiful Basics - Conversion Rate Optimization
4) Land that Bottom Line - Profitability
5) Roll the Dice - New Business Models
Mastering Local SEO for Service Businesses in the AI Era is tailored specifically for local service providers like plumbers, dentists, and others seeking to dominate their local search landscape. This session delves into leveraging AI advancements to enhance your online visibility and search rankings through the Content Factory model, designed for creating high-impact, SEO-driven content. Discover the Dollar-a-Day advertising strategy, a cost-effective approach to boost your local SEO efforts and attract more customers with minimal investment. Gain practical insights on optimizing your online presence to meet the specific needs of local service seekers, ensuring your business not only appears but stands out in local searches. This concise, action-oriented workshop is your roadmap to navigating the complexities of digital marketing in the AI age, driving more leads, conversions, and ultimately, success for your local service business.
Key Takeaways:
Embrace AI for Local SEO: Learn to harness the power of AI technologies to optimize your website and content for local search. Understand the pivotal role AI plays in analyzing search trends and consumer behavior, enabling you to tailor your SEO strategies to meet the specific demands of your target local audience. Leverage the Content Factory Model: Discover the step-by-step process of creating SEO-optimized content at scale. This approach ensures a steady stream of high-quality content that engages local customers and boosts your search rankings. Get an action guide on implementing this model, complete with templates and scheduling strategies to maintain a consistent online presence. Maximize ROI with Dollar-a-Day Advertising: Dive into the cost-effective Dollar-a-Day advertising strategy that amplifies your visibility in local searches without breaking the bank. Learn how to strategically allocate your budget across platforms to target potential local customers effectively. The session includes an action guide on setting up, monitoring, and optimizing your ad campaigns to ensure maximum impact with minimal investment.
Monthly Social Media News Update May 2024Andy Lambert
TL;DR. These are the three themes that stood out to us over the course of last month.
1️⃣ Social media is becoming increasingly significant for brand discovery. Marketers are now understanding the impact of social and budgets are shifting accordingly.
2️⃣ Instagram’s new algorithm and latest guidance will help us maintain organic growth. Instagram continues to evolve, but Reels remains the most crucial tool for growth.
3️⃣ Collaboration will help us unlock growth. Who we work with will define how fast we grow. Meta continues to evolve their Creator Marketplace and now TikTok are beginning to push ‘collabs’ more too.
In this presentation, Danny Leibrandt explains the impact of AI on SEO and what Google has been doing about it. Learn how to take your SEO game to the next level and win over Google with his new strategy anyone can use. Get actionable steps to rank your name, your business, and your clients on Google - the right way.
Key Takeaways:
1. Real content is king
2. Find ways to show EEAT
3. Repurpose across all platforms
Short video marketing has sweeped the nation and is the fastest way to build an online brand on social media in 2024. In this session you will learn:- What is short video marketing- Which platforms work best for your business- Content strategies that are on brand for your business- How to sell organically without paying for ads.
How to Run Landing Page Tests On and Off Paid Social PlatformsVWO
Join us for an exclusive webinar featuring Mariate, Alexandra and Nima where we will unveil a comprehensive blueprint for crafting a successful paid media strategy focused on landing page testing.With escalating costs in paid advertising, understanding how to maximize each visitor’s experience is crucial for retention and conversion.
This session will dive into the methodologies for executing and analyzing landing page tests within paid social channels, offering a blend of theoretical knowledge and practical insights.
The Pearmill team will guide you through the nuances of setting up and managing landing page experiments on paid social platforms. You will learn about the critical rules to follow, the structure of effective tests, optimal conversion duration and budget allocation.
The session will also cover data analysis techniques and criteria for graduating landing pages.
In the second part of the webinar, Pearmill will explore the use of A/B testing platforms. Discover common pitfalls to avoid in A/B testing and gain insights into analyzing A/B tests results effectively.
The What, Why & How of 3D and AR in Digital CommercePushON Ltd
Vladimir Mulhem has over 20 years of experience in commercialising cutting edge creative technology across construction, marketing and retail.
Previously the founder and Tech and Innovation Director of Creative Content Works working with the likes of Next, John Lewis and JD Sport, he now helps retailers, brands and agencies solve challenges of applying the emerging technologies 3D, AR, VR and Gen AI to real-world problems.
In this webinar, Vladimir will be covering the following topics:
Applications of 3D and AR in Digital Commerce,
Benefits of 3D and AR,
Tools to create, manage and publish 3D and AR in Digital Commerce.
Come learn how YOU can Animate and Illuminate the World with Generative AI's Explosive Power. Come sit in the driver's seat and learn to harness this great technology.
The session includes a brief history of the evolution of search before diving into the roles technology, content, and links play in developing a powerful SEO strategy in a world of Generative AI and social search. Discover how to optimize for TikTok searches, Google's Gemini, and Search Generative Experience while developing a powerful arsenal of tools and templates to help maximize the effectiveness of your SEO initiatives.
Key Takeaways:
Understand how search engines work
Be able to find out where your users search
Know what is required for each discipline of SEO
Feel confident creating an SEO Plan
Confidently measure SEO performance
In this presentation, Danny Leibrandt explains the impact of AI on SEO and what Google has been doing about it. Learn how to take your SEO game to the next level and win over Google with his new strategy anyone can use. Get actionable steps to rank your name, your business, and your clients on Google - the right way.
Key Takeaways:
1. Real content is king
2. Find ways to show EEAT
3. Repurpose across all platforms
SMM Cheap - No. 1 SMM panel in the worldsmmpanel567
Boost your social media marketing with our SMM Panel services offering SMM Cheap services! Get cost-effective services for your business and increase followers, likes, and engagement across all social media platforms. Get affordable services perfect for businesses and influencers looking to increase their social proof. See how cheap SMM strategies can help improve your social media presence and be a pro at the social media game.
Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...Valters Lauzums
E-commerce in 2024 is characterized by a dynamic blend of opportunities and significant challenges. Supply chain disruptions and inventory shortages are critical issues, leading to increased shipping delays and rising costs, which impact timely delivery and squeeze profit margins. Efficient logistics management is essential, yet it is often hampered by these external factors. Payment processing, while needing to ensure security and user convenience, grapples with preventing fraud and integrating diverse payment methods, adding another layer of complexity. Furthermore, fulfillment operations require a streamlined approach to handle volume spikes and maintain accuracy in order picking, packing, and shipping, all while meeting customers' heightened expectations for faster delivery times.
Amid these operational challenges, customer data has emerged as an important strategy. By focusing on personalization and enhancing customer experience from historical behavior, businesses can deliver improved website and brand experienced, better product recommendations, optimal promotions, and content to meet individual preferences. Better data analytics can also help in effectively creating marketing campaigns, improving customer retention, and driving product development and inventory management.
Innovative formats such as social commerce and live shopping are beginning to impact the digital commerce landscape, offering new ways to engage with customers and drive sales, and may provide opportunity for brands that have been priced out or seen a downturn with post-pandemic shopping behavior. Social commerce integrates shopping experiences directly into social media platforms, tapping into the massive user bases of these networks to increase reach and engagement. Live shopping, on the other hand, combines entertainment and real-time interaction, providing a dynamic platform for showcasing products and encouraging immediate purchases. These innovations not only enhance customer engagement but also provide valuable data for businesses to refine their strategies and deliver superior shopping experiences.
The e-commerce sector is evolving rapidly, and businesses that effectively manage operational challenges and implement innovative strategies are best positioned for long-term success.
Most small businesses struggle to see marketing results. In this session, we will eliminate any confusion about what to do next, solving your marketing problems so your business can thrive. You’ll learn how to create a foundational marketing OS (operating system) based on neuroscience and backed by real-world results. You’ll be taught how to develop deep customer connections, and how to have your CRM dynamically segment and sell at any stage in the customer’s journey. By the end of the session, you’ll remove confusion and chaos and replace it with clarity and confidence for long-term marketing success.
Key Takeaways:
• Uncover the power of a foundational marketing system that dynamically communicates with prospects and customers on autopilot.
• Harness neuroscience and Tribal Alignment to transform your communication strategies, turning potential clients into fans and those fans into loyal customers.
• Discover the art of automated segmentation, pinpointing your most lucrative customers and identifying the optimal moments for successful conversions.
• Streamline your business with a content production plan that eliminates guesswork, wasted time, and money.
The digital marketing industry is changing faster than ever and those who don’t adapt with the times are losing market share. Where should marketers be focusing their efforts? What strategies are the experts seeing get the best results? Get up-to-speed with the latest industry insights, trends and predictions for the future in this panel discussion with some leading digital marketing experts.
10 Video Ideas Any Business Can Make RIGHT NOW!
You'll never draw a blank again on what kind of video to make for your business. Go beyond the basic categories and truly reimagine a brand new advanced way to brainstorm video content creation. During this masterclass you'll be challenged to think creatively and outside of the box and view your videos through lenses you may have never thought of previously. It's guaranteed that you'll leave with more than 10 video ideas, but I like to under-promise and over-deliver. Don't miss this session.
Key Takeaways:
How to use the Video Matrix
How to use additional "Lenses"
Where to source original video ideas
The digital marketing industry is changing faster than ever and those who don’t adapt with the times are losing market share. Where should marketers be focusing their efforts? What strategies are the experts seeing get the best results? Get up-to-speed with the latest industry insights, trends and predictions for the future in this panel discussion with some leading digital marketing experts.
Digital Marketing Trends - Experts Insights on How to Gain a Competitive Edge
Independent sample t test
1. 11
Independent Samples t-TestIndependent Samples t-Test
(or 2-Sample t-Test)(or 2-Sample t-Test)
Advanced Research Methods in PsychologyAdvanced Research Methods in Psychology
- lecture -- lecture -
Matthew RockloffMatthew Rockloff
2. 2
When to use the independentWhen to use the independent
samples t-testsamples t-test
The independent samples t-test is probably theThe independent samples t-test is probably the
single most widely used test in statistics.single most widely used test in statistics.
It is used toIt is used to compare differencescompare differences betweenbetween
separate groups.separate groups.
In Psychology, these groups are often composedIn Psychology, these groups are often composed
by randomly assigning research participants toby randomly assigning research participants to
conditions.conditions.
However, this test can also be used to exploreHowever, this test can also be used to explore
differences in naturally occurring groups.differences in naturally occurring groups.
For example, we may be interested in differencesFor example, we may be interested in differences
of emotional intelligence between males andof emotional intelligence between males and
females.females.
3. 3
When to use the independent samplesWhen to use the independent samples
t-testt-test (cont.)(cont.)
Any differences between groups can beAny differences between groups can be
explored with the independent t-test, asexplored with the independent t-test, as
long as the tested members of each grouplong as the tested members of each group
are reasonably representative of theare reasonably representative of the
populationpopulation. [1]. [1]
[1][1] There are some technicalThere are some technical
requirements as well. Principally,requirements as well. Principally,
each variable must come from aeach variable must come from a
normal (or nearly normal) distribution.normal (or nearly normal) distribution.
4. 4
Example 3.1Example 3.1
Suppose we put people on 2 diets:Suppose we put people on 2 diets:
the pizza diet and the beer diet.the pizza diet and the beer diet.
Participants are randomly assigned toParticipants are randomly assigned to
either 1-week of eating exclusively pizzaeither 1-week of eating exclusively pizza
or 1-week of exclusively drinking beer.or 1-week of exclusively drinking beer.
Of course, this would be unethical,Of course, this would be unethical,
because pizza and beer should always bebecause pizza and beer should always be
consumed together, but this is just anconsumed together, but this is just an
example.example.
5. 5
Example 3.1Example 3.1 (cont.)(cont.)
At the end of the week, we measureAt the end of the week, we measure
weight gain by each participant.weight gain by each participant.
Which diet causes more weight gain?Which diet causes more weight gain?
In other words, the null hypothesis is:In other words, the null hypothesis is:
Ho: wt. gain pizza diet =wt. gain beer diet.Ho: wt. gain pizza diet =wt. gain beer diet.
6. 6
Example 3.1Example 3.1 (cont.)(cont.)
Why?Why?
The null hypothesis is the opposite ofThe null hypothesis is the opposite of
what we hope to find.what we hope to find.
In this case, our research hypothesis isIn this case, our research hypothesis is
that there ARE differences between the 2that there ARE differences between the 2
diets.diets.
Therefore, our null hypothesis is thatTherefore, our null hypothesis is that
there are NO differences between these 2there are NO differences between these 2
diets.diets.
8. 8
Example 3.1Example 3.1 (cont.)(cont.)
The first step in calculating theThe first step in calculating the
independent samples t-test is to calculateindependent samples t-test is to calculate
thethe variancevariance andand meanmean in each condition.in each condition.
In the previous example, there are a totalIn the previous example, there are a total
of 10 people, with 5 in each condition.of 10 people, with 5 in each condition.
Since there are different people in eachSince there are different people in each
condition, these “samples” arecondition, these “samples” are
““independentindependent” of one another;” of one another;
giving rise to the name of the test.giving rise to the name of the test.
9. 9
Example 3.1Example 3.1 (cont.)(cont.)
The variances and means are calculatedThe variances and means are calculated
separately for each conditionseparately for each condition
(Pizza and Beer).(Pizza and Beer).
A streamlined calculation of theA streamlined calculation of the variancevariance forfor
each condition was illustrated previously.each condition was illustrated previously.
(See Slide 7.)(See Slide 7.)
In short, we take each observed weight gainIn short, we take each observed weight gain
for the pizza condition, subtract it from thefor the pizza condition, subtract it from the
mean gain of the pizza dieters (mean gain of the pizza dieters ( 22) and) and
square the result (seesquare the result (see column 3column 3).).
=Χ1
10. 10
Example 3.1Example 3.1 (cont.)(cont.)
Next, add up column 3 and divide by theNext, add up column 3 and divide by the
number of participants in that conditionnumber of participants in that condition
(n(n11 = 5) to get the= 5) to get the sample variancesample variance,,
The same calculations are repeated forThe same calculations are repeated for
the “beer” condition.the “beer” condition.
4.02
=xs
11. 11
FormulaFormula
The formula forThe formula for
thethe independent samples t-testindependent samples t-test is:is:
11 2
2
1
2
21
21
−
+
−
Χ−Χ
=
n
S
n
S
t
xx
, df = (n1
-1) + (n2
-1)
12. 12
Example 3.1Example 3.1 (cont.)(cont.)
From the calculations previously, we haveFrom the calculations previously, we have
everything that is needed to find the “t.”everything that is needed to find the “t.”
47.4
4
4.
4
4.
42
−≈
+
−
=t , df = (5-1) + (5-1) = 8
After calculating the “t” value, we need to know
if it is large enough to reject the null hypothesis.
13. 13
Some theorySome theory
The “t” is calculated under theThe “t” is calculated under the
assumption, called theassumption, called the null hypothesisnull hypothesis,,
that there are no differences between thethat there are no differences between the
pizza and beer diet.pizza and beer diet.
If this were true, when we repeatedlyIf this were true, when we repeatedly
sample 10 people from the populationsample 10 people from the population
and put them in our 2 diets, most oftenand put them in our 2 diets, most often
we would calculate a “t” of “0.”we would calculate a “t” of “0.”
14. 14
Some theory - Why?Some theory - Why?
Look again at the formula for the “t”.Look again at the formula for the “t”.
Most often the numerator (XMost often the numerator (X11-X-X22) will be) will be
“0,” because the“0,” because the meanmean of the twoof the two
conditions should be theconditions should be the samesame under theunder the
null hypothesis.null hypothesis.
That is, weight gain is the same underThat is, weight gain is the same under
both the pizza and beer diet.both the pizza and beer diet.
15. 15
Some theory - WhySome theory - Why (cont.)(cont.)
Sometimes the weight gain might be a bitSometimes the weight gain might be a bit
higher under the pizza diet, leading to ahigher under the pizza diet, leading to a
positive “t” value.positive “t” value.
In other samples of 10 people, weightIn other samples of 10 people, weight
gain might be a little higher under thegain might be a little higher under the
beer diet, leading to a negative “t” value.beer diet, leading to a negative “t” value.
TheThe important pointimportant point, however, is that, however, is that
under the null hypothesis we shouldunder the null hypothesis we should
expect that most “t” values that weexpect that most “t” values that we
compute are close to “0.”compute are close to “0.”
16. 16
Some theorySome theory (cont.)(cont.)
Our computed t-value is not “0,” but it is in factOur computed t-value is not “0,” but it is in fact
negative (t(8) = -4.47).negative (t(8) = -4.47).
Although the t-value is negative, this should notAlthough the t-value is negative, this should not
bother us.bother us.
Remember that the t-value is only - 4.47Remember that the t-value is only - 4.47
because we named the pizza diet Xbecause we named the pizza diet X11 and theand the
beer diet Xbeer diet X22..
– This is, of course,This is, of course, completely arbitrarycompletely arbitrary..
If we had reversed our order of calculation, withIf we had reversed our order of calculation, with
the pizza diet as Xthe pizza diet as X22 and the beer diet as Xand the beer diet as X11, then, then
our calculated t-value would be positive 4.47.our calculated t-value would be positive 4.47.
17. 17
Example 3.1Example 3.1 (again)(again) CalculationsCalculations
The calculated t-value is 4.47 (notice, I’veThe calculated t-value is 4.47 (notice, I’ve
eliminated the unnecessary “-“ signeliminated the unnecessary “-“ sign), and), and
the degrees of freedom are 8.the degrees of freedom are 8.
In the research question we did notIn the research question we did not
specify which diet should cause morespecify which diet should cause more
weight gain, therefore this t-test is a so-weight gain, therefore this t-test is a so-
calledcalled “2-tailed t.”“2-tailed t.”
18. 18
Example 3.1Example 3.1 (again)(again) CalculationsCalculations
In theIn the last steplast step, we need to find the, we need to find the
critical value for a 2-tailed “t” with 8critical value for a 2-tailed “t” with 8
degrees of freedom.degrees of freedom.
This is available from tables that are inThis is available from tables that are in
the back of any Statistics textbook.the back of any Statistics textbook.
Look in the back for “Critical Values ofLook in the back for “Critical Values of
the t-distribution,” or something similar.the t-distribution,” or something similar.
The value you should find is:The value you should find is:
C.V.C.V. t(8), 2-tailedt(8), 2-tailed = 2.31= 2.31..
19. 19
Example 3.1Example 3.1 (cont.)(cont.)
The calculated t-value of 4.47 is larger inThe calculated t-value of 4.47 is larger in
magnitude than the C.V. of 2.31, therefore wemagnitude than the C.V. of 2.31, therefore we
can reject the null hypothesis.can reject the null hypothesis.
Even for a results section of journal article, thisEven for a results section of journal article, this
language is a bit too formal and general. It islanguage is a bit too formal and general. It is
more important to state the research result,more important to state the research result,
namely:namely:
Participants on the Beer diet (Participants on the Beer diet (MM = 4.00)= 4.00)
gained significantly more weight thangained significantly more weight than
those on the Pizza diet (those on the Pizza diet (MM = 2.00), t(8) == 2.00), t(8) =
4.47, p < .05 (two-tailed).4.47, p < .05 (two-tailed).
20. 20
Example 3.1Example 3.1 (concluding comment)(concluding comment)
Repeat from previous slide:Repeat from previous slide:
Participants on the Beer diet (Participants on the Beer diet (MM = 4.00)= 4.00)
gained significantly more weight thangained significantly more weight than
those on the Pizza diet (those on the Pizza diet (MM = 2.00), t(8) == 2.00), t(8) =
4.47, p < .05 (two-tailed).4.47, p < .05 (two-tailed).
Making this conclusion requiresMaking this conclusion requires
inspection of the mean scores forinspection of the mean scores for
each condition (Pizza and Beer).each condition (Pizza and Beer).
21. 21
Example 3.1 Using SPSSExample 3.1 Using SPSS
First,First, the variables must be setup in the SPSSthe variables must be setup in the SPSS
data editor.data editor.
We need to include both the independent andWe need to include both the independent and
dependent variables.dependent variables.
Although it is not strictly necessary, it is goodAlthough it is not strictly necessary, it is good
practice to give each person a unique codepractice to give each person a unique code
(e.g., personid):(e.g., personid):
22. 22
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
In the previous example:In the previous example:
– Dependent VariableDependent Variable
== wtgainwtgain (or weight gain)(or weight gain)
– Independent VariableIndependent Variable == dietdiet
Why?Why?
The independent variable (diet)The independent variable (diet) causescauses
changeschanges in the dependent variablein the dependent variable
(weight gain).(weight gain).
23. 23
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
Next,Next, we need to provide “codes” thatwe need to provide “codes” that
distinguish between the 2 types of diets.distinguish between the 2 types of diets.
By clicking in the grey box of the “Label”By clicking in the grey box of the “Label”
field in the row containing the “diet”field in the row containing the “diet”
variable, we get a pop-up dialog thatvariable, we get a pop-up dialog that
allows us toallows us to codecode the diet variable.the diet variable.
Arbitrarily, the pizza diet is coded as dietArbitrarily, the pizza diet is coded as diet
“1” and the beer diet is diet “2.”“1” and the beer diet is diet “2.”
Any other 2 codes would work, but theseAny other 2 codes would work, but these
sufficesuffice
See next slide.See next slide.
25. 25
Example 3.1 Using SPSSExample 3.1 Using SPSS (data view)(data view)
Moving to the dataMoving to the data
view tab of the SPSSview tab of the SPSS
editor, the data iseditor, the data is
entered.entered.
Each participant isEach participant is
entered on a separateentered on a separate
line; a code is enteredline; a code is entered
for the diet they werefor the diet they were
on (1 = Pizza, 2 =on (1 = Pizza, 2 =
Beer); and the weightBeer); and the weight
gain of each isgain of each is
entered, as followsentered, as follows
26. 26
Example 3.1 Using SPSSExample 3.1 Using SPSS (data view)(data view)
Moving to the dataMoving to the data
view tab of the SPSSview tab of the SPSS
editor, the data iseditor, the data is
entered.entered.
Each participant isEach participant is
entered on a separateentered on a separate
line; a code is enteredline; a code is entered
for the diet they werefor the diet they were
on (1 = Pizza, 2 =on (1 = Pizza, 2 =
Beer); and the weightBeer); and the weight
gain of each isgain of each is
entered, as followsentered, as follows
27. 27
Example 3.1 Using SPSSExample 3.1 Using SPSS (data view)(data view)
Moving to the dataMoving to the data
view tab of the SPSSview tab of the SPSS
editor, the data iseditor, the data is
entered.entered.
Each participant isEach participant is
entered on a separateentered on a separate
line; a code is enteredline; a code is entered
for the diet they werefor the diet they were
on (1 = Pizza, 2 =on (1 = Pizza, 2 =
Beer); and the weightBeer); and the weight
gain of each isgain of each is
entered, as followsentered, as follows
28. 28
Example 3.1 Using SPSSExample 3.1 Using SPSS
(command syntax)(command syntax)
Next,Next, thethe command syntaxcommand syntax for an independentfor an independent
t-test must be entered into the command editor.t-test must be entered into the command editor.
The format for the command is as follows:The format for the command is as follows:
t-test groupst-test groups IndependentVariableIndependentVariable((Level1Level1,,Level2Level2))
variables=variables=DependentVariableDependentVariable..
You must substitute the names of theYou must substitute the names of the
independent and dependent variables, as wellindependent and dependent variables, as well
as the codes for the 2 levels of the independentas the codes for the 2 levels of the independent
variable. In our example, thevariable. In our example, the syntaxsyntax should beshould be
as per the next slideas per the next slide
29. 29
Example 3.1 Using SPSSExample 3.1 Using SPSS
(command syntax) (cont.)(command syntax) (cont.)
After running this syntax, the following
output appears in the SPSS output viewer
See next slide.
30. 30
Example 3.1: SPSS Output viewerExample 3.1: SPSS Output viewer
Independent Samples Test
31. 31
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
SPSS gives theSPSS gives the meansmeans for each of thefor each of the
conditions (Pizza Mean = 2 and Beerconditions (Pizza Mean = 2 and Beer
Mean = 4).Mean = 4).
In addition, SPSS provides aIn addition, SPSS provides a t-valuet-value ofof
-4.47 with 8 degrees of freedom.-4.47 with 8 degrees of freedom.
These are the same figures that wereThese are the same figures that were
computed “by hand” previously.computed “by hand” previously.
However, SPSSHowever, SPSS does notdoes not provide aprovide a
critical value.critical value.
Instead, anInstead, an exact probabilityexact probability is providedis provided
(p = .002).(p = .002).
32. 32
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
As long as this p-value falls below theAs long as this p-value falls below the
standard of “.05,” we can declare astandard of “.05,” we can declare a
significant difference between our meansignificant difference between our mean
values.values.
Since “.002” is below “.05” we can conclude:Since “.002” is below “.05” we can conclude:
Participants on the Beer diet (Participants on the Beer diet (MM = 4.00)= 4.00)
gained significantly more weight thangained significantly more weight than
those on the Pizza diet (those on the Pizza diet (MM = 2.00),= 2.00),
t(8) = 4.47,t(8) = 4.47, p < .01p < .01 (two-tailed).(two-tailed).
33. 33
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
Repeat from previous slide:Repeat from previous slide:
Participants on the Beer diet (Participants on the Beer diet (MM = 4.00) gained= 4.00) gained
significantly more weight than those on the Pizzasignificantly more weight than those on the Pizza
diet (diet (MM = 2.00), t(8) = 4.47,= 2.00), t(8) = 4.47,
p < .01p < .01 (two-tailed).(two-tailed).
In APA style we normally onlyIn APA style we normally only
display significance to 2 significant digits.display significance to 2 significant digits.
Therefore, the probability is displayed asTherefore, the probability is displayed as
“p<.01,” which is the smallest probability“p<.01,” which is the smallest probability
within this range of accuracy.within this range of accuracy.
34. 34
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
The SPSS output also displaysThe SPSS output also displays Levene’s TestLevene’s Test
forfor Equality of VariancesEquality of Variances (see the first 2(see the first 2
columns in second table on slide 30).columns in second table on slide 30).
Why?Why?
Strictly speaking, the t-test is only valid if weStrictly speaking, the t-test is only valid if we
havehave approximately equal variancesapproximately equal variances within eachwithin each
of our two groups.of our two groups.
In our example, this was not a problem becauseIn our example, this was not a problem because
the 2 variances were exactly equal (Variancethe 2 variances were exactly equal (Variance
Pizza = 0.04 and Variance Beer = 0.04).Pizza = 0.04 and Variance Beer = 0.04).
35. 35
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
However, if this test is significant,However, if this test is significant,
meaning that the p-value given is lessmeaning that the p-value given is less
than “.05,” then we should choose thethan “.05,” then we should choose the
bottom line when interpreting ourbottom line when interpreting our
results.results.
This bottom line makes slightThis bottom line makes slight
adjustments to the t-test to accountadjustments to the t-test to account
for problems when there are notfor problems when there are not
equal variances in both conditions.equal variances in both conditions.
36. 36
Example 3.1 Using SPSSExample 3.1 Using SPSS (cont.)(cont.)
The practical importance of thisThe practical importance of this
distinction is small.distinction is small.
Even if variances are not equal betweenEven if variances are not equal between
conditions, the hand calculations weconditions, the hand calculations we
have shown will most often lead to thehave shown will most often lead to the
correct conclusion anyway, and use ofcorrect conclusion anyway, and use of
the “top line” is almost alwaysthe “top line” is almost always
appropriate.appropriate.
37. 3737
Independent Samples t-TestIndependent Samples t-Test
(or 2-Sample t-Test)(or 2-Sample t-Test)
Advanced Research Methods in PsychologyAdvanced Research Methods in Psychology
- Week 2 lecture -- Week 2 lecture -
Matthew RockloffMatthew Rockloff