DATA Step, Macro, Functions and more

BesselK Function in SAS for Non integer Orders

Reply
New Contributor
Posts: 4

BesselK Function in SAS for Non integer Orders

Hi All,

We are trying to see if anyone has implemented BesselK (modified BesselK function of the 2nd kind) for non-integer orders.  Is there any way to calculate it from the available SAS functionality? It would be great if you can help here. Most statistical packages like R and MATLAB have got it but SAS does not have it.

Regards,

Gaurang Mehta

Super User
Posts: 9,691

Re: BesselK Function in SAS for Non integer Orders

You can check this blog. and contact with @Rick to confirm if it existed.

http://blogs.sas.com/content/iml/2015/05/20/nuclear-bessels.html



New Contributor
Posts: 4

Re: BesselK Function in SAS for Non integer Orders

Hi KSharp,
The key issue is ibessel function does not calculate the function value for negative orders. To calculate Besselk we need the ibessel values for negative orders.
Unfortunately the ibessel is not implemented properly in SAS.
Regards,
Gaurang Mehta
Super User
Posts: 9,691

Re: BesselK Function in SAS for Non integer Orders

Yeah. I see. Maybe you could issue a ballot and ask SAS to create such an function.


New Contributor
Posts: 4

Re: BesselK Function in SAS for Non integer Orders

Hi Ksharp,
How can I do that? Is there a process that I can follow?
Regards,
Gaurang Mehta
SAS Employee
Posts: 1

Re: BesselK Function in SAS for Non integer Orders

Hi Gaurang,

 

You can access the SAS Ballot ideas here: 

 

https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas

 

Regards Sanjay

Ask a Question
Discussion stats
  • 5 replies
  • 111 views
  • 0 likes
  • 3 in conversation