Preparing IBM SPSS Data and MS Excel Files for Conducting Mplus Analyses. Lynn N. Tabata

Similar documents
Manual Physical Inventory Upload Created on 3/17/2017 7:37:00 AM

Note: For more information on creating labels in CDS, watch Volume 22 of the Fast Class Update: Label Creation.

Using vletter Handwriting Software with Mail Merge in Word 2007

Exporting Contacts and Updating the Contacts in Your New Vision Source Address

Importing Career Standards Benchmark Scores

In order for grades to be imported into GradeSpeed, the following qualifications must be met for each file type below:

HOW TO USE THE EXPORT FEATURE IN LCL

Topic 4D: Import and Export Contacts

Export Metadata. Learning Objectives. In this Job Aid, you will learn how to export metadata: 1 For a location 3 2 From search results 7

University of North Dakota PeopleSoft Finance Tip Sheets. Utilizing the Query Download Feature

å To access Advanced List Edit: Advanced List Edit

WinFlexOne - Importer MHM Resources LLC

UPDATES TO NEWSLETTERS

Reference Guide. Adding a Generic File Store - Importing From a Local or Network ShipWorks Page 1 of 21

URGENT: MEDICAL DEVICE CORRECTION

2. Click File and then select Import from the menu above the toolbar. 3. From the Import window click the Create File to Import button:

Employee User s Guide

1.1 ing an Individual Contact or Selected Contacts (Non Synchronous)

PCGENESIS PAYROLL SYSTEM OPERATIONS GUIDE

Before data can be exported out of CDS, an export definition must be created in the Import/Export utility.

OPENING A LEADS.TXT FILE IN EXCEL 2010

EXPORT MANAGER USER GUIDE

Importing Timberline Estimating into Prime Bid

Microsoft Access 2010

Consolidate Trial Balances

BTA Billing Online Support Statement File Reference Guide

Printing Batch Unofficial Transcripts

CSV Import Guide. Public FINAL V

Employee User s Guide

Budget Reports for All Users

Importing in Offertory Donations from Spreadsheets into Connect Now

.txt - Exporting and Importing. Table of Contents

Code Plug Management: Contact List Import/Export. Version 1.0, Dec 16, 2015

17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA Document Variables Code Variables... 1

Sorrell Associates Customized Newsletter Service ~

Business Process Procedures

COINS Enhancement: S/M Multiple Contract Renewals Spreadsheet

Question: How do I move my mobile account from the Corporate to my Personal Account?

Upload Grades from a file to Enroll & Pay for Faculty

Working with Variables: Primary Document Families

Group Rooming List Import Quick Reference Guide

I>clicker 7. Synchronization. Guide for Instructors

Text Conversion Process

Using Attributes. Engineering Design Technology Sacramento City College. Using Attributes 1

SanctionCheck 5 CSV File Tutorial

Checkbox Quick Start Guide

A Brief Word About Your Exam

Chapter 3 Editing and Assigning Data Values

Batch Process for Creating/Adding Additional Pays

Quick Trial Balance Pro - Consolidate Trial Balances. Introduction

How to Import a Text File into Gorilla 4

Style Report Enterprise Edition

Session 10 MS Word. Mail Merge

Importing a CROWNWeb Data Quality Improvement Report.csv File into Excel

MS Excel Advanced Level

Tutorial 4 - Data Analysis

25 Saving Setting Guide Import/Export Nodes and Symbols

Chapter 2 Autodesk Asset Locator... 3

Directions for Using the Canvas-Based Online Instructor Evaluation Tool

There are 3 main windows, and 3 main types of files, in SPSS: Data, Syntax, and Output.

Bulk Certification Verification Guide

MicroStrategy Desktop

AMY OH S MEETING ON EXPORTING CUSTOM REPORTS, PIVOT TABLES & MORE (Created by Olga Killeen)

ESIF Open Data User guide to platform functionalities V

Ad Hoc Reports. 1. Click on Reports. 2. Select Ad Hoc Reports from the menu. 3. To start a new report, Click on the at the top of the screen.

WINCROSS What s New Guide. Version 18

Microsoft Access 2013

Microsoft Access 2013

Group Administrator. ebills csv file formatting by class level. User Guide

Exporting Data Importing Data

Training Guide. Microsoft Excel 2010 Advanced 1 Using Conditional and Custom Formats. Applying Conditional Formatting

8. Printing and exporting portfolio information

Copyright 2018 Maxprograms

Tutorial 3 - Performing a Change-Point Analysis in Excel

ORS Employee Contact Information (ECI) Build MR.299

Using the 824 Utility Software

Argos Creating Labels with Word

Using Scantron ParLAN 6.5 for the First Time:

Reporter Tutorial: Intermediate

1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file

USING MICROSOFT EXCEL 2016 Guided Project 4-3

Identifying Updated Metadata and Images from a Content Provider

How to process the reports from Seller Center

1. Open the New American FactFinder using this link:

A dialog box will appear informing you that you will need to restart Enterprise to see the Calendar changes. Click Ok and then restart Enterprise.

Quick Links on Google Apps. Information about ACC Google Apps and Mail can be found here at

Exploring the Microsoft Access User Interface and Exploring Navicat and Sequel Pro, and refer to chapter 5 of The Data Journalist.

Flowlogic. User Manual Version GraphLogic: Developed by scientists, for scientists. Graphing and Statistical Analysis.

How to Export a Report in Cognos Analytics

THE CHILDREN S HEALTH NETWORK (TCHN) Valence User s Manual

Agilent CSV Export Utility

comma separated values .csv extension. "save as" CSV (Comma Delimited)

December Copyright 2018 Open Systems Holdings Corp. All rights reserved.

User Services Spring 2008 OBJECTIVES Introduction Getting Help Instructors

