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
removing 95%CI and renaming axis by intervalsHere is my code for prevalence vs month: logit mrsp i.month margins month, plot(ytitle(Prevalence) …
Understanding interactions using -clogit_I have a 1:4 matched dataset. One case (a brain tumor that responded to an experimental treatment) m…
Confidence intervals for the difference of two regression coefficient meansHi all, I am trying to calculate confidence intervals for the difference of two regression coeffici…
Need help with the postfile commandHello, I'm trying to use the postfile command but everytime i try to execute it it gives me a error…
ESTIMATE Workshop at Michigan State in early JuneHi All: I'm not sure about the proper protocol when advertising workshops on Statalist. I suspect s…
Subscribe to:
Post Comments (Atom)
0 Response to matrix var nov with zeros for base dummy level
Post a Comment