Contents
Table
of Contents Book
Order Form
Table of Contents
Preface
1. Ox Environment
1.1 Installing Ox 1.2 Ox
version 1.3 Help and documentation 1.4 Running an Ox
program 1.5 Redirecting output 1.6 Using GiveWin and
OxRun 1.7 Using the OxEdit editor 1.8 Graphics 1.9
Compilation and run-time errors 1.10 Have you programmed
before?
2. Syntax
2.1 Introduction 2.2
Comment 2.3 Program layout 2.4 Statements 2.5
Identifiers 2.6 Style 2.7 Matrix constants 2.8 Creating a
matrix 2.9 Using functions
3. Operators
3.1
Introduction 3.2 Index operators 3.3 Matrix Operators 3.4
Dot operators 3.5 Relational and equality operators 3.6
Logical operators 3.7 Assignment operators 3.8 Conditional
operators 3.9 And more operaotrs 3.10 Operator
precedence
4. Input and Output
4.1
Introduction 4.2 Using paths in Ox 4.3 Using OxMetrics or
Excel 4.4 Matrix file (.mat) 4.5 Spreadsheet files 4.6
OxMetrics/PcGive data file (.IN7/.BN7) 4.7 What about variable
names ? 4.8 Finding that file
5. Program Flow and
Program Design
5.1 Intervention 5.2 for loops 5.3
while loops 5.4 break and continue 5.5 Conditional
statements 5.6 Vectorization 5.7 Functions as arguments 5.8
Imporing code 5.9 Global variables 5.10 Program
organisation 5.11 Style and Hungarian notation
6.
Graphics
6.1 Introduction 6.2 Graphics output 6.3
Running programs with graphics 6.4 Example
7.
String, Arrays and Print
Formats 7.1 Introduction 7.2
String operators 7.3 The sprint function 7.4 Escape
sequence 7.5 Print formats 7.6 Arrays 7.7 Missing
values 7.8 Infinity
8. Object-Oriented
Programming
8.1 Introduction 8.2 Using object oriented
code 8.3 Writing object-oriented code 8.4
Inheritance
9. Summary
9.1 Style 9.2
Functions 9.3 Efficient programming 9.4 Computaional
speed 9.5 Noteworthy
10. Using Ox Classes
10.1 Introduction 10.2
Regression example 10.3 Simulation example 10.4 MySimula
class 10.5 Conclusion
11. Example: probit
estimation
11.1 Introduction 11.2 The probit
model 11.3 Step 1: estimation 11.4 Step 2: Analytical
scores 11.5 Step 3: removing global variables: the database
class 11.6 Step 4: independence from the model
specification 11.7 Step 5: using the modelbase class 11.8 A
Monte Carlo experiment 11.9 Conclusion
A1 debug
session
A2 Installation Issues
A.2.1 Update the environment A.2.2 Using the OxEdit
editor
References
Subject Index
|