Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Medvedeff
  • Content: Threads
  • Order by date
  1. Medvedeff

    array reference in title statement?

    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.
  2. Medvedeff

    Appending a decimal to a data set name

    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...
  3. Medvedeff

    LOG and OUTPUT window full

    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!
  4. Medvedeff

    proc export problem

    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...
  5. Medvedeff

    Create a new variable instead of a new column

    Could someone told me how to create a variable (a single number) rather than a column (in a dataset) in SAS? Thanks.
  6. Medvedeff

    Strange date format

    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...
  7. Medvedeff

    (Cumulative) Accuracy Ratio

    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...
  8. Medvedeff

    Output datasets based upon multiple dimensions

    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...
  9. Medvedeff

    ODS Output error

    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...
  10. Medvedeff

    Rolling Averages

    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...
  11. Medvedeff

    GCHART

    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...
  12. Medvedeff

    Merging question

    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...
  13. Medvedeff

    Average of a variable

    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...
  14. Medvedeff

    Question: Exiting a Macro Iteration

    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...
  15. Medvedeff

    Generating unique random values

    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...
  16. Medvedeff

    Data Management / merging question

    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...

Part and Inventory Search

Back
Top