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?
Data query with odbc: from R to StataHi all! I just got access to a SQL Server, where there is a database storing a number of metrics, t…
Aggregating Data under serveral conditionsHej Statalist, I have a problem, as I want to aggregate my panel data under certrain conditions. I …
Why im I getting a positive result with log-linear regression and a negative with linear-linear?Hi! I'm working on a project where I want to see the effect off an aviation tax on total passangers…
Panel graph flightdataI'm using flightdata from origin to destination per year and quarter. I want to make a graph giving …
showing different confidence levels for IRF & positive versus negative shocks (VAR analysis)Hi all I have two basic questions for a VAR analysis: 1- I am estimating a var and plotting the orth…
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