Jump to content
Software FX Community

Linear Regression


User (Legacy)

Recommended Posts

I am trying to do an XY Plot and draw a least squares linear regression line

between the points. The line is not straight because I believe the ticks on

the x-axis do not represent values, but points ( 1 - 15 ). I've tried

assigning values to the a-axis, but I can only do it using the axis label.

How do I make the x-axis a numerical axis so it can be manipulated using the

adjustScale, Min, Max, and Step properties? I believe this will solve the

problem of the regression line not being straight.

Link to comment
Share on other sites

OK.  I've figured out how to make the X axis numerical by setting the Chart

Gallery to SCATTER. It brings in the correct values for the X Axis and it

looks good. When I do this, however, I can no longer see the Series Gallery

LINES for the linear regression line.

Does anyone know of an option or setting that will allow a Series Gallery to

sit on top the Chart Gallery?

"Justin Stephens" <jstephens@profdata.com> wrote in message

news:cpSuULRUBHA.1392@webserver1.softwarefx.com...

> I am trying to do an XY Plot and draw a least squares linear regression

line

> between the points. The line is not straight because I believe the ticks

on

> the x-axis do not represent values, but points ( 1 - 15 ). I've tried

> assigning values to the a-axis, but I can only do it using the axis label.

>

> How do I make the x-axis a numerical axis so it can be manipulated using

the

> adjustScale, Min, Max, and Step properties? I believe this will solve the

> problem of the regression line not being straight.

>

>

Link to comment
Share on other sites

Disregard the last two posts.  I've figured it out.

"Justin Stephens" <jstephens@profdata.com> wrote in message

news:uqw66faUBHA.2432@webserver1.softwarefx.com...

> OK. I've figured out how to make the X axis numerical by setting the

Chart

> Gallery to SCATTER. It brings in the correct values for the X Axis and it

> looks good. When I do this, however, I can no longer see the Series

Gallery

> LINES for the linear regression line.

>

> Does anyone know of an option or setting that will allow a Series Gallery

to

> sit on top the Chart Gallery?

>

>

> "Justin Stephens" <jstephens@profdata.com> wrote in message

> news:cpSuULRUBHA.1392@webserver1.softwarefx.com...

> > I am trying to do an XY Plot and draw a least squares linear regression

> line

> > between the points. The line is not straight because I believe the

ticks

> on

> > the x-axis do not represent values, but points ( 1 - 15 ). I've tried

> > assigning values to the a-axis, but I can only do it using the axis

label.

> >

> > How do I make the x-axis a numerical axis so it can be manipulated using

> the

> > adjustScale, Min, Max, and Step properties? I believe this will solve

the

> > problem of the regression line not being straight.

> >

> >

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...