Dear all,
I have two questions on the Stata Matrix Size.
1. In general, if you set the matrix size = 11000, the Stata will perform using the size regardless of your actual needed matrix size (e.g. you actually only need matrix size 100 to run the regression). Therefore, it will take a much longer time for you to run a simple OLS regression if you set matsize 11000. Am I right on this?
2. If this is the case, is there anyway that Stata will automatically adjust its matrix size according to the need? Going back to the OLS example, if my OLS regression only needs Matrix size 100, but I do not know it and I set the matsize = 11000, is there any way that I will make Stata to adjust automatically according to the real need of the regression (i.e. matsize = 100)?
I am currently working on some regression that require hours for one iteration of the MLE and I figured out that the size of the matrix is one of the reasons. Therefore, I would like to reduce the matrix size to the min level to save MLE iteration, but I do not know the real matrix size needed.
Hope my question is not confusing. I look forward to hearing from you! Thank you very much in advance.
Best regards
Long
I have two questions on the Stata Matrix Size.
1. In general, if you set the matrix size = 11000, the Stata will perform using the size regardless of your actual needed matrix size (e.g. you actually only need matrix size 100 to run the regression). Therefore, it will take a much longer time for you to run a simple OLS regression if you set matsize 11000. Am I right on this?
2. If this is the case, is there anyway that Stata will automatically adjust its matrix size according to the need? Going back to the OLS example, if my OLS regression only needs Matrix size 100, but I do not know it and I set the matsize = 11000, is there any way that I will make Stata to adjust automatically according to the real need of the regression (i.e. matsize = 100)?
I am currently working on some regression that require hours for one iteration of the MLE and I figured out that the size of the matrix is one of the reasons. Therefore, I would like to reduce the matrix size to the min level to save MLE iteration, but I do not know the real matrix size needed.
Hope my question is not confusing. I look forward to hearing from you! Thank you very much in advance.
Best regards
Long
Comment