Hi everyone,
I'm working with a dataset that has hundreds of variables, numeric as well as strings. Missing values are indicated in different ways in the data set (., .n, .r for numeric variables). I want to homogenize the missing values (i.e. replace with . for numeric variables). See a microcosm of the data appended. Looping doesn't work as some variables are strings and others are numeric. Is there a way around this?Array
Related Posts with How do I replace a certain value across a dataset that has string as well as numeric variables?
[putdocx] problem about tostring with comma, table fontHello. I am making some report using -putdocx- command. My data is like following result table. C…
CrosstabulationsHi- Why does the sample size need to be larger if the table is bigger than a 2x2 for cross tabulatio…
How to get the standard errors for marginal effects that is calculated based on estimated coefficients and a spatial matrix?I am calculated the long-run and short-run marginal effects of a variable in a spatial dynamic panel…
Difference in Difference estimate with staggered coverage and increasing treatment intensityHi I am new to the Stata forum so apologies if this question has been asked before. I have panel da…
Combining texp(ln(_t))* and texp(_t >=* *) for time dependent variables on Survival Analysis!!Hello! my dear STATA users! I have run a cox regression model dealing with time-varying covariates…
Subscribe to:
Post Comments (Atom)
0 Response to How do I replace a certain value across a dataset that has string as well as numeric variables?
Post a Comment