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 Chris Miller 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. SASHelp

    HELP: Correlation in SAS (Beginner)

    Dan, I have a new plan. I'd like to isolate the entire 5 years of data by SIC code (4 digit number). Now, instead of running a correlation on ALL of the stocks, I'd like to isolate the entire data set by specific industry. Since the SIC code for TOBACCO PRODUCTS is 21, I tried to formulate my...
  2. SASHelp

    HELP: Correlation in SAS (Beginner)

    Dan, I'm collecting data from CRSP database of stocks from 1985-1986 of daily stocks throughout the entire database. So as you can imagine, it is a HUGE file ~ 200 MB. I usually get an error from says saying OUT OF VIRTUAL MEMORY when trying to run the correlation of all the stocks. I am...
  3. SASHelp

    HELP: Correlation in SAS (Beginner)

    DanJr, ONCE AGAIN - thank you for all your help. My next "problem" is the stock data I'm downloading from the CRSP database is "too large" for SAS to handle. How can I get SAS to randomly pick 50 stocks from the hundreds-thousands of stocks in my data...? Basically what I'm trying to say is...
  4. SASHelp

    HELP: Correlation in SAS (Beginner)

    libname datasets 'd:\research\sas_datasets'; data all; set datasets.Soft_Drink; prc=abs(prc); run; proc sort data=all; by date permno; run; proc transpose data=all out=tran_all prefix=ret; by date; id permno; var ret; run; ** check this print output to make sure that your data have been...
  5. SASHelp

    HELP: Correlation in SAS (Beginner)

    DanJR, Thank you so much for your help! Unfortunately, the data is from WRDS database which requires private membership. So assuming I change the write variables you mentioned above, I just copy and paste all of that code into the SAS Editor window?
  6. SASHelp

    HELP: Correlation in SAS (Beginner)

    Hello, my data is like this PERMNO PERMCO DATE TICKER COMNAM PRC 11308 20468 1985010 KO COCA COLA CO 61.875 11308 20468 19850103 KO COCA COLA CO 62.5 11308 20468 19850104 KO COCA COLA CO 62.375 11308 20468 19850107 KO COCA COLA CO 62.75 11308 20468 19850108 KO COCA COLA CO 62.875...
  7. SASHelp

    HELP: Correlation in SAS (Beginner)

    Hello. I don't have much experience with SAS. I just downloaded a series of stock data from CRSPS database. The data contains daily stock prices from 1985-1989 from the softdrink industry. I need to run a correlation on ALL of the pairs of stocks' prices and see which have a correlation of...

Part and Inventory Search

Back
Top