Is it possible to put an array reference into the title statement? I need the "ith" value of an array to appear in my title statement during the "ith" iteraton of a do loop.
Thoughts or suggestions? Any help would be greatly appreciated. Thank you.
Does anyone know how to append a decimal to a data set name?
For example, I would like to be able to produce something like this:
mylib.Parameter.25
mylib.Parameter.50
mylib.Parameter.75
etc.
I am producing several hundred datasets in this way, with the decimals coded as parameters in a...
I am running a pretty large program. I am running into a problem where the log and output window fill up, and the program pauses until I manually instruct SAS on what to do.
How can I set SAS to automatically clear the log and output windows then they fill up?
Thanks!
I am having an issue trying to write out a bunch of different datasets to excel spreadsheets. The problem lies in the fact that I need to maintain multiple datasets for multiple product types. Something like...
product_1_variable_1.xls
product_1_variable_2.xls
product_1_variable_3.xls...
I currently have a raw data extract with the dates in a strange format, and I am not quite sure how to work with them. Their current format is as follows:
2008/8/28 12:00AM
I need to be able to clean the data based on the month and year of the observation, but SAS reads this format as $18 and...
Does anybody know how to compute the Accuracy Ratio in SAS?
Consider plotting the cumulative % of the population along the x-axis, and the cumulative % of occurances of a binary choice variable on the y-axis.
(The plot is similar to the ROC, but the statistic is calculated differently)
Draw a...
I am having a hard time trying how to code a macro to write out datasets based upon two variabiles, bucket and vintage;
My dataset looks like this:
input X Bucket Vintage;
10 1 1
20 1 1
30 1 2
40 1 2
50 1 3
60 1 3
70 2 1
80 2 1
90 2 2
100 2 2
110 2 3
120 2 3
;
I want to write out datasets in...
I am trying to get SAS to pring my results via the ODS HTML output feature for a PROC ARIMA. The log shows the following error:
ERROR: Java class generated an exception.
Can't load class com/sas/tk/util/SetStandardOut.
Can't redirect System.err to SAS log.
Can't load class...
I am trying to figure out how to best write code for a rolling average and I cant quite figure it out.
I am trying to create a new variable, "average", which represents the average of the last 250 observations of an existing variable, "price".
So essentially, I need the 251st observation...
I believe that this will be my last question...
I have constructed a frequency distribution using gchart. Over top of the graph, I wish to do two things.
1. Draw a verticle bar at a value that I specify.
2. Overlay a thin normal distribution curve constructed out of parameters that I specify...
I have two datasets, one with a single row of observations and one with 10 rows of observations. I need to merge them in a way so that the single observation is repeated 10 times. Consider the following:
Dataset 1: Dataset 2:
X Y Z A1 B1 C1...
I need to calculate the average of a variable, and then use that value as if it were itself a variable.
Essentially, I have a column vector with several missing observations, which I want to fill in with the average of the observed values of the column.
Im doing a monte carlo, so simply...
I posted before about generating unique random values. I have since that time altered my strategy for getting my code to work, though it still doesnt, and I am still looking for a solution.
I am trying to test for equality in two variables in a single dataset. If such an equality exists, for...
Much like my last post for help, I have another problem that I just cannot solve despite my best efforts. I need to generate random integers bounded on a specifyed interval, but I need them to all be unique. In order to do this I am generating random numbers from a uniform distribution...
Ive have encountered a problem that I just cannot seem to solve...
I have a two datasets, one with 10 observations and one with 5 observations. The one with 5 observations contains a variable of unique integers bounded on the interval [1,10]. I want to merge the two datasets in a way that the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.