- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Unbiased bisector on Scatter plot
Hi,
Is there a way to plot the 1:1 bisector on a scatter plot. I have plotted the fit line but i want the 1:1 bisector to show potential bias in the data.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Unbiased bisector on Scatter plot
You can use graphic scripts to add extra lines to your graphs. For example line built using
Line({X Origin(), Y Origin()}, {X Origin() + X Range(), Y Origin() + Y Range()});
will go from bottom left to top right and you can replace X Origin()... and so on with your own values as needed
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)))
);
Report(gb)[FrameBox(1)] << Add Graphics Script(
Pen Color("Blue");
Pen Size(1);
Line({X Origin(), Y Origin()}, {X Origin() + X Range(), Y Origin() + Y Range()});
);
-Jarmo
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Unbiased bisector on Scatter plot
You can use graphic scripts to add extra lines to your graphs. For example line built using
Line({X Origin(), Y Origin()}, {X Origin() + X Range(), Y Origin() + Y Range()});
will go from bottom left to top right and you can replace X Origin()... and so on with your own values as needed
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(9)))
);
Report(gb)[FrameBox(1)] << Add Graphics Script(
Pen Color("Blue");
Pen Size(1);
Line({X Origin(), Y Origin()}, {X Origin() + X Range(), Y Origin() + Y Range()});
);
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Unbiased bisector on Scatter plot
Thanks Jarmo