UCLA Academic Technology Services HomeServicesClassesContactJobs
Search

How to Enter A Large Data Set in LimDep for Windows

Within a session of LimDep, LimDep uses a fixed amount of memory. If you need to increase the memory that  LimDep uses within a session, you are going to lose all the data inside the memory. Therefore, it is a good practice to carefully set up enough memory before inputting data and doing analyses. LimDep for Windows is set up with a default data area with 200,000 cells. This means that if a data file has 100 variables, then it can only have at most 2000 observations, not to say we may have to create new variables later, which means we need more cells. One way of allocating more memory for LimDep is through option Options in pull-down menu Tools

Let's say we have a data file with 20 variables and 50000 observations. We need at least 20*50000=1,000,000 cells. Let's say we also want to create a few new variables. For each variable we create, we need 50000 cells. So if we need to create 10 more variables, we need 1,500,000 cells in total. Here is what we have to do to set up the memory for Limdep.

By now, LimDep is going to allocate enough memory up to 1,500,000 cells every time it starts.

If for some reason you failed to input your data file, you can check the  trace file to debug the problem. For example, we have a Stata data file with 100 variables and 20,000 observations. We converted it into LimDep for Windows using Stat/Transfer. When we tried to open the converted file in the default setting of LimDep, LimDep gave us an error message. It also suggested us to look at the trace file in the output window. The trace file (shown below) tells us the number of cells that this file has been set up to. We can accordingly allocate memory for Limdep and reenter our data file again.  

--> LOAD;file="E:\limdep\data\large.lpj"$
+===========================================================+
|The data area settings embedded in this project file are   |
|larger than the settings currently in place for running    |
|LIMDEP/NLOGIT. Your current setting is   200000 cells. The |
|project you are reading has a setting of  2200000 cells.   |
|This is a system setting that you must adjust before it is |
|possible to continue.  To do so, do the following steps:   |
|The Tools dialog box is in the desktop menu at the top     |
|left of your screen. It is the third to rightmost item.    |
|1. Go to Tools:Options/Projects tab and change the default |
|   memory allocation from   200000 to  2200000 or higher.  |
|2. Exit LIMDEP again, so that it can install the new       |
|   system setting for the data area                        |
|3. Restart LIMDEP. You can now reload this project file.   |
+===========================================================+

How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California