same example as above, with Graph Builder:
dt = New Table( "test", Add Rows( 2 ),
New Column( "variable", Set Values( [4, 8] ) ),
New Column( "N", Set Values( [2000, 3000] ) ),
New Column( "ratio", Formula( :N / Col Sum( :N )*1000 ))
);
Graph Builder(Variables( Y( :variable ), Frequency( :ratio ) ), Elements( Bar( Y ) ));
... and the result is 6.4.
![hogi_0-1728718200283.png hogi_0-1728718200283.png](/t5/image/serverpage/image-id/69056iFE86104AD436BE5C/image-dimensions/289x232?v=v2)
so, Graph Builder follows the same lines as the other platforms?
![hogi_1-1728718512053.png hogi_1-1728718512053.png](/t5/image/serverpage/image-id/69057iE51F7CF20B9DD118/image-size/medium?v=v2&px=400)
no -- GraphBuilder automatically switches to weight:
![hogi_2-1728718545430.png hogi_2-1728718545430.png](/t5/image/serverpage/image-id/69058i6C3424612B5817C8/image-dimensions/76x69?v=v2)
... with the previously mentioned impact on other statistics like Median
@hogi wrote:All this definitely makes sense
but nevertheless: surprising when you see it the first time.
and: dangerous - if you don't see it
And the counts (previous post), why is the graph misleading?
Freq doesn't have an impact on Counts - neither in Graph Builder nor in Summary Statistics.
[-> I added a comment to the post on summary statistics]