Hello,
I have a single equation, where lwage is the dependent variable, there are 15 independent variables and one of them (educ) is an endogenous varaibles. A exogenous variable, nearc4, is used as the instrumental variable. I use the following procedure in SAS and get the error message.
Here is the results.
Can you help me out from the problem? I apply the same data set to STATA, and I can get the result without problems.
Thank You.
What is NEARC4? Where would SAS find it?
Is it a variable in your input data set, or something computed? Obviously, it is neither, and so SAS doesn't know how to use NEARC4.
The WARNING message seems clear to me.
WARNING: The variable nearc4 is not defined in the program
What is NEARC4? Where would SAS find it?
Is it a variable in your input data set, or something computed? Obviously, it is neither, and so SAS doesn't know how to use NEARC4.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.