I am working with data containing observations for patients undergoing a surgical procedure that is commonly (but not always) performed by access in both femoral/groin arteries. These arteries may be accessed via an open surgical incision or via a minimally-invasive percutaneous approach. My dataset has a variable for the manner in which each side was or was not accessed (e.g. 0 == not accessed, 1 == open surgical, 2 == minimally-invasive). In order to examine these access sites and their methods of access, I wish to generate duplicates for those patients who had both sides accessed, with each copy containing the entry for one access side and the other blanked.
Related Posts with Generating duplicate observations with one variable changed
 Average marginal effects of continuous variables by levels of a dichotomous variableHi,
I run this four-way interaction model in Stata 14:
xtreg Y c.X1##c.X2##c.X3##X4 Controls i.cou… Average marginal effects of continuous variables by levels of a dichotomous variableHi,
I run this four-way interaction model in Stata 14:
xtreg Y c.X1##c.X2##c.X3##X4 Controls i.cou…
 Downloading data from Public API from json format to csv file or txt file so that I can read data in stata on macOSI have to download the following data from Business Dynamics Statistics ( which is public data provi… Downloading data from Public API from json format to csv file or txt file so that I can read data in stata on macOSI have to download the following data from Business Dynamics Statistics ( which is public data provi…
 Meta-analysis help: how to convert hazard ratio to risk ratioI am working on a meta-analysis using Stata. All the primary studies report risk ratio except one st… Meta-analysis help: how to convert hazard ratio to risk ratioI am working on a meta-analysis using Stata. All the primary studies report risk ratio except one st…
 kappaetc / Krippendorff's alpha with missing values and across multiple variablesMy research team coded/classified a large set of documents. I took a random subset of 1000 from the … kappaetc / Krippendorff's alpha with missing values and across multiple variablesMy research team coded/classified a large set of documents. I took a random subset of 1000 from the …
 general time trendHi, we have a problem incorporating a general time trend in our panel data with year fixed and count… general time trendHi, we have a problem incorporating a general time trend in our panel data with year fixed and count…
Subscribe to:
Post Comments (Atom)
0 Response to Generating duplicate observations with one variable changed
Post a Comment