Hi, I have a question about using adjust after running Logit model with categorical variables as controls. For example, k, m and n are all categorical variables, with 4, 2, 3 categories for each separately. I have a model as:
.logit y i.k m#n X
I need to predict the probability at means of all the categorical variables, by(X), so I used "adjust" post estimation command. However, I got the error "operator invalid", which I know means I shouldn't have used factor variables and interactions in the logit model.
But how shall I get around this problem? Please advise.
Many thanks!
Related Posts with postestimation command "Adjust" after Logit model with categorical variables as control
How to perform a kmeans cluster analysis on variables and not on individualsDear Members, I wish to perform a kmeans factor analysis on the database I briefly described here: …
How to use Loocv?I am studying econometrics for a PhD and am more familiar with STATA, so I am currently using that f…
Scatter plot with linear fit of two-period independent variable and one dependent variable. Dear All, I've data on y for period 1 and data on x for periods 4 and 5. I want to graphically dep…
Fama MacBeth Regression with missing explanatory variablesI am trying to run a Fama-MacBeth regression with multiple independent variables. The dependent vari…
PVARSOC error(2001)I work on a PVAR model covering 8 countries with 88 observations. I using stata 15. I'm trying to de…
Subscribe to:
Post Comments (Atom)
0 Response to postestimation command "Adjust" after Logit model with categorical variables as control
Post a Comment