Austin Fox Posted February 21, 2019 Share Posted February 21, 2019 I am trying to do regression analysis on aggregated data (both Tools->DataRelationships->LinearRegression and Tools->RegressionModeling). The only way I have been able to figure out how to do this is by creating an aggregated information link by first creating aggregated columns in the information designer. This is extreemly cumbersome and doesn't allow for easily changing the aggregation (which would be very useful). Is there another way to do this Maybe creating a calculated table or can you specify aggregation somehow in those analysis Edit: One caveat is that the data also needs to be joined from multiple tables. Thank you, Austin Link to comment Share on other sites More sharing options...
Shuting Fu Posted February 22, 2019 Share Posted February 22, 2019 Did you try to add a pivot transformation to your data table with the aggregations before doing the regressions Link to comment Share on other sites More sharing options...
Austin Fox Posted February 22, 2019 Author Share Posted February 22, 2019 I am trying that now. Is there a way to join data from multiple tables in a pivot table Link to comment Share on other sites More sharing options...
Shuting Fu Posted February 22, 2019 Share Posted February 22, 2019 You need to do the joins (adding columns/rows) before adding pivot transformation, or vise versa. Link to comment Share on other sites More sharing options...
Austin Fox Posted February 22, 2019 Author Share Posted February 22, 2019 Ok. So I think you have lead me to the answer. You can in fact pivot from multiple tables given a common unique identifier (UID or foreign key) to use as your row identifier. After creating the initial pivot table insert->columns. 'Add columns to:' the pivot table, 'Add columns from:'the additional table to pivot from. Then setup the pivot. After creating the new pivot select 'next' and match the UID (row identifier) with the one that already exist in the original pivot table. Link to comment Share on other sites More sharing options...
Shuting Fu Posted February 22, 2019 Share Posted February 22, 2019 Awesome process. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now