This document provides an introduction to using SPSS command files. It outlines the pros and cons of using the drop-down menus versus command syntax. It then demonstrates how to write, save, and run command files. Examples of common commands like COMPUTE, IF, SAVE, and LABEL are provided. The document concludes with exercises for attendees to practice using command files and a review of the key benefits of using syntax over menus.
Take a Trip Into the Forest: A Java Primer on Maps, Trees, and Collections Teamstudio
Wondering how to take advantage of Java and managed beans in XPages? To do this requires knowing how to store data in Java objects and a good understanding of maps, trees, lists, and sets. No, we're not talking about Google Maps or those big green things in forests, but different Java interfaces!
Come learn from Howard Greenberg of TLCC as he discusses different programming models to use when storing application configuration information, speeding up lookups to Domino data and feeding data to repeat and table controls. Learn how to build reports from different data sources. Plus, Howard will also look at working with dates and numbers in Java and Domino. Finally, he will review the Domino Java APIs and an alternative, the OpenNTF Domino API.
Best Practices and Performance Tuning of U-SQL in Azure Data Lake (SQL Konfer...Michael Rys
When processing TB and PB of data, running your Big Data queries at scale and having them perform at peak is essential. In this session, we show you some state-of-the art tools on how to analyze U-SQL job performances and we discuss in-depth best practices on designing your data layout both for files and tables and writing performing and scalable queries using U-SQL. You will learn how to analyze performance and scale bottlenecks and will learn several tips on how to make your big data processing scripts both faster and scale better.
MemSQL 201: Advanced Tips and Tricks WebcastSingleStore
Topics discussed include differences between columnstore and rowstore engines, data ingestion, data sharding and query tuning, lastly memory and workload management.
Watch the replay at https://memsql.wistia.com/medias/4siccvlorm
This presentation is about -
Working Under Change Management,
What is change management? ,
repository types using change management
For more details Visit :-
http://vibranttechnologies.co.in/sas-classes-in-mumbai.html
Compuware product managers Irene Ford, Bill Mackey and Jonathan Manley discuss and demo some of File-AID’s new and notable enhancements, including:
- File-AID for MVS: the use of 64-Bit storage when working with larger datasets; multi-dataset Search/Update functionality; and new Compare functionality designed to allow users to consolidate their Compare needs onto File-AID for MVS.
- File-AID for IMS and DB2: IBM Health Checker for z/OS support; customer requested enhancements that have been implemented in File-AID for IMS and File-AID for DB2; and enhancements to product architecture that address performance and usage of z/OS Unix.
- Test Data Privacy and File-AID/EX: list variable support; new functions in rule logic; disguise of CLOB and XML columns; improved handling of DISTINCT data types; and more.
This presentation was given to introduce users to SPSS 14's new programmability features. It discusses five new power features in SPSS 14, emphasizing programmability, and contains a number of annotated examples of using programmability (along with other power features).
SPSS Statistics 17 completes the core programmability building blocks begun in SPSS 14. This presentation reviews the benefits and technology of programmability and shows four examples.
This slide is special for master students (MIBS & MIFB) in UUM. Also useful for readers who are interested in the topic of contemporary Islamic banking.
Take a Trip Into the Forest: A Java Primer on Maps, Trees, and Collections Teamstudio
Wondering how to take advantage of Java and managed beans in XPages? To do this requires knowing how to store data in Java objects and a good understanding of maps, trees, lists, and sets. No, we're not talking about Google Maps or those big green things in forests, but different Java interfaces!
Come learn from Howard Greenberg of TLCC as he discusses different programming models to use when storing application configuration information, speeding up lookups to Domino data and feeding data to repeat and table controls. Learn how to build reports from different data sources. Plus, Howard will also look at working with dates and numbers in Java and Domino. Finally, he will review the Domino Java APIs and an alternative, the OpenNTF Domino API.
Best Practices and Performance Tuning of U-SQL in Azure Data Lake (SQL Konfer...Michael Rys
When processing TB and PB of data, running your Big Data queries at scale and having them perform at peak is essential. In this session, we show you some state-of-the art tools on how to analyze U-SQL job performances and we discuss in-depth best practices on designing your data layout both for files and tables and writing performing and scalable queries using U-SQL. You will learn how to analyze performance and scale bottlenecks and will learn several tips on how to make your big data processing scripts both faster and scale better.
MemSQL 201: Advanced Tips and Tricks WebcastSingleStore
Topics discussed include differences between columnstore and rowstore engines, data ingestion, data sharding and query tuning, lastly memory and workload management.
Watch the replay at https://memsql.wistia.com/medias/4siccvlorm
This presentation is about -
Working Under Change Management,
What is change management? ,
repository types using change management
For more details Visit :-
http://vibranttechnologies.co.in/sas-classes-in-mumbai.html
Compuware product managers Irene Ford, Bill Mackey and Jonathan Manley discuss and demo some of File-AID’s new and notable enhancements, including:
- File-AID for MVS: the use of 64-Bit storage when working with larger datasets; multi-dataset Search/Update functionality; and new Compare functionality designed to allow users to consolidate their Compare needs onto File-AID for MVS.
- File-AID for IMS and DB2: IBM Health Checker for z/OS support; customer requested enhancements that have been implemented in File-AID for IMS and File-AID for DB2; and enhancements to product architecture that address performance and usage of z/OS Unix.
- Test Data Privacy and File-AID/EX: list variable support; new functions in rule logic; disguise of CLOB and XML columns; improved handling of DISTINCT data types; and more.
This presentation was given to introduce users to SPSS 14's new programmability features. It discusses five new power features in SPSS 14, emphasizing programmability, and contains a number of annotated examples of using programmability (along with other power features).
SPSS Statistics 17 completes the core programmability building blocks begun in SPSS 14. This presentation reviews the benefits and technology of programmability and shows four examples.
This slide is special for master students (MIBS & MIFB) in UUM. Also useful for readers who are interested in the topic of contemporary Islamic banking.
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
1. Introduction to Using SPSS
Command Files
Joel P. Wiesen, Ph.D.
jwiesen@appliedpersonnelresearch.com
31th Annual IPMAAC Conference
St. Louis, MO
June 13, 2007
Wiesen (2007), IPMAAC Conference 1
3. Overview
• Two ways to use SPSS
• Pros and Cons of each type of use
• Quick review of SPSS windows
• How to write command files
• How to save a command file
• How to run a command file
Wiesen (2007), IPMAAC Conference 3
4. Two Ways to Use SPSS
• Drop-down menus
– Point-and-click
– Widely used
– Fraught with problems
– Tedious for long analyses
• Command syntax files
– Not commonly taught in college
– Provides more functionality
Wiesen (2007), IPMAAC Conference 4
5. Pros and Cons
Functionality Menu Command File
Re-running Harder Easier
Learning curve Easier Harder
Debugging Harder Easier
Documentation Harder Easier
Long analyses Harder Easier
All procedures No Yes
Wiesen (2007), IPMAAC Conference 5
6. Quick Review of SPSS Windows
• Data editor
– See data
– Transform variables
• Output
– Results from commands, including tables, charts
• Chart editor
– Can edit graphs
• Syntax editor
– Write and execute SPSS commands
Wiesen (2007), IPMAAC Conference 6
7. How To Write Command Files
• Paste from drop-down menus
– Menu choices generate syntax automatically
• Modify previous command file
• Write commands in text file
Wiesen (2007), IPMAAC Conference 7
8. Creating Syntax From Menus
• Use drop-down menus but do not run
• Choose PASTE
– Creates a syntax window
• Save command file
• Run pasted commands
Wiesen (2007), IPMAAC Conference 8
9. How to Save a Command File
• File-Save
• File extension: .SPS
• Can use same name for data and sps files
Wiesen (2007), IPMAAC Conference 9
10. How to Run a Command File
• Open command file
– File-Open
– Click on .sps file in Windows Explorer
• Highlight all or part of command file
• Run commands in one of several ways
– Click on right arrow
– Control-R
– Run-all
Wiesen (2007), IPMAAC Conference 10
11. Some Command Syntax Details
• What is a command file?
• Command syntax structure
• Example of an SPSS command
• Some details of commands
• Common and important commands
Wiesen (2007), IPMAAC Conference 11
12. What is a Command File?
• An ASCII text file
• Contains SPSS commands written out
• AKA syntax file
Wiesen (2007), IPMAAC Conference 12
13. Command Syntax Structure
• Name of command
– May include some variable names
– May included some command options
• Name of subcommand
– May include variable names or command
options
• Slashes used to start subcommands
• Can continue over multiple lines
• End command with a period or blank line
Wiesen (2007), IPMAAC Conference 13
14. Example of an SPSS Command
• GET DATA
/ TYPE=XLS
/ FILE='c:pathfile_name.xls'.
• This is one command
– With two subcommands
• SPSS tries to use the Excel column heads
as the variable names
Wiesen (2007), IPMAAC Conference 14
15. Some Details of Commands
• Each command begins on a new line
• Variable names cannot be abbreviated
• Command may span lines
• Max line length: 80 characters
• Period or blank line terminates command
• Command syntax is case insensitive
Wiesen (2007), IPMAAC Conference 15
16. Common & Important Commands
• Commands allow you to
– Get data
– Manipulate data
– List data
– Do statistical analyses
– Save data
Wiesen (2007), IPMAAC Conference 16
17. Most Important Command
• Asterisk
• Identifies a comment line
• End comment with period or blank line
* This is an example of a comment line.
* The next two lines correct data errors.
Wiesen (2007), IPMAAC Conference 17
19. IF
• IF (form = "A") zscore = (score – 44.5)/6.5
Wiesen (2007), IPMAAC Conference 19
20. Create Ranks
• RANK VARIABLES = written oral ppt (A).
• Default is to create new variables
– rwritten
– roral
– rppt
• Can specify names of new variables
• (A) means ascending
Wiesen (2007), IPMAAC Conference 20
21. Save SPSS Data File
• SAVE OUTFILE = 'c:pathfilename.sav'.
• SAVE OUTFILE = 'c:pathfilename.sav'
/ DROP ssn.
• SAVE OUTFILE = 'c:pathfilename.sav'
/ KEEP id lastname grade.
Wiesen (2007), IPMAAC Conference 21
22. TEMPORARY
• TEMPORARY.
SELECT IF (eeo_gp = 1).
LIST id written oral ppt /CASES = 15.
Wiesen (2007), IPMAAC Conference 22
23. SORT
• SORT CASES BY grade.
• LIST id lastname firstname grade.
• SORT CASES BY grade (A).
Wiesen (2007), IPMAAC Conference 23
25. Value Label
• VALUE LABEL eeo_gp 0 ‘Unknown'
1 'Non-Minority' 2 'Minority' .
• VALUE LABEL eeo_gp
0 'Unknown'
1 'Non-Minority'
2 'Minority' .
Wiesen (2007), IPMAAC Conference 25
26. Save Non-SPSS Data File
• SAVE TRANSLATE OUTFILE =
'c:pathfilename.xls' /TYPE=XLS
/ KEEP id gender eeo_gp age compos
/FIELDNAMES.
• This creates an Excel file with variable
names for column heads.
Wiesen (2007), IPMAAC Conference 26
27. Statistical Commands
• Means
• Graph
• Correlation
• Many other commands
Wiesen (2007), IPMAAC Conference 27
28. Means Command
• MEANS TABLES= oral written BY eeo_gp.
– This minimal command will work
– Commands have default settings
• MEANS TABLES= oral written BY eeo_gp
/ CELLS MEAN COUNT STDDEV.
– This command is more specific.
Wiesen (2007), IPMAAC Conference 28
29. Graph
• GRAPH /SCATTERPLOT(BIVAR)= oral
WITH written
/MISSING=LISTWISE
/TITLE= 'Title goes here'
'line 2 of title goes here‘
/SUBTITLE= 'sub title goes here‘
/FOOTNOTE= 'footnote goes here‘
'line 2 footnote goes here'.
Wiesen (2007), IPMAAC Conference 29
31. Command File Example
• SPSS Program to Grade a Test
(See separate pdf file.)
Wiesen (2007), IPMAAC Conference 31
32. Tips for Using Command Files
• Documenting
• Debugging
• Use of capitalization
• Separate the major aspects of analyses
Wiesen (2007), IPMAAC Conference 32
33. Document Your Files
• File name
• Date created
• Author
• Log of changes over time
• Outline file
• Visual divisions of file into sections
Wiesen (2007), IPMAAC Conference 33
35. Debugging Individual Commands
• SPSS is very detail demanding
• Look for:
– Missing or extra quotation marks
– Unbalanced parentheses
– Missing periods
Wiesen (2007), IPMAAC Conference 35
36. Debugging Command Logic
• Look at data at various points in the file
– List data
– Do crosstabulations
• Do analyses in another software package
– Excel
– SAS
– Minitab
–R
Wiesen (2007), IPMAAC Conference 36
37. Use of Capitalization
• Helpful convention
– SPSS commands in upper case
– Variable names in lower case
Wiesen (2007), IPMAAC Conference 37
38. Separate the Major Aspects of
Analyses
• Read and save
– Verify data is read correctly
• Groom data
– Transform variables
• Change numbers 1 to 4 to letters A to D
– Add variables
• Name of data set
• Analyze data
Wiesen (2007), IPMAAC Conference 38
39. Name Various Files
• Use one basic name
– Keep track of all files related to one project
• For example:
– IPMAAC_2007.dat
– Read_IPMAAC_2007.sps
– Groom_IPMAAC_2007.sps
– Analyze_IPMAAC_2007.sps
• Similar system to name output files
Wiesen (2007), IPMAAC Conference 39
40. Display Commands in Output
• Do this through menu
• Edit – Options
• Select the Viewer or Draft Viewer tab
• Check the Display commands in the log
Wiesen (2007), IPMAAC Conference 40
41. SPSS Training Resources
• SPSS built-in tutorial
– Help-Tutorial-Working with syntax
• SPSS help menu
– Help - Command Syntax Reference
– Full syntax options
– Gives examples
– States limitations
• SPSS website
Wiesen (2007), IPMAAC Conference 41
42. SPSS Help
• When cursor is in a command
– Click Syntax Help button to find out what
subcommands and keywords are available for
the current command
• If the cursor is not in a command
– Clicking the Syntax Help button to display an
alphabetical list of commands
– You can select the one you want.
Wiesen (2007), IPMAAC Conference 42
43. Other Training Resources
• On line tutorials for SPSS
– Many from colleges
• Listserves
Wiesen (2007), IPMAAC Conference 43
44. Exercise 1
• Fetch data from an Excel file
• Get average of oral and written scores
• Save data to an SPSS .sav file
Wiesen (2007), IPMAAC Conference 44
45. Exercise 2
• Get data from an Excel file
• Get average of oral and written z-scores
• Save data to an SPSS .sav file
Wiesen (2007), IPMAAC Conference 45
46. Review
• Pros and cons of drop-down menu
• How to use command files
Wiesen (2007), IPMAAC Conference 46
47. Drop-Down Menus
• Easy to get started
• Unwieldy for longer analyses
• Easy to make undetected errors
• Hard to proof analyses
Wiesen (2007), IPMAAC Conference 47
48. How to Use Command Files
• Create files
• Edit files
• Save files
• Name files
• Run files
Wiesen (2007), IPMAAC Conference 48
49. Summary
• Start using SPSS drop-down menus
• Next, paste menu commands
• Write command files as soon as possible
• This enables you to
– Do longer, more complex analyses
– Detect errors and proof analyses
Wiesen (2007), IPMAAC Conference 49
50. Final Thoughts
• Look at SPSS programs written by others
• Become acquainted with SPSS commands
• Learn details of commands you use often
Copies of this presentation are available at:
http://ipmaac.org
Wiesen (2007), IPMAAC Conference 50
51. Q&A’s
• The floor is open
– Questions
– Comments
Wiesen (2007), IPMAAC Conference 51