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
keep banks (id) with 3-consecutive years of observation or more in my panel dataGreetings statalist users, I need help with codes to eliminate the entire id (along with all its ob…
No constant in first difference regressionI am running a first difference regression. I have seen the nocons option included on several posts …
Resolving problem with day gaps in STATAI am a new STATA user and new to this forum. I am working with daily price data of the Australian do…
Extracting multiple years mentioned in a stringHi, I am trying to identify the date when a drug reached Phase III in the clinical trial process. M…
Identifying "Episodes"Hello All, I am doing a difference-in-difference analysis. I need to create an identifier, or a var…
Subscribe to:
Post Comments (Atom)
0 Response to postestimation command "Adjust" after Logit model with categorical variables as control
Post a Comment