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 do i create a linegraph by summarizing monthly data into yearly means with min/max resultsSorry im still very new too stata and need some help on a research paper proposal. I've been given …
Dynamic ordered probit modelHi everyone, Currently, I am working on the estimation of health depreciation rate following Yogo (…
Using Tabout with Categorical and Metric VariablesDear all, I am sorry if this question has been asked before but I ran into a dead-end with a projec…
Choosing the 7-day-value per countryHi everyone, I'm working with a dataset that shows me the number of infected people with Covid-19 p…
Generating count variable for observations per yearI have the following (simplified) dataset Person_ID Fiscal_Year 101 2015 101 2015 101 2016…
Subscribe to:
Post Comments (Atom)
0 Response to postestimation command "Adjust" after Logit model with categorical variables as control
Post a Comment