SlideShare a Scribd company logo
BUSINESS
RESEARCH
METHODOLOGY
Hypothesis & Statistic testing
As of 9 Nov 2014
Clean up data &
Statistic Testing
By : Nana SWU XMBA#14
1.REPLACE MISSING VALUE
Transform => Replace Missing Values
แทนค่าข้อมูลที่หายไป ปกติจะทาเฉพาะพวก
ที่เป็น Scale (รูปไม้บรรทัด)
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
ผลที่ออกมาจะบอกว่า แทนข้อมูลที่หายไปกี่ตัว
สาหรับแต่ละข้อ
By : Nana SWU XMBA#14
ฮ
ฮ
By : Nana SWU XMBA#14
ข้อมูลที่แทนค่า (Replace Missing Value) จะมา
เพิ่มใน column หลังสุด
By : Nana SWU XMBA#14
ข้อมูล Replacing Missing Values จะมาเพิ่มใน
แถวสุดท้ายของหน้า Variable เช่นกัน
By : Nana SWU XMBA#14
2.FREQUENCIES OF VARIABLES
Analyze => Descriptive stat => Frequencies
ใช้กับข้อมูลเชิงกลุ่ม (ลักษณะทางประชากรศาสตร์)
By : Nana SWU XMBA#14
ปกติจะดูแค่ Mean กับ SD
By : Nana SWU XMBA#14
Frequency
มากกว่า 30 ไม่
ต้อง group แล้ว
Frequency < 30
ต้องเอาไป group
กับชั้นถัดไป
ในวิชา Research มากกว่า 15 ก็ OK แล้ว
By : Nana SWU XMBA#14
3.RECODE
By : Nana SWU XMBA#14
Transform => Recode Into Different Variables
(ใช้ตัวนี้เสมอ)
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
4. Continue
จากตัวอย่างก่อนหน้า
Frequency ของชั้นที่ 1 = 1
(ต่ากว่า 15) ดังนั้นจึงนาชั้น
ที่ 1 ไปรวมกับชั้นที่ 2
จึงเป็น 1  2
ส่วนชั้นที่ไม่เปลี่ยนก็ต้องใส่
ด้วย
1 2
3. Add
By : Nana SWU XMBA#14
เลือก Change => OK
ตั้งชื่อใหม่จาก Age
เป็น Rec_Age
By : Nana SWU XMBA#14
ข้อมูลที่ Re-code จะมาเพิ่มในแถวสุดท้ายของหน้า Data View
By : Nana SWU XMBA#14
ข้อมูลที่ Re-code จะมาเพิ่มในแถว
สุดท้ายของหน้า Variable View
Click ที่ช่อง Value เพื่อแก้ไขชั้นข้อมูล
ที่ถูกตัด โดยการ Remove ชั้นที่ 1 ออก
แล้วแก้ไขชื่อของชั้นที่ 2
ปรับ Frequency ใหม่ตาม
ข้อมูลที่ทาการ Recode
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
ได้ Frequency ใหม่ตาม
ข้อมูลที่ทาการ Recode และ
group ระดับชั้น
By : Nana SWU XMBA#14
ได้ Frequency ใหม่ตาม
ข้อมูลที่ทาการ Recode และ
group ระดับชั้น
By : Nana SWU XMBA#14
4.MEAN AND SD (STANDARD DEVIATION)
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
เลือกได้ทีละหลายตัวแปร
By : Nana SWU XMBA#14
Tick เลือกแค่ Mean
กับ Std. deviation
By : Nana SWU XMBA#14
ผลที่ได้เป็นดังนี้
By : Nana SWU XMBA#14
5.COMPUTE VARIABLE
การจัดกลุ่มตัวแปรต้นเป็นเฉพาะด้าน
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
หารตามจานวนข้อที่
เอามา group
ปกติเอารายด้าน มาทา t-test /One-way ANOVA
ถ้ารายด้านไม่ sig ค่อยไปทารายข้อ
By : Nana SWU XMBA#14
ข้อมูลที่ group จะ show
ในคอลัมน์สุดท้าย
By : Nana SWU XMBA#14
Hypothesis
Testing
By : Nana SWU XMBA#14
1.T-TEST
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
ตัวแปรตาม
ตัวแปรต้น
กด Define Groups เพื่อ
กาหนดค่าตัวแปรต้น
By : Nana SWU XMBA#14
ใส่
Group 1 = 1
Group 2 = 2
กด Continue
ใส่ได้แค่ 2 ตัวแปร เพราะ t-test คือ ทดสอบตัวแปร 2 ตัว ถ้า
มากกว่า 2 ตัวจะเป็น One Way-ANOVA
By : Nana SWU XMBA#14
กด OK
By : Nana SWU XMBA#14
ผลที่ได้ดังตาราง
By : Nana SWU XMBA#14
ความแปรปรวนเท่ากัน (Sig >.05) ให้ report ค่า t และ
df แถวบน (Equal variances assume)
เพศชาย หญิง แตกต่างกันอย่างไม่มีนัยสาคัญ
เราสามารถดูจากค่า Mean ได้ว่าแตกต่าง แต่เรา
ไม่รู้ว่ามีนัยสาคัญหรือไม่ จึงต้องทดสอบ
สมมติฐาน
ความแปรปรวน (variances)
> 0.05 ไม่แตกต่าง (เท่ากัน)
< 0.05 แตกต่าง
ปกติ default ใน SPSS จะกาหนดไว้ที่ 0.05
ความแปรปรวนไม่เท่ากัน (Sig <.05) ให้ report ค่า t
และ df แถวล่าง (Equal Variances not assume)
t, df (degree of freedom)
report เฉยๆ ไม่ต้องอธิบาย
= ใช้ report ผลในบทที่ 4
Sig (2-tailed) ก็คือ p (ความน่าจะเป็น)
By : Nana SWU XMBA#14
2.ONE-WAY ANOVA
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
ตัวแปรตาม
ตัวแปรต้น
ตั้งค่า
Options และ Post Hoc
By : Nana SWU XMBA#14
Option
By : Nana SWU XMBA#14
Post Hoc
ข้อควรระวัง : ถ้าค่า Freq. ของตัวแปร ต่ากว่า 3
Post hoc จะไม่มี จึงต้อง Regroup
กด Continue
By : Nana SWU XMBA#14
กด OK
By : Nana SWU XMBA#14
ผลจะออกมาเป็นตารางดังนี้
(มีต่อ)
By : Nana SWU XMBA#14
ผลจะออกมาเป็นตารางดังนี้
(ต่อ)
By : Nana SWU XMBA#14
ไม่ Sig (Sig. < .0.5) Sig (Sig. > .0.5)
ถ้า ANOVA
Sig (Sig. >.0.5) ดู
ต่อที่LSD
ถ้า Brown
Sig (Sig. > .0.5) ดู
ต่อที่ DunnettT3
ถ้า ANOVA
ไม่Sig (Sig. <.0.5) จบ
ยอมรับสมมติฐาน Ho
ไม่แตกต่างกัน
ถ้า Brown
ไม่Sig (Sig. <.0.5) จบ
ยอมรับสมมติฐาน Ho ไม่
แตกต่างกัน
By : Nana SWU XMBA#14
3.PEARSON’S CORREATION
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
By : Nana SWU XMBA#14
ไม่ Sig เพราะค่า Sig
(2-tailed) > 0.05
แสดงว่า ไม่มี
ความสัมพันธ์กัน
ยอมรับสมมติฐาน
หลัก H0
Sig เพราะค่า Sig
(2-tailed) < 0.05
สังเกตดอกจัน 1 ดวง แสดงว่า Sig
ที่ต่ากว่า 0.05
( 2 ดวงหมายถึง Sig ที่ต่ากว่า 0.01)
By : Nana SWU XMBA#14
4.CHI-SQUARE
By : Nana SWU XMBA#14
Key ข้อมูลในตาราง Excel หรือ Copy มาจาก SPSS ที่ทาไว้ก่อนหน้านี้ โดย
Column ที่ 1 = ตัวแปรต้น
Column ที่ 2 = ตัวแปรตาม
Column ที่ 3 = ความถี่ (จริงก็คือ Copy ค่าตัวแปรตามมาแปะเลยตรงๆ)
By : Nana SWU XMBA#14
ทาการ Pivot Table ทีละคู่
ให้เลือก เป็น “Count of Num” เพื่อแสดงค่าความถี่value
By : Nana SWU XMBA#14
Data  Weight Cases
By : Nana SWU XMBA#14
เลือก Weight Cases เป็นความถี่ (num)ของคู่ที่เราจะทดสอบ
ในตัวอย่างนี้ คือ Num2
By : Nana SWU XMBA#14
Analyze  Descriptive statistics  Crosstabs
By : Nana SWU XMBA#14
Row = ตัวแปรต้น
Column = ตัวแปรตาม
By : Nana SWU XMBA#14
เลือก Chi-square
By : Nana SWU XMBA#14
เลือก Observed กับ Expected
By : Nana SWU XMBA#14
กด OK
By : Nana SWU XMBA#14
ผลที่ได้ ดังตาราง
By : Nana SWU XMBA#14

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

How to run SPSS for Quantitative Analysis