BookmarkSubscribeRSS Feed
Nagadurga
Calcite | Level 5

 •PROC FREQ (MN method) is only supporting if we have occurrences,  when the number of occurrences are 0 we are getting an notes like “ Division by 0”.
• •We got stuck in using arcos call routine (highlighted in black) , v = 0.048 & u3 = 0.064

 
•v/(u*u*u) in w = (constant('pi')+arcos(v/(u*u*u)))/3? It might be possible that for some iterations, v/(u*u*u) was not in the range of -1 to 1. 

 

 

3 REPLIES 3
Tom
Super User Tom
Super User

And the question is what exactly?

 

Are you asking how to test if V/(u**3) is between -1 and 1?

if abs(v/u**3) > 1 then ....

Or are you asking how to modify your algorithm in that case?  If so then you need to explain your algorithm.

Nagadurga
Calcite | Level 5

Yes, I was asking how to  test if V/(u**3) is between -1 and 1?

ballardw
Super User

Code and log results are best copied from the Log or editor and pasted as text into a code box opened on the forum with the {I} or "running man" icon. Pictures are right out as it is very hard to copy and highlight or make changes to code. Code from a word processor program often ends up with characters that are not actually valid in code.

 

 

Without any actual description of the "method" it is impossible to tell if you have implemented in correctly. Without example data and documentation it is impossible to tell if your data meets any assumptions of the process. One suspects this may be the case with zero counts.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 326 views
  • 0 likes
  • 3 in conversation