
104 Appendix A4 Using OxGauss
A4.6.2 BACC2001
Download BACC (for Bayesian Analysis, Computation, and Communica-
tion) from www.econ.umn.edu/~bacc/bacc2001/. The Gauss version is
baccWinGaussUse.zip; unzip this to a temporary folder.
Installation BACC is library based, and the files need to be copied to their correct
location:
• ox/oxgauss/lib
Copy libPCBACC.lcg to this folder.
• ox/oxgauss/src
Copy all .src files to ox/oxgauss/src/bacc.
• ox/oxgauss/dlib
Copy libBACC.dll to this folder.
Next, load libPCBACC.lcg in your editor, and change all instances of
c:\gauss\src\ to bacc/, for example:
bacc/initPCBACC.src
initPCBACC:proc
Running the program A test program is supplied in the test folder of the zip file.
Rename BACCTEST to BACCTEST.src, and run the file.
As it stands, the test program will bomb when trying to print the error message ‘k
less than or equal to 1.’
3
This happen in the first call to robust. Since the error message
would abort the program anyway, it is better to comment out this line, so that the test
program can run to completion.
A4.7 Known limitations
• printfm ignores the format argument.
• Character arrays cannot be transposed.
• Obsolete v89 data sets must be converted to v96; lib/dht2dat.ox can be used
for this. Obsolete v92 data sets are not supported.
• Dataloop commands are not supported.
• Complex numbers are not supported.
• Indexing error messages always use base zero.
• An argument cannot be called fn, because that is a reserved word. Change to
func (e.g.).
• The pgraph library has only been partially implemented.
3
It seems that error messages crash the DLL. If you wish to avoid this, recompile BACC
replacing fprintf(stderr, with printf( in error.c.
Komentarze do niniejszej Instrukcji