2019.10.17 day I had spss Learning Summary

sPSS

 

 

 

A. Spss character data, the character data only case-sensitive, uppercase and lowercase m m is not the same. 

The number 1 in the input variables can be set in view of the character "width", and character. When "column" value, only the width of the character "column" set "width" of the variable is greater than the value set in view, but other characters remain. Generally greater than the width of the column value

2 character data may be provided a paper label. As the column, two values ​​"sex" variable to m, f, their performance values ​​were female male

3 If the label is English only, you can click the Spelling spell check to check the label refers to filled out in English

Second missing values:

If there is missing data, there are SPSS for character data and numerical data different approach, numerical data for the missing values ​​by default. ""; For a string line data system default value is empty, an empty string if meaningful , you need to define the missing values ​​in the variables view

Data source name (title name)

Description (description)

TCP / ID (address) server: localhost port (port): 3306

user (user name): root

password (password): root

Open Database Connectivity is central to understanding between heterogeneous databases, data sharing produced, has become a major part of WOSA (window open system) and is based on a standard database access interface window environment, Od pc provide access to heterogeneous databases unified interface. Allows the application to take the standard sol data have different data access management data odbc application directly manipulate db dispense with the changed DB changed by oDbc Db can access files on various types of computer. Access and Excel tables and even ascll data files such non-data objects.

Database variable naming only in English (first letter capitalized) (if not English, Pinyin or Hanyu Pinyin initials)

 

 Edit and output data

File - Open - data

Find simplitd Chinese file into the samples under variable method in SPSS installation position

Will be inserted in front of a variable in the data of the upper left corner of the target column view an insert a variable

 

Delete variables: right-click the column in the data view - Right-click on the target and then clean up the data view - Clear

 

Insert Case: Right-click to view on the column - insertion Case

Delete Case: Right-click on the goal line in the data view - clear 

Withdraw the case

Redo button

Save Output

 Save as a file

Save the file name Type: You can choose a variety of

Variables: you can choose to save content

Data sorting: When the statistical analysis, the initial variables may not meet the requirements of statistical analysis, the user needs to be in line with the target data collation classification

 

 Sort Cases

A data sorting case

 Sort by

 Sort

 Variable ordering

 Data - variable ordering

 Variable View column

  Order

 

 Data transpose

Row the row data into columns Column - transpose

Variable becomes, observations. Name variable becomes the variable name, you can be a part of the variable go, but data is lost and can not undo

Database variable naming only English capitalized (with Pinyin and English is not the first Chinese phonetic alphabet.)

For more than two different cases, merge data file into Add Variable

1. Add Cases: Select Data - Merge Files - Add Cases

2. Add variables: Select Data - Merge Files - Add Variable

First, merge the two data files

Introduction: (. And matching with the indicated variables when two different files of the data set may sort order may specify the position of the time variable key, key variables need to be sorted key data set a variable sequence, if there is no sort ascending) key variable for large sources of data may need to be limited to a smaller number of cases of a representative sample, can significantly reduce the time required to run its program, the interface limits retrieved cases. Reading two or more database tables, ways must specify a correlation between the database associated in most cases can be selected in the default, this type of association, to ensure complete matching conditions associated records will be imported SPSS, if external left side, the left side of the double arrow is recorded in the data table in a timely manner and the data does not match the table to the right will be elected SPSS dataset, SPSS merge the two files transversely, leading to combined error

 

Guess you like

Origin www.cnblogs.com/zengtianyu123/p/11695368.html