Presentation is loading. Please wait.

Presentation is loading. Please wait.

Work with Variables Section 5. Add a variable Click on the top grey portion of the GPA column to highlight the column. At the top left of your screen,

Similar presentations


Presentation on theme: "Work with Variables Section 5. Add a variable Click on the top grey portion of the GPA column to highlight the column. At the top left of your screen,"— Presentation transcript:

1 Work with Variables Section 5

2 Add a variable Click on the top grey portion of the GPA column to highlight the column. At the top left of your screen, select Edit > Insert variable.

3

4 At the bottom left of your screen, select: Variable View. Double click on VAR00001 (it will turn blue) and type “Year” to give the new variable (Year Level) a name. –Move over to the Values column, click on the cell and then on the 3 dots shaded in grey. Type “1” in the Value box and “Freshman” in the Label box. Select: Add. Type “2” and “Sophomore.” Select: Add. Type “3” and “Junior.” Select: Add. Type “4” and “Senior.” Select: Add > OK.

5

6 At the bottom left of your screen, select: Data View. Click in the Year column of line 1, select the down arrow then select Freshman.

7 You have just finished entering the Year Level for your first participant. Participant #: _1_ Gender: M FAge: _23_ Year: Fr Current GPA: _3.2_High School GPA: _3.11_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _5_

8 Now enter the Year Level for the other 9 participants (these are the same surveys). Participant #: _2_ Gender: M FAge: _25_Year: So Current GPA: _3.0_High School GPA: _2.9_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _2_

9 Participant #: _3_ Gender: M FAge: _31_Year: Sn Current GPA: _2.7_High School GPA: _2.5_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _15_

10 Participant #: _4_ Gender: M FAge: _27_Year: Ju Current GPA: _3.9_High School GPA: _3.6_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _4_

11 Participant #: _5_ Gender: M FAge: _27_Year: So Current GPA: _3.11_High School GPA: _3.2_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _8_

12 Participant #: _6_ Gender: M FAge: _22_Year: Fr Current GPA: _3.0_High School GPA: _3.4_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _2_

13 Participant #: _7_ Gender: M FAge: _21_Year: Sn Current GPA: _3.5_High School GPA: _3.8_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _9_

14 Participant #: _8_ Gender: M FAge: _28_Year: Ju Current GPA: _2.22_High School GPA: _2.7_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _5_

15 Participant #: _9_ Gender: M FAge: _21_Year: Sn Current GPA: _2.9_High School GPA: _3.1_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _1_

16 Participant #: 10_ Gender: M FAge: _27_Year: Sn Current GPA: _3.3_High School GPA: _3.1_ On a scale of 1 to 10, how confident are you that you will learn statistics? 1 2 3 4 5 6 7 8 9 10 Not at All Very How many years of computer experience have you had? _7_

17 Your Data View file should look like this -

18 Move a variable Click on the top grey portion of the Year column to highlight the column. Press and hold a Left click then use your mouse to move the cursor to in between the Gender and Age columns. Drop (stop pressing the Left click) the Year column.

19

20 Recode Variables The Confidence variable indicates students' responses to the question: On a scale of 1 to 10, how confident are you that you will learn statistics? Their responses are currently Scale data (1 – 10). To make a comparison of the participants who answered with a low, medium, or high response, you can create groups (Nominal data).

21 Select: Transform > Recode > Into Different Variables. Highlight the Confidence question on the list and click on the arrow to move Confidence into the Input Variable box. Type: “ConfLoHi” in Output Variable: Name. Click on the Change button.

22

23 Select: Old and New Values. Under Old Value, select: Range. Type: “1” in the top box and “3” in the box under through. Type: “1” in the Value box under New Value. Click: Add. Type: “3” in the top Range box under Old Value and “6” in the lower box. Type: “2” in the Value box under New Value. Click: Add. Type: “7” in the top Range box under Old Value and “10” in the lower box. Type: “3” in the Value box under New Value. Click: Add.

24

25 Click on Continue > OK The new variable will appear at the right hand side of your current variables.

26

27 At the bottom left of your screen, select: Variable View Go to line 9 (ConfLoHi) and move over to the Values column. Click on the cell and then on the 3 dots shaded in grey. Type “1” in the Value box and “Low” in the Label box. Select: Add. Type “2” and “Medium.” Select: Add. Type “3” and “High.” Select: Add

28

29 Select: OK


Download ppt "Work with Variables Section 5. Add a variable Click on the top grey portion of the GPA column to highlight the column. At the top left of your screen,"

Similar presentations


Ads by Google