- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Dear SAS users,
I am a total dummy when it comes to using SAS. Thus, I apologise for totally non-challenging questions.
I would like to create an absolute value for the difference of measurements for required value (speed).
Please, could you advice how to do it using:
- 'Tasks and Utilities' tabs
- The code
Thank you so much for your kind help!
Agnieszka
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Can you show us some sample data, and the expected results?
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In terms of code you would use the abs() function:
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245861.htm
I have no idea what "Tasks and Utilities" is, what software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi. Thank you for answering my question.
'Tasks and Utilities' is the drop down list for different SAS functions on the left hand side of the screen. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Tasks and Utilities is the name for the GUI tools in SAS Studio.
@RW9 wrote:
I have no idea what "Tasks and Utilities" is, what software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This would depend on your data structure a lot.
If the variables are in the same line it's one way, and if they're in different lines you need a different approach.
Have you checked out the tutorial video's here or taken the free e-course? It would help you answer a lot of these questions.
@aczech2001 wrote:
Dear SAS users,
I am a total dummy when it comes to using SAS. Thus, I apologise for totally non-challenging questions.
I would like to create an absolute value for the difference of measurements for required value (speed).
Please, could you advice how to do it using:
- 'Tasks and Utilities' tabs
- The code
Thank you so much for your kind help!
Agnieszka
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi to all,
Thank you for trying to help out with this task.
Please, see the data attached.
I was looking to find an absolute value from the difference for levels of Pain 1 and 2, calculated by subtracting Pain1 values from Pain 2 values for each individual.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content