Hi,

I've recently discovered ks.test() in the stats package.  I'd like to apply it to alphas generated by hedge fund managers. I have several years of monthly excess returns for each manager and I'd like to see which come from distributions that are not statistically different.  I have two questions for the group.  The first question is whether the KS test is valid for two returns series which are likely not iid?  I think I read that as long as the difference in empirical distributions functions (ecdf) is iid from the true distribution (which I don't know) the test is valid.  My second question is more focused on R.  ks.test gives me the source code for the R function but there are several calls to C code within the function.  I'm wondering if there is any way to view the source for the C functions?  I've searched R help for an answer to this less finance related question but only found one post in which they said the source could be found in a file called ks.c.  Unfortunately I can't find this file on my hard drive or on the web.  Any help this group can offer is greatly appreciated.

Thanks,

Ben

___________________________________________
This message and any attached documents contain
information which may be confidential, subject to 
privilege or exempt from disclosure under applicable
law. These materials are solely for the use of the 
intended recipient. If you are not the intended 
recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, 
copying, storage, modification or the taking of any
action in reliance upon this transmission is strictly
prohibited. Delivery of this message to any person
other than the intended recipient shall not
compromise or waive such confidentiality, privilege
or exemption from disclosure as to this 
communication. 

If you have received this communication in error, 
please notify the sender immediately and delete
this message from your system. 

	[[alternative HTML version deleted]]

