How does SPSS carry out the case training of mean comparison and T test?

0 Preface

  Due to the need for drawing processing in many scenarios such as scientific research, the author has studied SPSS. This article summarizes the study notes through "SPSS Statistical Analysis from Beginner to Master" and its supporting materials combined with relevant online materials. This article elaborates on mean comparison and T-test .

1. Mean process

  (1) Prepare data
  insert image description here

  (2) Operation steps
  ① Select "Analyze | Compare Average | Average" in the menu bar;
  ② Select "Hourly Salary" into the "Dependent Variable List" and "Work Experience" into the "Independent Variable List";
  ③Click the "Options" button, select "Average", "Number of Cases" and "Standard Deviation" into the "Cell Statistics" list box, and click "Continue"; ④Click the "OK" button to execute the mean value calculation
  .

  (3) Operation results
  ① Check the case processing summary
  insert image description here

  ② View the average comparison report
  insert image description here

2. One-sample T-test

  (1) Prepare data
  insert image description here

  (2) Operation steps
  ① Select "Analyze | Compare Means | One-Sample T Test" in the menu bar;
  ② Select "Sales Volume" in the "Test Variables" list box, and enter the forecast in the "Test Value" text box The sales volume is 80;
  ③Click the "Options" button, enter 95 in the "Confidence Interval Percentage" input box, click the "Continue" button to save the setting results;
  ④Click the "OK" button to execute the one-sample T-test calculation.

  (3) Operation results
  ① View single-sample statistics
  insert image description here

  ② View the one-sample T-test
  insert image description here

3. Independent sample T-test

  (1) Prepare data
  insert image description here

  (2) Operation steps ①   Select "Analyze
  | Compare Means | Independent Sample T Test" in the menu bar;
Variables" list box, and click the "Define Group" button, enter 1 in "Group 1" in the "Define Group" dialog box, enter 2 in "Group 2", and click the "Continue" button; ③Click
  " Option" button, enter 95 in the "Confidence Interval Percentage" text box, click the "Continue" button to save the setting results;
  ④ Click the "OK" button to execute the independent sample T test operation.

  (3) Operation results
  ① View group statistics
  insert image description here

  ② View independent sample test
  insert image description here

4. Paired samples T-test

  (1) Prepare data
  insert image description here

  (2) Operation steps
  ① Select "Analyze | Compare Means | Paired Samples T-Test" in the menu bar
  ; Then select "Blood Lipid at the Beginning of the Course" and "Blood Lipid at the End of the Course" as a pair into the "Paired Variables" list box; ③Click the
  "Options" button, enter 95 in the "Confidence Interval Percentage" text box, and click "Continue" button to save the setting results;
  ④Click the "OK" button to execute paired sample T-test.

  (3) Operation results
  ① View paired sample statistics
  insert image description here

  ② View paired sample correlation
  insert image description here

  ③View paired sample test
  insert image description here

Reference materials:
[1] Big Pyrenees who can program. SPSS——Compare Means——Mean Process ; 2016-07-08 [accessed 2023-05-03].
[2] Yu Xiangyu. SPSS list Sample T test ; 2017-09-30 [accessed 2023-05-03].
[3] Sizai? Think in ~. Detailed introduction of independent sample T test in spss (including operation process and result analysis) ; 2022-04-21 [accessed 2023-05-03].
[4] Caicai hard work code. SPSS paired samples T-test ; 2022-03-23 ​​[accessed 2023-05-03].

Guess you like

Origin blog.csdn.net/qq_40640910/article/details/130478245