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

    Retrieve value for n days prior to each date

    Hi, I have a dataset as follows and I need to retrieve two things: 1) the sum of VALUE between (date-1) and (date-3) for each date and 2) whether, during the 5 days, there are >= two days where the VALUE is 0. I think PROC SQL should be used but I'm not sure how to implement this. INPUT...
  2. zenith1107

    Calculate conditional MEAN in SAS

    Hi all, I'm a new user of SAS and I have encountered a problem: DATA test; input Week $ Day Price; CARDS; 111 1 1 111 1 2 112 1 3 112 1 4 111 2 5 111 2 6 112 2 7 112 2 8 ; I want to create a new variable MEANP that stores the mean PRICE for the observations in the same DAY but different...

Part and Inventory Search

Back
Top