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
Export xtsum and tabstat into Microsoft WordHi everybody! I am trying to export two tables (xtsum and tabstat) into Word, but I have not succee…
Twoway graph generates vertical lines at min/max values of predictorDear Statalist, Why does my twoway graph generate vertical lines at the minimum and maximum values …
What tests to perform on a Panel Data set?Hello, I have a panel data set of 4500 firms for the years 2000 - 2017 (around 42,000 firm-year obs…
IV estimationI have a dummy dependent variable and one instrument. How do I operate IV estimation? What tests are…
Logit: illustrating interaction effectsDear Statalist, I am using Stata 14.2 with Windows 10. I have a logit model on partner acquisition …
Subscribe to:
Post Comments (Atom)
0 Response to matrix var nov with zeros for base dummy level
Post a Comment