Data Processing Using Quantum


Published on

Published in: Technology
  • Be the first to comment

Data Processing Using Quantum

  1. 1. Atul Vishwakarma Data Processing with || Quantum ||
  2. 2. Data File Formats: SPSS: *.sav Excel: *xls ASCII: *.asc, *.dat Sample.dat
  3. 3. Converting Data Into ASCII Format: From SPSS: Open data in SPSS File>>Save As>>Save as type>>Fixed ASCII (*.dat) Rename the file and Save Structure File: Contents comes in output viewer window. Having information (address, type etc.) of data in *.dat file with corresponding variable name. From Excel Files: Export data into SPSS from Excel. File>>open>>data>>File of Type>>Excel(*.xls). Select file and Open.
  4. 4. Required Folders: Data: To store data files (*.dat) and structure file Docs: To store All the information about project sent by client. It includes questionnaire, instruction files etc. Tables: It contains all those files which are generated due program running process through Quantum. Outputs: It contains the outputs files in *CSV format. All the output tables automatically generate in *CSV file named head1.
  5. 5. SET File: It is a programming file. It contains the codes of tables which has to be print. It is able to open in Textpad . A set file has four sections: First Section: In this section there are declaration of number of records, type of data (card data or non-card data), edit-section, banner definitions, test to be applied with certain level of significance. Second section: Sub file: Every sub file belongs to each variables for which table is to be print. It includes options with their respective codes.ege. {i} q1.sub n11 n01Yes ;ca00’1’ n01No ;ca00’2’
  6. 6. Third Section: Axis File: It contains the Table Title, Total base i.e. number of response in the table and column number from where to carry the data. {a} l q1 *include title.sub;tit=Q.Have you had your breakfast today? +bt=All Respondents *include q1.sub;col(a)=10 Fourth Section: Tab file: In this section we declare tables which are to be print. Tab q1 &head
  7. 7. Batch File: It is an one of the important file where we define the files to generate through Quantum i.e. set file, run file, tab file, edt file and axc file, these files are required in process and path of data and output file. A sample of r.bat file contains echo bloodd.set > setfile call set2qun < setfile call quclean -a -y echo *include bloodd.edt;op=12;wm=0;pg=300;sd=40;wh=pc> echo *include; head=head1 ; >> echo *include bloodd.axc; >> call quantum ..datamerge.dat head1.txt call csv head1 call move *.csv ..outputs
  8. 8. Program is run in DOS mode by simply giving the path of r.bat file
  9. 9. Output We see the output tables in head.txt file
  10. 10. Demo
  11. 11. Atul Vishwakarma Leadcap Ventures [email_address]