Announcement
Collapse
No announcement yet.
73 results in 0.0069 seconds.
label
x
You can also choose from the popular tags.

Mark Hawes started a topic recode two continuous variables into one categorical(3 categories) variablein Generalrecode two continuous variables into one categorical(3 categories) variable
I am new to Stata and I am trying to recode two continuous variables into one categorical(3 categories) variable. I pasted data from dataex below. The...
 5 posts

esttab, eststo and appendmodels
Dear all, I am tabulating different dependent variables in consecutive rows (not consecutive columns as it is the default for esttab) and I'm keeping...
 3 posts

Changing Type of Local Variables
I have an imported dataset where I need to rename all of the variables and want to use the imported label as a part of the new name of the variables....
 4 posts

data with both ICD9 and ICD10  please help
Hi,
I have a PHC4 dataset that has both ICD9 and 10 codes merged in the same variables (for example admitting diagnosis, billing diagnoses)....
 3 posts

Rounding, multiple decimals off and Locals
I have been trying to get the round function to feed some locals that I use to create graphs labels, however, rounding has proven particularly challenging,...
 4 posts

Alder Contreras started a topic How to display all posible labels in a tabstat setting even when there are no values for some categories?in GeneralHow to display all posible labels in a tabstat setting even when there are no values for some categories?
Hello,
I'm trying to export some summary information from stata to excel using tabstat and putexcel and I need to subdivide the information...Last edited by Alder Contreras; 22 Sep 2018, 23:17.
 5 posts

Labeling variables with a for loop
I have a bunch of serially placed variables: Q49_1_aQ49_104_h. I am trying to label them such that the labels become something like the following:...Last edited by Taz Raihan; 21 Sep 2018, 13:49.
 3 posts

Diana Rossi started a topic Select/Tag observations in panel data if in year "x" the variable "y" took value 1.in GeneralSelect/Tag observations in panel data if in year "x" the variable "y" took value 1.
Dear Stata experts,
My question is very simple: I'd like to select only a subset of respondents in my panel data on the basis that they all...
 4 posts

Help with xaxis labels on graph bar
I'm trying to make a stacked bar graph where the xaxis labels are months. This works great:
graph bar num_trades , over(participant_type)...
 1 post

Escape $ in handling variable labels?
Hi all,
I'm trying to automatically replace a substring in a bunch of variable labels  i.e. we received the data from our survey partner...
 3 posts

Ending of Label
How can I write a code with meaning: keep if ending of variables' labels is 4 ?
The idead behind this is that I want to keep the observations...Last edited by Giang Dao; 07 Jun 2018, 03:19.
 4 posts

Generate variable from map between pair of variables
I have a dataset with variables cusip, cusip_, and sic. cusip and cusip_ have the same values, but are arranged so they can be put into a correlation...
 3 posts

Generate variable based on mapping between 2 other variables
I have a dataset with variables cusip, cusip_, and sic. cusip and cusip_ have the same values, but are arranged so they can be put into a correlation...Last edited by Xiaoyang Li; 04 Jun 2018, 22:21.
 1 post

Problem decoding numeric to string variable
Hi all,
I have a fairly simple problem but am struggling to decode a byte variable into a string variable for analysis.
codebook...
 2 posts

Bar graph with an ampersand in a compound string in a variable label
I'm using compound strings to label data that needs to go on two rows on the xaxis of a bar graph. However, if the string contains an ampersand (&),...
 2 posts