08-10-2015 05:15 AM
Today I'm asking you if there is a way in SAS VA to automatically compute a Test T.
I have 2 distributions in 2 bar charts and I'd like to compare the propotions of each bar just by clicking on them and view somewhere the t-value or the p-value, or something else, I don't mind.
Maybe I could create a new variable with the T value, but can SAS VA do this by its own? Because actually there is an additional problem: my two distributions are on two different data souces, and I don't know how to put variables with different origin in the same formula.
Can you help me?
08-10-2015 09:51 AM
In VA 7.1 and later, there is an aggregation called "T-statistic (for Average = 0)". Does that help?
The available aggregations in 7.1 (and later) are listed here:
For the second part of your question, unfortunately you cannot use two data sources in the same expression. You should perform a merge in your data preparation if you want to use the data items from two data sources together in the same data expression or report object.
Hope that helps,
08-10-2015 12:53 PM
Just to add to Sam's information, here are a few links that might be helpful to you when you prepare your data:
- Creating a data query (which you can use as the source of your report):
- Joining tables in a data query: