I want to extract submatrices of the coefficient vector and the var/cov matrix which are returned following a probit estimation in which I have factor and interaction variables. The matrices e(b) and e(V) contain all results, including those relating to the base variables, which are all zero, of course. I want a vector and a matrix which contain only the coefficients which appear in the output table, ie those with column and row names which do not contain "*b." Is there an easy way to do this without having to explicitly name every row/column which I want to keep?
Related Posts with Extraction of submatrix containing probit estimates
Idiosyncratic Volatility - Rolling WindowHello everyone! I am trying to compute idiosyncratic volatility on a rolling basis of 24 months wit…
no observations error event studyDear Stata community, I'm trying to run a loop to generate the normal returns for my event study, h…
Logic for using matched sample versus unmatched sampleHi all, I am stuck on a problem of when to use a matched versus unmatched sample. I have a list of …
cross classified multilevel structureDear Stata Forum, I am using mixed estimating a cross-classified multilevel model with three levels…
GMM estimation inside a do loop with foreachDear Friends, I am trying to use GMM to estimate a model that is nonlinear in its parameters. The …
Subscribe to:
Post Comments (Atom)
0 Response to Extraction of submatrix containing probit estimates
Post a Comment