Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
none1
Level I

Fit a Line !

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
Highlighted
Jeff_Perkinson
Community Manager Community Manager

Re: Fit a Line !

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

View solution in original post

4 REPLIES 4
Highlighted
paigemiller
Level II

Re: Fit a Line !

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)

Highlighted
Jeff_Perkinson
Community Manager Community Manager

Re: Fit a Line !

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

View solution in original post

Highlighted
none1
Level I

Re: Fit a Line !

Now thats what I calll an answer !

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

Regards

Highlighted
Jeff_Perkinson
Community Manager Community Manager

Re: Fit a Line !

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
Article Labels

    There are no labels assigned to this post.