Aptech Systems, Inc. Worldwide Headquarters
Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286
Ready to Get Started?
Request Quote & Product Information
Training & Events
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Q&A: Register and Login
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.
Join our community to see why our users are considered some of the most active and helpful in the industry!
Where to Buy
Recent Tagsapplications character vectors CML CMLMT Constrained Optimization datasets dlibrary dllcall error error codes error handling errors Excel file i/o floating network GAUSS Engine GAUSS Light graphics GUI hotkeys installation Java API license licensing linux loading data loops matrices matrix manipulation Maxlik MaxLikMT Memory multidimensional array optimization Optmum output PQG graphics procs RAM random numbers string functions strings structures threading writing data
Time Series 2.0 MT
Find out more now
Time Series MT 2.1
Find out more now
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.
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:
>> 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");