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 SkipVought 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: *

  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

    That is mostly correct. However, the different products are in different datasets, each of which will be run through the program individually. As it stands now, I have a &target statement at the start of the program so I only need to change the name of the dataset once. I was hoping that...
  5. 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...
  6. 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.
  7. 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...
  8. 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...
  9. Medvedeff

    Output datasets based upon multiple dimensions

    Thanks Chris, I will play around with that.
  10. 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...
  11. Medvedeff

    doing multiple runs using Macro

    You dont need a separate proc statement for each plot you want to produce. You could simply... proc gplot data=dat; plot a*b a*c a*d b*c b*d c*d; run;
  12. 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...
  13. 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...
  14. Medvedeff

    GCHART

    I can add in another series which will represent the mean value that I am looking for, but the normal overlay is a different story. I might end up just using it as is, with the two vertial bar series, because it shows effectively what Im need (though not exactly what I want :( Thanks for...
  15. Medvedeff

    GCHART

    (for ChrisW75) You said that you just do the overlay graphs in Excel... I know this is a SAS help Forum, but do you have any tips on setting the parameters (mean and standard deviation) to graph a custom normal distribution in Excel? Ive been working on something for a couple hours, but...
  16. Medvedeff

    GCHART

    I guess I lied... Again in the GCHART with vbar3d and a frequency distribution: I want to suppress the automatic labeling of the x-axes values and provide a list of them myself...but I want to do it without changing the number of midpoints that sas produces. here is what I have.... proc...
  17. Medvedeff

    GCHART

    I am using a VBAR3D. I tried using the ref= option but it seemed to only want to draw the line coming off of the y-axis...or the response axis in your SAS-speak :) So the overlaying the normalmal seems pretty complicated, so I will just make do without it. Assuming I can get the reference...
  18. 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...
  19. Medvedeff

    Merging question

    Thanks for the tip! My apoligize about the confusion over the language...different technical jargons dont overlap as much as I would like.
  20. Medvedeff

    Merging question

    Nevermind, I figured it out and put it into a macro... data combined&n; if _n_=1 then set beta&n; set keep&n; run; Thanks anyways!

Part and Inventory Search

Back
Top