As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.
Here are some tips for How to share your SAS knowledge with your professional network.
Welcome to sasCommunity.org |
A collaborative online community for SAS® users worldwide.
sasCommunity.org is an ongoing global community effort—created by SAS users for SAS users. This site is a place to find answers, share technical knowledge, collaborate on ideas and connect with others in the worldwide SAS Community. Get started now by creating a UserID.
sasCommunity Tip of the Day
data show; val = 55; b2 = log2(val); v2 = log(val) / log(2); put b2= ; put v2=; run;
Sometimes, we need to calculate log value of any positive base number, just as in Excel or some other programming environment, we have function like log(Val, Base). It is not hard to do so by noting that we can calculate logarithms with other base values by dividing the result of the log() function with log(base), where log() is the natural logarithm function.
Therefore, log(Value, Base)=log(Value)/log(Base). This can be shown in this short DATA step to the right.
Submitted By Liang Xie
Feel free to comment on this tip.
Check out the Tip of the Day page for details about this effort.
SAS discussion forum threads:
RSS Feeds for Blogs, Content, Tips and Forums have been temporarily disabled. Please use links above to access information.
|Join sasCommunity.org||Get Involved||Sasopedia||Events||User Groups|