It appears that if you preselect a role (e.g. weight or frequency) for a column that Tabulate or Table Summary use that role in the analysis, but Graph Builder does not. Can someone confirm that Graph Builder does not recognize pre-selected roles? And, if that is correct, should we consider that a glitch or is there a good reason for that?
On a somewhat separate issue, I still find the choice of weight or frequency for a variable confusing - perhaps unnecessarily so. In many computations, both designations provide the same results, but in many analyses they differ. In particular, in simple linear regressions either weight or frequency seem to provide the same linear model, but Weight appears to give the correct standard error for the regression coefficient but the Root Mean Square Error, while using Frequency has the reverse characteristics. Is there a reason for that disparity?
As an example, I am looking at airfare data for different domestic air routes. Each route is an observation and I have data on the average fare and the average number of passengers per day (and the distance (miles) for the route). For a weighted average fare, using passengers as either weight or frequency gives the same results. Doing a regression of average fare on distance, using passengers as weight or frequency gives different results - weight provides a correct standard error for the coefficient on distance, but an incorrect root mean square error, while frequency provides a correct root mean square error and an incorrect standard error for the coefficient. I've attached an example data set with 3 embedded regression models (no role for passengers, passengers as weight, and passengers as frequency).