Hello everyone
I am trying to estimate a linear model with an endogenous covariate by following the procedure: statsistics / endogenous covariate / models adding selection and treatment / linear regression on STATA15. See : https://www.youtube.com/watch?v=bPhNq6RYd-I
My dependent variable of the main equation is continuous, and my endogenous covariate is ordered.
When I run the procedure, I have an error message r (430): Could not calculate initial values; tray specifying from ( ).
When, I estimate the main equation without correction of the endogeneity to obtain the initial coefficients to integrate in the option "from ( )", I have another error message r (503): initial vector: matrix must be dimension 28. I can not find any references to that.
Please, I need help to solve this problem. If anyone knows how to make this procedure, I will be very grateful.
Best Regards.
Fateh.
Related Posts with Endogenous covariate Linear regression
Seeking ideas for graphical representation of binary outcome dataHello all, I have a dataset (n=301) that describes the incidence of hypothermia (binary outcome) by …
Including confidence intervals in estimate plotsI have a dataset in which per country, the estimates of coefficients are given as well as their t sc…
STATA stuck computing matchit resultsI am attempting to match two datasets, one of which is about 70 000 observations and the other maybe…
Why set maxvar is ignored?When I set maxvar and STATA return as below, can I ask why and the solution? Code: set matsize 110…
How to cluster nothing in a code?I have a code that is Code: did2s depvar [if] [in] [weight], first_stage(varlist) second_stage(var…
Subscribe to:
Post Comments (Atom)
0 Response to Endogenous covariate Linear regression
Post a Comment