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
Collapsing time variableHello all, I am quite new to stata and I need help with a simple question (I think), that I just ca…
Problem when running loops with forvalues command: error message: `i' invalid nameDear Statalist, I got a problem with running a loop. I give you my whole code, so you can see how v…
Estimating adjusted medians and 95% CI using quantile regressionDear StataList: I am wishing to estimate age-adjusted median concentrations and 95% CIs of a labora…
Merge m:1 using participant ID in matched case-control data - error messagesHi, I have a matched case control dataset with 3 controls to every case. I have data that I want to…
Renaming group of variables as varHello, Can anyone advise how to rename a group as variables as simply var1 var2 var3 etc. Currentl…
Subscribe to:
Post Comments (Atom)
0 Response to Extraction of submatrix containing probit estimates
Post a Comment