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 13?

    Longer strings, even BLOBs (Binary Large OBjects) Treatment-effect estimators Generalized SEM

    • The maximum length of string variables increases from 244 to 2 billion characters.
    And More: Click here
    Treatment-effect estimators measure the causal effect of treatment on an outcome in observational data.
    • Multilevel & multivalued treatments
    • Average treatment effects (ATEs)
    • ATEs on the treated (ATETs)
    • Potential-outcome means (POMs)
    • Continuous, binary, and count outcomes
    And More: Click here
    Youtube - Click here
    Generalized linear responses:
    • Continuous -- linear, log-gamma
    • Binary -- probit, logit, complementary log-log
    • Count -- Poisson, negative binomial
    • Categorical -- multinomial logit
    • Ordered -- ordered logit, ordered probit
    Multilevel/hierarchical data
    • Nested: 2 levels, 3 levels, more levels
    • Crossed
    • Latent variables at different levels
    • Random intercepts
    • Random slopes (paths)
    • Mixed models
    And More: Click here
    Youtube-Click here
    Youtube-Click here
    New time series features - Forcast Power and sample size

    The new -forecast- command lets you combine results from multiple Stata estimation commands and/or other sources to produce dynamic or static forecasts and forecast intervals.
    • Time-series and panel datasets
    • Multiple estimation results
      . VARs, VECs, ARIMAs, ARCHs, 3SLS, more
      . estimated with Stata or
      . obtained from outside sources
      . one equation or thousands
    • Identities
    • Add factors and other adjustments
    • Dynamic or static (one ahead) forecasts
    And More: Click here
    Youtube - Click here



      Stata    

    Solve for:
    New and extended random-effects panel-data estimators Effects sizes More

    • New and extended random-effects panel-data estimators
    • New estimators
         Random-effects ordered probit
         Random-effects ordered logit
    And More: Click here

    • Comparison of means
      . Cohen's d
      . Hedges's g
      . Glass's Delta
      . Point/biserial correlation
      . Estimated from data or published summary statistics
    And More: Click here

    • More multilevel mixed-effects models
    • Project Manager
    • Java plugins

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



    Stata/MP
    Stata/MP 13 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 13.
    Stat/Transfer 12
    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 12.

    Recent  Releases


    Statistics with Stata: Version 12, Eighth Edition 
    Lawrence C. Hamilton
    Price: $88 + Postage*
    More details Details
    (In stock)










    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 14 Issue 1 (latest issue) go here
    Stata News
    Stata News is a quarterly publication 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

    Combinations of variables

    From time to time I'm asked how to write a program that used all combination of a subset of variables in an estimation command.

    There are many ways to approach this. This is one way.

    This approach:

    (1) Produces all combination in numbers
    (2) Using value labels to attached the variabl name
    (3) Decode to produce a variable in the dataset


    I have used this approach because of the limited storage in macros.

    program combin
    syntax  , NUMTot(integer)  NUMPick(integer)
    
    tempvar cat bbb q con con1
    tempfile temf temf1
    
    quiet {
    
    save temf, replace  //save the dataset currently in Stata
    
    labels1 `numtot' //program
    
    clear
    numlist  "1/`numtot'"
    set obs `numtot'
    
    foreach i of numlist `=r(numlist)'  {
      egen  a`i'=fill( 1/`numtot' )
    }
    
    //all permutations of the data
    fillin a1-a`numtot' 
    
    egen `cat'=concat(a*), p(" ")
    
    gen `bbb'=""
    gen `q'=.
    
    // all combinations of the data
    forvalues i=1/`=_N' {
    	local b=`cat'[`i']
    	
    	replace `bbb'="`: list sort b'" in `i'
    	
    	local  q1 : list uniq b
    	replace `q'=`:list sizeof q1' in `i'
    }
    	
    //keep only the number of variables (items) required
    local z=1
    foreach i of varlist * {
      if `z'>`numpick' {
       drop `i' 
      }
       local ++z
    }
    
    egen `con'=concat(*) ,  punct(" ")
    generate `con1'="."
    
    forvalues i=1/`=_N'{
      local a "`=`con'[`i']'"
    
      local aa :list dups a
      replace `con1'= "`aa'" in `i'
    
      local aaa :list sort a
      replace `con'= "`aaa'" in `i'
    }
    
    drop if !missing(`con1')
    duplicates drop `con', force
    
    labels2  //program 
    
    save temf1, replace
    merge 1:1 _n using temf, nogen
    
    } //quiet
    end
    


    //store labels in do file
    program labels1
      args max_vars
      describe, replace
      keep name
      keep in 1/`max_vars'
      encode name, gen(name1)
      label save name1 using filename , replace
    end
    


    //attaching value labels and decoding etc.
    program labels2
      do filename
      label value  a* name1
    foreach i of varlist a* {
     decode `i', gen(z`i')
    }
      egen levels=concat(z*), punct(" ")
      keep levels
    end
    


    input
    numtot(#): this is the number of variables from which the "numpick" are taken out. The order of
    the variables is important as mumtot start at the first variable in the current order

    numpick(#): the number of variables out of numtot() you select

    sysuse auto, clear
    order make, last
    combin, numtot(6) numpick(2)
    
    forvalues i = 1/6 {
    di "`i'"
      regress  turn `=levels[`i']'
    estimates store a`i'
    }
    
    estimates table a* , stats(r2)
    
    exit
    


    **The resulting variable that contains the combinations:
         +-----------------+
         |          levels |
         |-----------------|
      1. |    headroom mpg |
      2. |  headroom price |
      3. |  headroom rep78 |
      4. |  headroom trunk |
      5. | headroom weight |
      6. |       mpg price |
      7. |       mpg rep78 |
      8. |       mpg trunk |
      9. |      mpg weight |
     10. |     price rep78 |
     11. |     price trunk |
     12. |    price weight |
     13. |     rep78 trunk |
     14. |    rep78 weight |
     15. |    trunk weight |
     16. |                 |
    


    For further help:
    help program
    help macro
    help egen



    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.'