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
Mediation Analysis with Binary Outcome: Adding Survey WeightsI am using paramed in Stata 15.1 to do mediation with a continuous mediator and a binary outcome. I …
Create observations for neighboring statesHello, I have a dataset of firms investments in different states: e.g. Firm A invests $1million in …
Test for the difference between two point predictions obtained from separate regressionsDear colleagues, I would like to perform a statistical test of the difference between two point pre…
Omitted main independent problem in difference-in-differences approach.Hello, I am applying the 2013 shock dated difference-in-differences method for the model covering a …
Change a numerical variable with string input into label valueHey there, I have a variable called "ad_tone" that has three values, negative, positive, and attack.…
Subscribe to:
Post Comments (Atom)
0 Response to postestimation command "Adjust" after Logit model with categorical variables as control
Post a Comment