Subscribe Bookmark RSS Feed

Fit a Line !

none1

Community Trekker

Joined:

Apr 9, 2014

Hello,

Please see the test.jmp file in attachment.

I want to fit a line on this data. Essentially I have 5 observations for 5 inputs.

Imputs are in column 1 and the 5 observations are in column 2 to 6.

Can some one please tell me how I can draw an XY line using the entire data.

Also I want to know the CIs at every level.

When I try to do a bivariate analysis, I get 5 differnet plots ?

Many Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Hi there,

I think you're looking for something like this.

6125_TestStacked__Fit_Y_by_X_of_y_by_x.png

If so, you need to use Tables->Stack to stack Columns 2 - 6 into a single column which you will use as your Y column in Fit Y by X.  The resulting data table looks something like this.

6126_untitled_59.png

Let us know if we've misunderstood your goal.

-Jeff

-Jeff
4 REPLIES
paigemiller

Community Trekker

Joined:

Apr 12, 2012

As stated, I don't understand what you are trying to do.

If you have 5 columns of response variables (Y), and one column of inputs (X), you should get 5 different lines fitted, one for each Y. But you state that's not what you want.

So I'm not understanding what you do want from this data.

By the way, normally we don't speak of "observations are in column 2 to 6" as the terminology normally used is that columns are "variables" and rows are "observations". Perhaps that's part of the confusion, your use of terminology doesn't match what I normally use (and what JMP normally uses)

Solution

Hi there,

I think you're looking for something like this.

6125_TestStacked__Fit_Y_by_X_of_y_by_x.png

If so, you need to use Tables->Stack to stack Columns 2 - 6 into a single column which you will use as your Y column in Fit Y by X.  The resulting data table looks something like this.

6126_untitled_59.png

Let us know if we've misunderstood your goal.

-Jeff

-Jeff
none1

Community Trekker

Joined:

Apr 9, 2014

Now thats what I calll an answer !

Jeff one more question: How can I calculate the Confidence Intervals at each level ?

Regards

Jeff_Perkinson

Community Manager

Joined:

Jun 23, 2011

Look in the Red Triangle menu for the fitted line.

6153_Pasted_Image_4_25_14__8_26_AM.png

The "... Formula" options give you new columns in the data table calculating the intervals.

The "Confi..." options will show them on the graph.

-Jeff

-Jeff