Home / Course catalog / Genstat: Command language (Genstat_04)

Short Unsupervised

Genstat: Command language (Genstat_04)

Genstat is a statistical system with a comprehensive system of menus providing all the standard (and many non-standard) analyses. At first sight, it looks like a standard Windows application. However, if you look more closely, you will find that the menus are defining the analyses by writing scripts in Genstat’s command language. These scripts are saved in Genstat’s Input log to give you a full and complete audit trail. More importantly, though, you can write your own scripts to do something new or non-standard, or even just to save time or automate repetitive tasks.

Once you start to write your own programs, you may want to keep them to use again in the future. The most convenient way of doing this is to form them into procedures. The use of a Genstat procedure looks exactly the same as the use of one of the standard Genstat directives. You can thus extend and customize Genstat for your own special requirements.

So by learning the command language, you can unlock the full power of Genstat, improve your productivity, and extend the scope of your analyses.

Instructor: Roger Payne (Chief Science and technology office-VSNi)

Roger Payne leads the development of Genstat at VSN, now working part-time after 15 years in the full-time role of VSN's Chief Science and Technology Officer. He has a degree in Mathematics and a Ph.D. in Mathematical Statistics from University of Cambridge, and is a Chartered Statistician of the Royal Statistical Society. Prior to joining VSN, Roger was a statistical consultant and researcher at Rothamsted, becoming their expert on design and analysis of experiments, as well as the leader of their statistical computing activities. He originally took over the leadership of Genstat development there in 1985 when John Nelder retired. His other statistical interests include generalized and hierarchical generalized linear models, linear mixed models, the study of efficient identification methods (with applications in particular to the identification of yeasts). Roger's statistical research has resulted in 9 books with commercial publishers, as well as over 100 scientific papers.

  • Overview
  • Getting started
  • Practical 0
  • Introduction
  • Practical 1
  • Data structure and useful commands
  • Practical 2
  • Pointers and unnamed structures
  • Syntax of commands
  • Practical 3
  • Substitution of values and definition of comments
  • Practical 4
  • Repetition, progressions and lists
  • Practical 5
  • Abreviation rules and omitting keywords
  • Practical 6
  • Model formulae
  • Commands for input and output
  • Practical 7
  • Calculations and manipulation Part 1
  • Calculations and manipulation Part 2
  • Practical 8
  • Other useful commands
  • Practical 9
  • Repeating a sequence of commands
  • Practical 10
  • Control structures
  • Practical 11
  • Procedures
  • Practical 12
  • Options and parameters
  • Practical 13
  • Practical 14
  • String tokens
  • Practical 15
  • Commands for output
  • Procedure libraries
  • Further information
Completion rules
  • All units must be completed
  • Leads to a certification with a duration: Forever