Dear Statalist,
I am facing problem in decoding string variable. For example, the following command has been called to recode.
recode Var=1 if var1== 1-2.
because my variable is in string format which is attached here. When I tried using the above said command i have got a "type mismatch" error. So kindly can anyone help me to solve the problem.
Array
Related Posts with having problem in recoding
Histogram with bin freq and % on yaxisDear Statalist, I want to generate Histogram Stata with percent option and want counts/freq of bins…
GARCH modelDear all, i am facing issue in running GARCH (1,1)Model. iterations are repeated but show as (NOT CO…
Events in IntervalsHi, I am attempting to count admissions that have occurred for an ID variable (IDV) that occur (ADat…
Keeping subset of data using date variablePlease advise how I can keep a subset of data using "date variable": i.e. keeping data from 27 Feb 2…
How can I change by default stsetHello, I am working on neonatal mortality. So my time points are 0 day- 28 days 0 day is for those…
Subscribe to:
Post Comments (Atom)
0 Response to having problem in recoding
Post a Comment