The problem:
To use putexcel in Stata to export the table outputs from the Stata kr20 userwritten command. The averages from the table are saved in...
Announcement
Collapse
No announcement yet.
23 results in 0.0059 seconds.
mata
x
You can also choose from the popular tags.

DrGwin Nyakuengama started a topic Using putexcel in Stata to export outputs from the Stata kr20 userwritten command  matain MataUsing putexcel in Stata to export outputs from the Stata kr20 userwritten command  mata
 2 posts

Foreach in mata
Dear All,
just a quick question. Is it possible to use foreach within a mata function?
Suppose I have something lke:
...
 2 posts

Missing values, but no gaps in the data
Dear All,
I have the following data:
Code:* Example generated by dataex. To install: ssc install dataex clear
 4 posts

Bug in Mata's st_view() function with timeseries operators?
I experienced an unexpected behavior of Mata's st_view() function. In the following, I want to obtain the first three observations of the variables w...
 3 posts

Solvenl  Optimize for 2 unknown variables (in Mata)
Hi all,
i try to solve the BlackScholesMerton formula for two unknwons: Asset Value & Asset Volatility.
My basic code is from...
 1 post

Implementing BFGS optimisation using stata / mata
How to implement an BFGS optimisation in stata using mata for an equivalent R based optim function ?
The below is the equivalent R...
 2 posts

Mata error when running stcrprep
Hello Statalist
I get an error when trying to run the command stcrprep. I attached the logfile with the trace set on. The initial stset...Last edited by Andreas Jensen; 06 Jul 2018, 01:42.
 2 posts

Ordering regression results based on estimated coefficients
I'm trying to order fixedeffects regression results from the smallest estimated coefficient to the greatest. For example:
Code:sysuse auto, clear
 5 posts

ivreg2 Error "Mata run time error"
Dear all,
I’m encountering some troubles with the ivreg2 command / package.
To be more precise, I’m facing the error message...Last edited by Andreas Denzer; 03 Sep 2017, 07:16.
 1 post

Inverse distance spatial matrix using Stata
Dear All,
I am using Stata 15 to carry out my spatial analysis. I generate an inverse distance function using spmatrix idistance.
...Last edited by Dario Maimone Ansaldo Patti; 19 Jun 2017, 15:34.
 8 posts

regexs() in MATA
Dear all,
I was wondering whether the issue of regexs() in MATA mentioned here has already been solved. In my case the problem is the following....
 5 posts

How to create a 9*9 matrix using variables in Stata?
Hi, there
I have sorted about 10000 firms into 4 benchmarks, and I cut each benchmark into 3 groups according to the 33% percentile, then I cut...Last edited by Kaiyi Liu; 03 Feb 2017, 11:25.
 3 posts

Evaluating linear expressions for tests of coefficients
I am writing an .ado file to calculate tests of coefficients similar to test. I cannot use the code of test or lrtest directly because the test...
 3 posts

Pablo Cristi started a topic Choosing the minimum from several scalars (Information criteria for model with forvalues)in GeneralChoosing the minimum from several scalars (Information criteria for model with forvalues)
Hello.
How can I choose the min value between several scalars?
I'm trying to select the best model based on the information criteria. For...
 5 posts

writing ado file with panel data estimator
Hi! Does anybody have an example of how to write an ado file with an estimator for panel data? (for example a fixedeffects estimator) I am new to writing...
 2 posts