Aptech Systems, Inc. Worldwide Headquarters
Mailing Address:
PO Box 250
Black Diamond, WA 98010 USAStreet Address:
30741 Third Avenue #160
Black Diamond, WA 98010 USAPhone: 360.886.7100
FAX: 360.886.8922Ready to Get Started?
For Pricing and Distribution
Industry Solutions
Products
Resources
Support
Training & Events
Want more guidance while learning about the full functionality of GAUSS and its capabilities? Get in touch for in-person training or browse additional references below.
Tutorials
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Get a real answer from a real person
- Need Support?
Q&A: Register and Login
Support Plans
Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.
User Forums
Join our community to see why our users are considered some of the most active and helpful in the industry!
Where to Buy
Available across the globe, you can have access to GAUSS no matter where you are.
Recent Tags
applications character vectors CMLMT covariance matrix dates dlibrary dllcall ECDF Editor error handling errors floating network GAUSS Engine Geometric mean graphics GUI hardware histogram hotkeys if statements installation Java API linux localization Matlab convert matlab translation matrices matrix initialization matrix manipulation Maxlik MaxLikMT Memory output pgraph graph PQG graphics RAM random numbers RedHat 6.1 simulation string functions strings threading threads loops Time Series writing dataRecent Questions
Features
Resources
What does return code 34 mean?
I am running GAUSS 12, and I was having trouble getting it to run the examples as I kept getting error messages about not finding some of the files in the default directory that GAUSS was looking in. I managed to get around that (I made copies of all example, lib, and src files in all three of those directories, so that they all have the same files) but now I am getting a message that it cannot load the data from the examples. The data files are there in the example directory.
I also can’t figure out how to actually open a dataset to view it — if I could open it in GAUSS then at least I would know that the file format isn’t the issue, or that it is something like with STATA where data from across versions may need to be converted up or down.
The example I am trying to run is maxlik1.
Warm regards,
Ian
2 Answers
In that maxlik example, return code 34 means that the datafile could not be found. It also prints a message to the error output window that states which file could not be opened.
To run the example files that load a dataset you need to change your working directory to the examples directory. The default location of this folder on windows is C:\gauss12\examples. You can change your working directory by either:
1. Entering:
>> chdir examples
from the command line.
2. Using the working directory toolbar widget at the top center of the main GAUSS window. You can press the button next to the dropdown menu to browse to any location on your computer.
This should be the only change you need to make to run maxlik1.e.
To your second question, you can load a GAUSS dataset with the ‘loadd’ command. In this example, the file that you want to load is called tobit.dat. You can load it into a matrix like this:
x = loadd("tobit.dat");
or if it is in a different directory, you can use the full path on the file name like this:
x = loadd("C:\\gauss12\\tobit.dat");

