Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: mat size


From   "irodriguez" <[email protected]>
To   [email protected]
Subject   st: mat size
Date   Wed, 01 Nov 2006 09:32:34 -0300

Dear list-members,
 
I am trying to run a OLS regression with panel data (8240 observations)  
The explaining variable have 1203 categories

I estimate the following model:
    set mem 50m
    set matsize 800
    xi: reg perform i.codempr
but the outcome is:

i.codempr         _Icodempr_1-1203    (naturally coded; _Icodempr_1 omitted)
matsize too small
    You have attempted to create a matrix with more than 800 rows or columns 
or to fit a model with more than 800
    variables plus ancillary parameters.  You need to increase matsize using 
the set matsize command; see help matsize.
r(908);

An answer would be very helpful.
 
Thank you,

Ines


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index