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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 2131 views
  • 0 likes
  • 2 in conversation