Export Order/List/Items to Spreadsheet (CSV format)

Module 4 : Spreadsheets

2. create the workbook file

LOOMIS EXPRESS HOW TO IMPORT THE E-BILL LOOMIS ( ) Technical Support Hotline

StatCalc User Manual. Version 9 for Mac and Windows. Copyright 2018, AcaStat Software. All rights Reserved.

Reference Services Division Presents. Excel Introductory Course

Transcription:

Ronald H. Heck 1 Preparing IBM SPSS Data and MS Excel Files for Conducting Mplus Analyses Lynn N. Tabata IBM SPSS and Excel data files (.sav and.xls) may be exported to one of several file formats that can then be read by Mplus software. Some of the common file formats used include:.dat (Fixed ASCII, Tab-delimited), and csv (comma separated values). A few guidelines governing preparing data files that are readable in Mplus include: 1. Variable names should be excluded from the first line of the exported file; 2. Use the Save As file option and available options to determine the format of exported data file; 3. Files exported using a Fixed ASCII (.dat) format require having a Format is syntax line in Mplus; 4. Files exported using delimiters (e.g., tabs, commas, spaces) are a free format and omits the necessity of declaring a Format is syntax line in Mplus. The following examples illustrate exporting data files from IBM SPSS and Excel in.dat (Fixed ASCII, Tab-delimited) and.csv (comma separated values) formats. Example 1: Fixed ASCII (.dat) Exporting Data Files from IBM SPSS A Fixed ASCII file is where each of the data values in each row have the same or fixed column length.

Ronald H. Heck Preparing IBM SPSS Data and MS Excel Files 2 (Launch the IBM SPSS application program and select the employee.sav data file.) 1. Go to the toolbar, select SAVE AS. This command opens the Save Data As main dialog box. 2a. Within the Save Data As dialog box locate the folder where the file will be saved. b. In the Save as type option click the pull-down menu and select: Fixed ASCII (*.dat). c. The file will use the same name (employee) but with a.dat extension. If you wish to change the file name you may do so by typing in the desired name. Note: Saving the file in Fixed ASCII format automatically removes variable names from the exported file. This differs from other methods where you must deselect having variable names written-out to the exported file. Click SAVE to generate the employee.dat file.

Ronald H. Heck Preparing IBM SPSS Data and MS Excel Files 3 3. IBM SPSS also generates output about the exported file. The Format column provides information to be listed in the Mplus FILE command syntax line. From the output we can see that there are 4 variables having 8.0 so the format is: 4f8.0. Example 2: Tab delimited (.dat) A tab-delimited file is where the data values in each row are separated by a delimiter character which in this case are tabs. Data files which use delimiters are considered a free format and are not defined in the Mplus DATA syntax as shown at the end.

Ronald H. Heck Preparing IBM SPSS Data and MS Excel Files 4 Repeat step 1 in Example 1to access the Save Data as dialog box. 2a. Within the Save Data As dialog box locate the folder where the file will be saved. b. In the Save as type option click the pull-down menu and select: Tab Delimited (*.dat). c. We do not want the variable names to be included in the exported.dat file so uncheck the Write variable names to spreadsheet option. d. The file will use the same name (employee) but with a.dat extension. If you wish to change the file name you may do so by typing in the desired name. Click SAVE to generate the employee.dat file. Since a tab-delimited file has a free format, no Format line in Mplus is needed:

Ronald H. Heck Preparing IBM SPSS Data and MS Excel Files 5 Example 3: Comma Separated Values (.csv) A comma-delimited file is where the data values in each row are separated by a delimiter which in this case are commas. Data files which use delimiters are considered a free format and are not defined in the Mplus DATA syntax as shown at the end. Repeat step 1 in Example 1 to access the Save Data as dialog box. 2a. Within the Save Data As dialog box locate the folder where the file will be saved. b. In the Save as type option click the pull-down menu and select: Comma Delimited (*.csv). c. We do not want the variable names to be included in the exported.csv file so uncheck the Write variable names to spreadsheet option. d. The file will use the same name (employee) but with a.csv extension. If you wish to change the file name you may do so by typing in the desired name.

Ronald H. Heck Preparing IBM SPSS Data and MS Excel Files 6 Click SAVE to generate the employee.csv file. Since comma separated values file has a free format, no Format line in Mplus is needed : Exporting Data Files from MS Excel MS Excel offers a variety of delimited formats (e.g., comma, tab, space) from which to generate a readable file for Mplus. Since the procedure for each format follows similar steps we will illustrate just the.csv format. Note the key difference when working with an Excel file is to delete variable names from the first line. Example: CSV (Comma Separated Values) (Launch the MS Excel application program and select the employee.xls data file.) 1. Mplus data files omit variable names so we must first remove the names from the Excel file. Click to select and highlight the first row then right-click to display a submenu and select Delete. Note: An alternative method is to select the row then in the Home 1 tab s Cells section select Delete > Cells. 1 MS Excel 2007 and 2010.

Ronald H. Heck Preparing IBM SPSS Data and MS Excel Files 7 2. Now that the variable names have been removed we may save the file in the desired format. Click the FILE tab to access the Save File options. 3. Click to select SAVE AS which will display the Save As dialog box.

Ronald H. Heck Preparing IBM SPSS Data and MS Excel Files 8 4a. Within the Save Data As dialog box locate the folder where the file will be saved. b. In the Save as type option click the pull-down menu and select: CSV (Comma Delimited). c. The file will use the same name (employee) but add a.csv extension to the file. If you wish to change the file name you may do so by typing in the desired name. Click the SAVE button. d. A warning message about potential compatibility issues but click YES. Since comma separated values file has a free format, no Format line in Mplus is needed: