Hello am new to stata, the task that am trying to achieve is to replace a numeric value with a string, but it keeps on saying type mismatch. However the type of the variable is str8.
I want to replace AB which is 1 with a string value. Am using "replace AB="my string" if "var"="value"
Related Posts with Replace command
multicollinearity problemplease guide me, what should i do with a variable, which is having problem of multicollinearity? i d…
Interaction Variable in 2SLS regressionGood morning to the community, I would like to ask an econometric question on my dataset which is s…
Interpretation of marginsGiven a regression model, I understand that Code: margins, dydx(var1) gives us the average marginal…
fractional response with -glm- and -xtgee- vs. count model and -xtpoisson, fe?Dear Statalist members, I am analysing a balanced panel with about 2400 firms for 12 years (Stata 1…
Back log transformation with bias - FMM - GLM Poisson log linkDear all, I am running a FMM using a GLM with poisson and log link. My dependent variable is log tr…
Subscribe to:
Post Comments (Atom)
0 Response to Replace command
Post a Comment