Dear friends from the State community :
I estimated a model with dummy variables but when I take a look at the variance covariance matrix it has columns/rows with only zero values, corresponding to the baseline of the dummy variables. Hence the matrix is non-invertible.
For the sake of simplicity, let's consider a simple regression "reg y x i.gov" , with "gov" a dummy variable taking the values 1, 2 and 3. Of course the regression output doesn't include the first level of that dummy variable BUT when I see the VarCov matrix there is one column and one row for this base level (zeros), hence it is not invertible. The same happens if I consider a dummy variable taking values 0 and 1. I attach the regression output and the matrix. Can anyone lend me a hand? Many thanks..
Array
Related Posts with matrix var nov with zeros for base dummy level
Return do.filesHi. I have accidentally closed do.file without saving the changes. Is there anyway to return unsaved…
ivreg/ ivprobitThe impact of child health on the school enrollment so child's health is endogenous and the author …
Which analysis pre/post analysisDear experts, For my thesis I have to do an analysis in Stata but unfortunately do I have problems …
very slow to plot under linux (ubuntu 16.04 and 19.10) but fine under manjaro (arch-based)For those who have tried to run Stata in Linux, probably already encountered some issues related to …
using putdocx with contrastUsing Stat 15. I enjoy the -putdocx- command but would like to use it to simplify making documents …
Subscribe to:
Post Comments (Atom)
0 Response to matrix var nov with zeros for base dummy level
Post a Comment