BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have a critical problem.I need to raise a matrix to certain power using (##)operator,the problem is that the power is negative fraction and some elements of the matrix are negative fraction also.the program returuns an error message each time I run it and confirms that the operation couldnot be performed.I donot know how to solve this problem.please I ask for help
Best Regards,
Amani
1 REPLY 1
Paige
Quartz | Level 8
Your problem is not SAS.

Your problem is that a negative number raised to a fractional power is simply not defined in the domain of real numbers.

Example: Square root of –2 cannot be computed in the domain of real numbers.

You need to define exactly what it is you want, and perhaps come up with a better understanding/explanation of why/how you need to raise a negative number to a fractional power.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2254 views
  • 0 likes
  • 2 in conversation