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
Code works on its own but not in a for loopI'm trying to do some data scraping from a bunch of related websites (they are different NFL team ro…
AIC and BIC what is a low value ?A reviewer of my paper ask me the following question . The paper is about a model to predict complic…
quadratic growth model in gsem: estimation problemsI am trying to estimate a quadratic growth model using gsem, and am encountering convergence difficu…
Creating a new variable comparing two othersHi, I've information about ID's current and previous city of residence. I want to create a new varia…
String into numerical but didn't work. destring ANOPRIDI, generate (date_dx) ANOPRIDI: contains nonnumeric characters; no generate . d A…
Subscribe to:
Post Comments (Atom)
0 Response to postestimation command "Adjust" after Logit model with categorical variables as control
Post a Comment