Home

Products

  • Overview of Stata
  • Why buy Stata?
  • Stata Journal
  • Stat/Transfer
  • Prices

    Australia

  • New purchases
  • Upgrade
  • Bookshop
  • GradPlan


  • New Zealand

  • NZ - New purchases
  • NZ - Upgrade
  • NZ - Bookshop
  • NZ - GradPlan
  • Support

  • Starting Stata
  • Stata tips - General
  • Stata tips - Graphs
  • Stata tips - Tables
  • Technical
  • Stata Courses & Training


  • Order form

    Quotation request

    Contact us


    Stata is a general-purpose statistical package for researchers of all disciplines.
    Epidemiology
    Longitudinal/Panel Data
    Multivariate Methods
    Survey Data
    Survival Analysis
    Time-Series
    Multiple Imputation
    Structural Equation Modelling





    and
    Statistics useful across other fields

    In addition, Stata produces publication-quality graphics, contains extensive data-management capabilities, and has a powerful matrix-programming language.


    What's New in Stata 12?

    Multiple imputation (MI) New Features Structural equation modeling (SEM) Contrasts and pairwise comparisons

    • Chained equations
    • Imputation of continuous,ordinal, cardinal, and count variables
    • Conditional imputation
    • Support for panel data and multilevel models and much more ..
    See Chained equations and more in multiple imputation in Stata 12: here
    • Path diagrams
    • Standardized and unstandardized estimates
    • Modification indices
    • direct and indirect effects and much more..
    See Blog article on SEM: here
    See Stata News article on SEM: here
    See Estimating and interpreting structural equation models in Stata 12: here
    Stata 12 SEM manual - Tour of models: here
    Capabilities include:
    • Linear and nonlinear models
    • Comparison of means,intercepts or slopes
    • and much more ..
    New time series features Contour plots ROC analysis - expanded capabilities

    • Multivariate GARCH: including constant conditional correlations etc.
    • ARFIMA
    • UCM -- unobserved-components models
    • Time-series filters, including Christiano-Fitzgerald, Baxter-King band-pass filters, etc
    • Business calendars -
    See Stata News article: here
    See Stata presentation: here


      Includes both filled and outlined plots

    • ROC adjusted for covariates and more ..
    New Excel import/export commands PDF Interface enhancements

    • Read and write worksheets from Microsoft Excel files, .xls and .xlsx.
    • New Import Preview tool

    • PDF export of results and graphs

    • New Properties window which lets you manage your variables, including their names, labels, value labels, notes, formats, and storage types.
    • Data Editor also has a new Properties window; has another tool that lets you Hide, Show, Filter, and Reorder the variables;
    • The Review and Variables windows support filtering

    Go here for a comprehensive overview of what's new in Stata 12.
    Go here for greater details on whats new in Stata 12.
    Go here to find out more about the capabilities of Stata 12.



    Stata/MP 12
    Stata/MP 12 is a version of Stata/SE that runs on multiprocessor computers, thus significantly reducing the time required to run your analysis. Stata/MP provides the most extensive support for multiple-processor computers and dual-core computers of any statistics and data-management package. Stata/MP can run on computers with 2,4,6,8,16,32 & 64 processors; with the appropriate licence.
    Go here for a comprehensive overview of Stata/MP 12.
    Stat/Transfer 11
    Now available
    Stata/Transfer is a program that facilitates the changing of file formats eg. a SPSS data file can be converted to a Stata data file
    Go here for details of Stat/Transfer 11.

    Recent  Releases





    Stata Journal The Stata Journal publishes articles, columns, and book reviews of interest to Stata users from beginners to Stata experts.
    To see the table of contents for Stata Journal Volume 12 Issue 1 (latest issue) go here
    Stata News
    Stata News Volume 27 No.1 has now been posted. If you would like a copy please contact us. The Stata News consists of important announcements about new products, upcoming releases, course dates, NetCourse information, and more. Go here to see the electronic version of the Stata News.
    Bookshop
    For books on Statistics and to help you learn Stata go here.




    Stata Tip

    Using Stata's file command

    Stata's file command can be useful for:
    (1) cleaning up data before importing it into Stata
    (2) handling a text variable where the text exceeds 244 characters and only a portion of the data is    required to be imported.

    An example of doing No 2 is below:

    An example of the text file; assume that the text is longer than 244 characters (Stata's max. string length) The data can be created in a text editor eg. Stata's do editor and saved as with a .txt extension.

    "c:/file_try.txt"

    
    one:two:three:four
    one1:two1
    

    For this example assume that we require only the last 2 words in a new file (the words are delimited with a ":")

    An example of a Stata program that will create a new file with only the last 2 words of each line is:
    
    program ltype                                                         //(1)
       version 12.1
        
    	syntax , Current(string) New(string) P(string)                 //(2)
    	tempname fh hdl                                                //(3)
    	
    	    file open `fh' using `"`current'"', read                   //(4)
    	    file open `hdl' using `"`new'"', replace write text        //(5)
            file read `fh'  line                                           //(6)
              while r(eof)==0 {                                            //(7)
    			local kk=reverse("`line'")                                 //(8)
    				tokenize `kk',p("`p'")                             //(9)
    				local No1  "`=reverse("`1'")'"                     //(10)
    				local No3 "`=reverse("`3'")'"                      //(10)
                             
    				file write `hdl' %st10 ("`No1'") %st10 (":")  %st10 ("`No3'")  _newline  //(11)
    				file read `fh' line                                                      //(12)   
    						                }
                    file close _all                                                                          //(13)			    
    	
            end
    
    
    Going through the above:

    (1) program The start of the program starts with program and a name of the program: ltype. The program finishes with end.
    (2) syntax command, passes information to the program via local macros ie. current is the macro name containing the file name of the initial file (raw data). new is the name of the local macro that contains the file name for the information obtained by the program (last 2 words of line). p is the local macro name of the delimiter.
    (3) Creating tempory names
    (4) Opening the file with the initial information
    (5) Opening a file for the required data to be entered
    (6) Read the first line of the file and store this in the local macro line
    (7) While loop; continues until end of file is reached
    (8) Reverse the order of the contents of the line macro so the last word becomes the first
    (9) tokenize the line based on the parse character : ; break string into local macro's with names: 1,2 etc.
    (10) make the contents of the local macro's No1 and No3 the reverse of the last and 2nd last words (: is treated as a word)
    (11) writes macro contents to the new file separating then with ":"
    (12) read new line of file
    (13) closes both files


    Then the above program can be run with the following:
    
    type "c:/file_try.txt" 
    ltype ,current("c:/file_try.txt") new( "c:/file_try1.txt") p(":")
    type "c:/file_try1.txt"
    infile str10 a  using "c:/file_try1.txt", clear  //loading file into Stata
    list
    


    For help on specific commands type:
    help
    and then the specific command eg.
    help program
    help file
    help tempname
    help while
    help reverse()
    help tokenize
    help local
    help type




    Contact details
    Karl and Helen Keesman,
    Survey Design and Analysis Services Pty Ltd,
    PO Box 1206,
    Blackburn North, Victoria 3130
    Phone: 03 9878 7373
    Fax: 03 9878 2345
    Mob. 0431 839 546

    International:
    Phone: +61 3 9878 7373
    Fax: +61 3 9878 2345

    Email: sales@survey-design.com.au
    ABN 37 051 831 826

    If our office is not attended, please leave your message as well as your phone number or Email address on our answering machine. You can send an Email or fax at any time and we will attend to it as soon as we can.

    *********************************************************************************************
    Survey Design and Analysis Services Pty/Ltd

    Our company is:

    • The Australian & New Zealand distributors for StataCorp. Stata is an integrated suite of software for data management, statistical analysis and graphics, and is available for Windows, Macintosh, and UNIX computers. Stata is used by medical researchers, biostatisticians, epidemiologists, economists, sociologists, political scientists, geographers, psychologists, social scientists, and other research professionals needing to handle and analyse data.
    • The Australian & New Zealand distributors for Stat/Transfer (Circle Systems). Stat/Transfer handles the transfer of data between a wide range of data formats.

    ********************************************************************************************



    'Stata is a registered trademark of StataCorp LP, College Station, TX, USA, and the Stata logo is used with the permission of StataCorp.'