SPSS 2019 Nian 10 Yue 17 Ri 21:46:38 today learning summary

database:

Open the database link is to solve data sharing among heterogeneous databases generated, has now become an integral part of WOSA and provides an interface for heterogeneous database access is based on a Windows environment database access interface standard ODBC, allows applications to SQL take the standard database, different DBMS management of access to data: enables applications to directly manipulate data DB, DB with exemption is changed. DB using ODBC can access files on all types of computer, or even access such as Excel tables and ASCII data files such non-database object.

 

SPSS can read all types of database files: such as Access SQL server Oracle DB2 MySql.

 

English translation:

Source the Name the Data - header name

The Description - Description

TCP/IP ServerLocalhost  port

User: username root

Password : root (password)

Database________ (database)

Ongoing process, SPSS no MySql Interface

Note: The name can only use English, English capitalized (if you do not use English words pinyin spelling or capitalization Jianpin Chinese initials)

 

SPSS : 

Edit and output data

 

  File - Open - data

 

  Find Simplifid chinese SPSS installation folder location

 

  

 

Insert Variable Methods

  Right-click on a view - will insert a variable is inserted in front of the target variable column delete variable

  Right-click the column in the data view - Clear

  Right-click the line in the Variable View - Clear

  Inserted Case

  Right-click on a view - inserting Case

Delete Case

 Right-click on the goal line in the data view - Clear

  Undo button

  Redo button

  Save Output

  File - Save As

  file name

  Save as type: Multiple choice

  Sorting data

   The initial variable, may not meet the requirements of statistical analysis when statistical analysis, requires the user to organize data on the target to meet the analytical methods.

   Sort Cases

  Data - Sort Cases

  Sort by

  Sort Order

Variable ordering

  Data - Variable View column

  Order

Data transpose

  Row the column, the column becomes row

  Data - transpose

Variable becomes observations

  Name variable becomes the variable name

Variable part may be transposed, but the data will be lost, and can not undo.

Can not start with a number, not include space characters, special symbols, case insensitive, not with $, is not a dot underlined not all reserved word

 

File merge

 

Data - File Merge - Add Cases - selected data set - the same meaning content pairing - Other direct introduction - (Case instruction source if needed)

grammar

ADD FILES /FILE=*

/ FILE = 'C: \ Users \ Administrator \ Desktop \ teaching \ the SPSS \ II \ user 1.sav'

/ RENAME sales amount = krypton gold amount

/ FILE = 'C: \ Users \ Administrator \ Desktop \ teaching \ the SPSS \ II \ user 2.sav' /

EXECUTE .

File - New - Syntax

 

Key variable used to identify and match variables :( different files cases, when two sets of data sorted unknown, they can specify the key variables, key variables need to be set according to the data key variables in ascending order, if not in ascending order, but SPSS files will be two horizontal mergers, leading to merge error.)

 

Guess you like

Origin www.cnblogs.com/Alkaid2019/p/11695344.html