To begin, let’s go over basic syntax terminology:
#Using linear regression in spss 25 how to#
Throughout this seminar, we will show you how to use both the dialog box and syntax when available.
#Using linear regression in spss 25 pdf#
This will call a PDF file that is a reference for all the syntax available in SPSS.Īs we will see in this seminar, there are some analyses you simply can’t do from the dialog box, which is why learning SPSS Command Syntax may be useful. Note that you can explore all the syntax options in SPSS via the Command Syntax Reference by going to the Help menu. You can highlight portions of your code and implement it by pressing the Run Selection button. The Syntax Editor is where you enter SPSS Command Syntax. We have variables about academic performance in 2000 api00, and various characteristics of the schools, e.g., average class size in kindergarten to third grade acs_k3, parent’s education avg_ed, percent of teachers with full credentials full, and number of students enroll. We will not go into all of the details about these variables. In regression, you typically work with Scale outcomes and Scale predictors, although we will go into special cases of when you can use Nominal variables as predictors in Lesson 3.įrom the Variable View we can see that we have 21 variables and the labels describing each of the variables. Scale: variables that are continuous with intrinsic ordering and meaningful metric (e.g., blood pressure, income).Ordinal: variables that have categories with an intrinsic ordering (e.g., Likert scales,Olympic medals).Nominal: variables that have no intrinsic rating (e.g., gender, ethnicity).The Measure column is often overlooked but is important for certain analysis in SPSS and will help orient you to the type of analyses that are possible. Spaces between charcters are not allowed but the underscore _ is.SPSS is not case sensitive for variable names however it displays the case as you enter it.(Optional) The following attributes apply for SPSS variable names: The Name specifies the name of your variable.
The second is called Variable View, this is where you can view various components of your variables but the important components are the Name, Label, Values and Measure. If you delete data, these missing values in this dataset are represented by a dot. You can enter or delete data directly as in Excel. This is like an Excel spreadsheet and should look familiar to you, except that the variable names are listed on the top row and the Case Numbers are listed row by row. The dataset used in this portion of the seminar is located here: elemapiv2įirst is the Data View.