Hello How I can replacement for the value of an observation where there is no data with a conditional
I want to replace the value of X1 with a 1 (it is binary) if X1=="" and X3=="" (i.e. both have no data) and x4>2
Related Posts with Conditionals
missing values when mergeHi, I have a dataset similar to the following table where I want to calculate the mean values of x1,…
Very different SEs with table vs mean when there are missing values and pweightsStata version: 17 I ran the new table command with the statistic(semean varlist) option. The result…
Headings for coefplot graph but want to exclude ref category for categorical variablesHi all, I am using coefplot to create a graph of ORs for odds of contraceptive discontinuation by me…
Metan - how to calculate 95% CI intervals transforming _ES and _seES?Dear David Fisher and metan community, I have seen a question, ask a while ago by Jawdat Abdulla on…
Long categories labels in graph hbarDear Stata users, I encounter this question when I graph hbar. Value labels of my category variable…
Subscribe to:
Post Comments (Atom)
0 Response to Conditionals
Post a Comment