Multivariate and Multilevel Data Analysis Using SPSS, Amos, Smartpls and Mplus
Multivariate and Multilevel Data Analysis Using SPSS, Amos, Smartpls and Mplus
Multivariate and Multilevel Data Analysis Using SPSS, Amos, Smartpls and Mplus
5. Descriptive Statistics
5.1 Categorical variable
5.1.1 Frequency and Cross tabs
Procedure
Click Analyze, Descriptive Statistics ==== > Frequencies
Move ‘Sex’ (Variable) into variable box ==== > OK
5.1.2 Continuous variable
Procedure
Analyze === > Descriptive Statistics === > move ‘age’, tpstress’ into variables
Click options ==== > Mean, SD, minimum, maximum, skewness, kurtosis, ==== > continue ====
> ok
5.1.4 Assessing normality
Procedure
Analyze === > Descriptive Statistics ==== > Explore
Click on variables ‘tpstress’, and move to Dependent List === > labal cases by put ‘ID’ variable
Display section “both” is selected
Click on Statistics button == > Descriptive and Outliers === > continue
Click on Plots button === > Descriptive -- > Histogram, normality plots with test === > continue
Click on the option button ====> missing values section, ==== > exclude cases pairwise ====>
continue ===> OK
6. Manipulating the data
6.1 Calculating Total Scale Score
Trainer: Waqar Akbar Assistant Professor: waqar.akbar@szabist.edu.pk
Organized by: Faculty of Management Science, SZABIST Karachi
Research Workshop Series
Multivariate and Multilevel Data Analysis using SPSS, AMOS,
SmartPLS and MPlus
6.1.1 Step 1: Reserving Negatively worded Items
1. Click on Transform, then click on Recode Into Different Variables.
2. Select the items (op2, op4, op6). Move these into the Input Variable—Output Variable box.
3. Click on the first variable (op2) and type a new name in the Output Variable section on the
right-hand side of the screen and then click the Change button. Repeat for each of the other
variables you wish to reverse (op4 and op6).
4. Click on the Old and New Values button.
In the Old Value section, type 1 in the Value box.
In the New Value section, type 5 in the Value box (this will change all scores that were
originally scored as 1 to a 5).
5. Click on Add. This will place the instruction (1 → 5) in the box labelled Old > New.
6. Repeat the same procedure for the remaining scores. For example:
Old Value—type in 2 New Value—type in 4 Add
Old Value—type in 3 New Value—type in 3 Add
Old Value—type in 4 New Value—type in 2 Add
Old Value—type in 5 New Value—type in 1 Add
Always double-check the item numbers that you specify for recoding and the old and new
values that you enter. Not all scales use a five-point scale; some have four possible responses,
some six and some seven. Check that you have reversed all the possible values for your
particular scale.
7. Click on Continue and then OK
1. From the menu at the top of the screen, click on Transform, then click on Compute
Variable.
2. In the Target Variable box, type in the new name you wish to give to the total scale scores.
3. Click on the Type and Label button. Click in the Label box and type in a description of the
scale (total optimism). Click on Continue.
4. From the list of variables on the left-hand side, click on the first item in the scale (op1).
5. Click on the arrow button to move it into the Numeric Expression box.
6. Click on + on the calculator.
7. Repeat the process until all scale items appear in the box.
8. The complete numeric expression should read as follows:op1+op3+op5+Rop2+Rop4+Rop6.
Or (op1+op3+op5+Rop2+Rop4+Rop6)/6.
9. Double-check that all items are correct and that there are + signs in the right places. Click
OK
7. Reliability test
1. From the menu at the top of the screen, click on Analyze, select Scale, then Reliability
Analysis.
2. Click on all of the individual items that make up the scale (e.g. lifsat1, lifsat2, lifsat3, lifsat4, lifsat5).
Move these into the box marked Items.
3. In the Model section, make sure Alpha is selected.
4. In the Scale label box, type in the name of the scale or subscale (Life Satisfaction).
Trainer: Waqar Akbar Assistant Professor: waqar.akbar@szabist.edu.pk
Organized by: Faculty of Management Science, SZABIST Karachi
Research Workshop Series
Multivariate and Multilevel Data Analysis using SPSS, AMOS,
SmartPLS and MPlus
5. Click on the Statistics button. In the Descriptives for section, select Item, Scale, and
Scale if item deleted. In the Inter-Item section, click on Correlations. In the Summaries section, click
on Correlations.
6. Click on Continue and then OK
8.Correlation
8.3 Procedure for comparing correlation coefficients for two groups of participants
Step 1: Split the sample
1. From the menu at the top of the screen, click on Data, then select Split File.
2. Click on Compare Groups.
3. Move the grouping variable (e.g. sex) into the box labelled Groups based on.
4. This will split the sample by sex and repeat any analyses that follow for these two groups
separately.
Step 2: Correlation
1. Follow the steps in the earlier section of this chapter to request the correlation between your
two variables of interest (e.g. Total optimism: toptim, Total negative affect: tnegaff).
The results will be reported separately for the two groups.
9. Partial Correlation
Procedure
Procedure
1. From the menu at the top of the screen, click on Analyze, then select Regression, then Linear.
2. Choose your continuous dependent variable (e.g. total perceived stress: tpstress) and move it
into th Dependent box.
3. Move the variables you wish to control for into the Independent(s) box (e.g. age, total social
desirability: tmarlow). This will be the first block of variables to be entered in the analysis (Block
1 of 1).
4. Click on the button marked Next. This will give you a second independent variables box to
enter your second block of variables into (you should see Block 2 of 2).
5. Choose your next block of independent variables (e.g. Total Mastery: tmast, Total PCOISS:
tpcoiss).
6. In the Method box, make sure that this is set to the default (Enter).
7. Click on the Statistics button. Select the following: Estimates, Model fit, R squared change,
Descriptives, Part and partial correlations and Collinearity diagnostics. Click on Continue.
8. Click on the Options button. In the Missing Values section, click on Exclude cases pairwise.
Click on Continue.
9. Click on the Plots button.
• Click on *ZRESID and the arrow button to move this into the Y box.
• Click on *ZPRED and the arrow button to move this into the X box.
• In the section headed Standardized Residual Plots, tick the Normal probability plot option.
Click on Continue.
10. Click on the Save button. Click on Mahalanobis and Cook’s. Click on Continue and then OK.
1. From the menu at the top of the screen, click on Analyze, then select Dimension Reduction, and
then Factor.
2. Select all the required variables (or items on the scale). In this case, select the items that make up
the PANAS Scale (pn1 to pn20). Move them into the Variables box.
Procedure (Part 2)
1. Repeat all steps in Procedure (Part 1), but when you click on the Extraction button click on Fixed
number of factors. In the box next to Factors to extract type in the number of factors you would like
to extract (e.g. 2).
2. Click on Continue and then OK.
12. T-Test
1. From the menu at the top of the screen, click on Analyze, then select Compare means, then
Independent Samples T test.