Tab-delimited file problems |
Question: I'm having trouble reading files from SPSS or Excel. I save the file in Excel or SPSS as a text file and have tried saving in all formats (tab-delimited, comma, etc.). It always saves the data with tabs separating the column values. When I read the file in Winsteps, the tabs are translated into columns, thus producing every other row of empty columns. How do I get around this?
Answer: There are numerous ways round this difficulty.
(a) Use Winsteps to format your SPSS .sav file into a Winsteps file (use the Excel/RSSST pull-down menu in Winsteps).
(b) Use the Winsteps "setup" routine to format your Excel data.
Start Winsteps "setup" (Setup pull-down menu in Winsteps)
Copy the cells you want from Excel, paste them into the Data area of the Setup screen.
(c) Get Excel to write out a file without Tabs: "Save as" a ".prn" file. "Formatted text (space delimited)"
Before you do this, set all data columns widths to 1.
(d) Tell Winsteps the data are Tab separated: use DELIMITER= .... but this is tricky to get to work correctly.
(e) Edit your data file with Notepad. Replace all tabs with nothing. To "find" a Tab, highlight a Tab, copy it (ctrl+C), then paste it into the "find" box: ctrl+v.
(f) Use FORMAT= or MFORMS= to pick up every other column. This is tricky.
(g) Edit your data file with Notepad. Replace all tabs with a space. To "find" a Tab, highlight a Tab, copy it (ctrl+C), then paste it into the "find" box: ctrl+v. Press the space bar in the "replace" box. Use XWIDE=2
Tabs in the Data File |
|
Data file looks like: |
|
Winsteps reports: |
|
Problem diagnosis: |
|
Edit the data file in NotePad |
|
Highlight a tab with the mouse |
|
NotePad Edit menu: Copy the tab (Ctrl+c) |
|
NotePad Edit menu: Replace (Ctrl+h) |
|
Find what: Ctrl+v (Paste)
Box character is a Tab |
|
Replace with: |
|
Replace All (This can be slow) |
|
After Replace All |
|
Save the data file: Ctrl+s |
Help for Winsteps Rasch Measurement and Rasch Analysis Software: www.winsteps.com. Author: John Michael Linacre
Facets Rasch measurement software.
Buy for $149. & site licenses.
Freeware student/evaluation Minifac download Winsteps Rasch measurement software. Buy for $149. & site licenses. Freeware student/evaluation Ministep download |
---|
![]() |
Forum: | Rasch Measurement Forum to discuss any Rasch-related topic |
---|
Questions, Suggestions? Want to update Winsteps or Facets? Please email Mike Linacre, author of Winsteps mike@winsteps.com |
---|
State-of-the-art : single-user and site licenses : free student/evaluation versions : download immediately : instructional PDFs : user forum : assistance by email : bugs fixed fast : free update eligibility : backwards compatible : money back if not satisfied Rasch, Winsteps, Facets online Tutorials |
---|
Coming Rasch-related Events | |
---|---|
Jan. 17 - Feb. 21, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
Feb. - June, 2025 | On-line course: Introduction to Classical Test and Rasch Measurement Theories (D. Andrich, I. Marais, RUMM2030), University of Western Australia |
Feb. - June, 2025 | On-line course: Advanced Course in Rasch Measurement Theory (D. Andrich, I. Marais, RUMM2030), University of Western Australia |
Apr. 21 - 22, 2025, Mon.-Tue. | International Objective Measurement Workshop (IOMW) - Boulder, CO, www.iomw.net |
May 16 - June 20, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
June 20 - July 18, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Further Topics (E. Smith, Facets), www.statistics.com |
Oct. 3 - Nov. 7, 2025, Fri.-Fri. | On-line workshop: Rasch Measurement - Core Topics (E. Smith, Winsteps), www.statistics.com |
Our current URL is www.winsteps.com
Winsteps® is a registered trademark