LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2002, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 2 Jul 2002 10:23:58 -0400
Reply-To:   jimmy chan <jimmy.chan@HEC.CA>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   jimmy chan <jimmy.chan@HEC.CA>
Subject:   covariance...
Content-Type:   text/plain; charset=us-ascii

Hello,

(For Mr. McLerran: this question is nothing about the previous questions, but yes, I have to work with the same database)

I want to calculate the covariance between two variables (like return and lag(return)), is there a procedure in SAS for calculating it ? (And I don't need any other statistics, even serial correlation). For example, in Excel, I can do this : covar(A1:A30,B1:B30), how to do it in SAS ?

Thanks a lot !


Back to: Top of message | Previous page | Main SAS-L page