Are endogenous variables stochastic or non-stochastic? If they are stochastic,can we say they are uncorrelated or correlated with the error term?
I read this in Basic Econometrics by Gujarati (5th edition) page 594, section 16.3, "It is assumed that the explanatory variables are non-stochastic. If they are stochastic, they are uncorrelated with the error term. Sometimes it is assumed that the explanatory variables are strictly exogenous. A variable is said to be strictly exogenous if it does not depend on current, past, and future values of the error term u."
I know the explanatory variables are considered stochastic if they are random. The regressors will be random if they are correlated with the error term and non-random if otherwise. The book clearly contradicts the statement I just made. Can someone clarify this and make clear whether endogenous variables are stochastic and how they relate with the error term?