Jump to content
Software FX Community

Linear Regression


User (Legacy)
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...