Do loop?
I want to create one single variable that contains a list of values ranging from 0 to 1.3 (increasing by .10). Thus, I want a varaible that looks like this: VARIABLE 0 .10 .20 .30 .... .... .... 1.20...
View ArticleError: Error parsing the documents
Hi, I am new to Text Miner and decided to try a text mining example. I found the "Getting Started with SAS® Text Miner 4.2" document and tried their example. I used the Vaerext data and followed the...
View ArticleInserting pictures into ODS PDF?
I'm curious about how to insert photos into PDF output? Can someone either show me how or at least give me a link to an article or something that explains how to do this?
View Articlealternating logistic regression in sas
Hi I am trying to run an alternating logistic regression is SAS to examine the relationship between Disease X symptoms and sleep. The study asks patients questions Q1 :- Do you have Disease X Symptoms...
View ArticleReapeted measures Anova Tukey test in GLM
Hello, I am running a repeated measures anova using proc glm. I am not having a problem with the anova itself, but when I do a tukey test at the end, it is giving me pairwise comparisons broken down by...
View ArticleNot sure which Time Series SAS Procedure to use
I have some experience working with time series analyses but not much and I need some help regarding which SAS procedure is most appropriate for my situation. I have monthly cost data from 2006 - 2011...
View Articlecompressing text files
Hi. i want to write SAS code that compress text files using winrar. should be able to compress multiple file into an arkive. Cant find anything on SASsupport. can anybody help me? BR Jan
View ArticleDate Formats
I have a question about date formats. I have a variable called date in which the year and month of cost data was stored. For example, if date=200601 that means January of 2006. So, the first 4 numbers...
View ArticleAddition with Do Loop?
I have 2 columns (month and percent_change). The month is which month the data is from and the percent_change is how much lower costs are for month X compared to month X+1. Ultimately I'm trying to...
View Articlemissing values in yearly data
Hi I am using the following to get the missing values of the years between 1991 and 2000 data omitted; INPUT DATE YEAR A; datalines; 1991 100 2000 100 ; proc expand data=omitted OUT=NEW ; id date; run;...
View Article[Enterprise Miner 6.2] Support Vector Machine in SAS EM v 6.2
According to SAS Help and other Internet sources, there is SVM node in model section present , but I can't find it. In SAS EM 7.1 there is 15th node in Model tab called SVM but in EM 6.2 it's not...
View ArticleSimple macro help
Hi, I am macro-illiterate and need some help. I have a huge section of code in which variable 'Person_Name' (for example) shows up a dozen or so times. I'll need to run the code repeatedly using...
View ArticleSAS Assessment + Proq Freq Simple help
Hello all. I'm in a rather sticky situation atm. I have a small SAS project due for Monday 3rd Sept, but have no means of starting it as I don't have the program on my laptop. It was meant to be...
View ArticleReport layout changes when sending report from SAS enterprise guide to Word!!
Hi all :wave: This is a SAS enterprise guide question, sorry I didn't know where else to post. I have created a report in SAS EG (not results!) and I want to send it to word. However the page/ report...
View ArticleLarge value for variation explained using PROC VARCLUS
Hi all, I am relatively new to SAS, having been using it for the last month to do some statistical analysis on some small/medium dataset. I am now working with a much larger dataset (~40000...
View ArticlePROC SGPLOT removing labels from legend
I have an SGPLOT in which I plot predicted monthly costs vs. actual monthly costs. I also have a 95% confidence interval for the predicted costs. However, within the legend, I only want the predicted...
View ArticleLAG( ) or DO-LOOP?
I have the following data: X Y Z 1 2 . . 3 . . 4 . . 5 . . 6 . For the first row of data, I have: X=1 Y=2 Z=X+Y -> 3. Z will always = X+Y. However, The 2nd row X = 1st row Z. So after computing the...
View ArticleDeleting observations by ID
Hello again, sorry for all the posts. Let's say I have a set of data: ID Year 1 2007 1 2008 1 2010 2 2008 2 2009 3 2007 3 2010 3 2011 Now, let's say I only want to keep subjects who had their first...
View ArticleSAS Bucketing in intervals
Hi, Say I have this data: ID date duration dose 1 02-09-2011 40 100 1 15-11-2011 45 200 1 29-12-2011 46 150 1 02-02-2012 43 300 2 02-09-2011 40 150 2 15-11-2011 45 200 2 29-12-2011 40 250 2 02-02-2012...
View ArticleQuestion about POINTLABEL option!
Hi all I am making a line graph using GPLOT. Can someone tell me if there's anyway I can make the POINTLABLE option on the SYMBOL statement to display only the last data value? SYMBOL1 INTERPOL=JOIN...
View Article