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
label problem pie chartHello, I am creating pie charts over a number of identifiers. Please see below for screenshot. The…
Reshape wide -- categories as variables Code: +---------------------------------------------------------------------------------------…
Convergence not achieved (error 430) Dear STATALIST, I am estimating an endogenous switching regression model using the 'movestay' com…
Generate X(t) = 0.7X(t-1) + epHow to generate a series X(t) = 0.7*X(t-1) + ep where X(0) = 10 , ep is normal(0,1) and t = 1, 2, ..…
rologit predict stdpHello, I am performing an rank-ordered logit analysis using the rologit Stata command. In post-esti…
Subscribe to:
Post Comments (Atom)
0 Response to matrix var nov with zeros for base dummy level
Post a Comment