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
Change degrees of freedom after estimating an OLS regression with semDear Stata experts, I recently learned how to change the degrees of freedom in the regress command …
Using GEE for repeated cross sectional, nested dataI'm conducting an impact evaluation for a school level program and interested in evaluating if there…
Help using loop to replace values in several variables with conditionsHello, Can anyone suggest a way to use a loop to replace values in several variables with conditions…
Obtaining the Spatially Weighted Regressors Using spregressHi Everyone: I'm looking for a simple way to obtain the regressors W*X when using spregress, where …
Simple sum within the same variablehello, this may be a very simple question but is it possible to create a variable that simply sums c…
Subscribe to:
Post Comments (Atom)
0 Response to Endogenous covariate Linear regression
Post a Comment