turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Fit a Line !

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 24, 2014 9:40 AM
(1236 views)

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 24, 2014 11:08 AM
(2204 views)

Solution

Hi there,

I think you're looking for something like this.

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.

Let us know if we've misunderstood your goal.

-Jeff

-Jeff

4 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 24, 2014 10:12 AM
(1102 views)

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)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 24, 2014 11:08 AM
(2205 views)

Hi there,

I think you're looking for something like this.

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.

Let us know if we've misunderstood your goal.

-Jeff

-Jeff

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 25, 2014 12:20 AM
(1102 views)

Now thats what I calll an answer !

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

Regards

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 25, 2014 5:28 AM
(1102 views)

Look in the Red Triangle menu for the fitted line.

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