comp.soft-sys.sas - The SAS statistics package.
Hi I looked at the documentation for TTEST and googled a bit, but didn't see a way to get PROC TTEST to print variable labels instead of variable names. People at my current place of employment are fond of giving variables names like VAR1, and then using labels. They've been collecting data for 30 years, so they aren't going to change (and there's no way to change all the data sets they have). So, is there a way to get PROC TTEST to do this? Is there general guidance on how to make SAS PROCs print labels instead of variable names? TIA as always Peter
Hi, All I have a PROC GPLOT that is producing overlay plots with by-groups. The input data has other numeric fields (not being plotted) the values of which are always the same for every observation within a by-group. I would like to print these values on the plot as labels of the plot lines.=20 To make it clear what I'm doing here the numbers I'm plotting are estimated values produced by PROC REG and the would-be label values are R-Squared statistics merged in from an OUTEST dataset. The output I want to get is similar to "trendlines" in (you should pardon the expression) Excel where you can label the trendlines with the R-Squared number.=20 This is a sample of the data. App_cdode and m form the by-group. Linear and polynomial are the estimates I'm plotting. Rsqlin and rsqpoly are the corresponding stats. Obs app_code m G linear polynomial rsqlin rsqpoly 1 2W00 JUL07 100 94.298 94.298 0.44802 0.44802 2 2W00 AUG07 100 96.373 96.373 0.44802 0.44802 3 2W00 SEP07 100 98.448 98.448 0.44802 0.44802 4 2W00 OCT07 100 100.456 100.456 0.44802 0.44802 5 2W00 NOV07 100 102.531 102.531 0.44802 0.44802 6 2W00 DEC07 100 104.539 104.539 0.44802 0.44802 7 2W00 JAN08 100 106.614 106.614 0.44802 0.44802 8 2W00 FEB08 100 108.689 108.689 0.44802 0.44802 9 2W00 MAR08 100 110.631 110.631 0.44802 0.44802 10 2W00 APR08 125 112.706 112.706 0.44802 0.44802 11 2W00 MAY08 125 114.714 114.714 0.44802 0.44802 12 2W00 JUN08 . 116.789 116.789 0.44802 0.44802 13 2W00 JUL08 . 118.797 118.797 0.44802 0.44802 14 2W00 AUG08 . 120.872 120.872 0.44802 0.44802 15 2W00 SEP08 . 122.947 122.947 0.44802 0.44802 16 2W00 OCT08 . 124.955 124.955 0.44802 0.44802=20 TIA -Jim Lane _______________________________________________________________________ This e-mail may be privileged and/or confidential, and the sender does not = waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it conta= ins by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or= otherwise) immediately. =20 Ce courrier =E9lectronique est confidentiel et prot=E9g=E9. L'exp=E9diteur = ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements q= u'il contient par une personne autre que le (les) destinataire(s) d=E9sign= =E9(s) est interdite. Si vous recevez ce courrier =E9lectronique par erreur, veuillez m'en aviser= imm=E9diatement, par retour de courrier =E9lectronique ou par un autre moy= en.
Hi all, I'm using a dataset in which the variables have long labels. Now I want that in the output instead of the complete label only the first three words of the label be showed. Is that possible? And also is their away to show only the labels and not the variable name? Thanks, Sajeel
Hey all, Is it possible in one data step to use the value of a variable as label for another one? for example; data _test; input var label; datalines; 3 g/L ; run; i want to use the value of variable label (g/L) as label for the variable var! best regards, Majd A.I. Mirza, Ph.D.student Dept. of Medical Sciences Uppsala University Hospital S-751 85 Uppsala Phone: +46 (18) 611 49 02 Cell: +46 (736) 000 128 Fax: +46 (18) 500 952