Get Help

Turn on suggestions

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

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Error fitting of a slope in mathcad

Options

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

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

Showing results for

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-27-2013
01:32 PM

10-27-2013
01:32 PM

Error fitting of a slope in mathcad

Hello,

I have a submission tomorrow and I need to calculate the error in my calculated value of the intercept c and gradient m.

I have used both the mathcad function and the manual version of it to fit my data points to a line (finding alpha and beta for a langmuir isotherm) and now just need to use the error values for my measurements to get the final absolute error in the slope and the intercept. Can anybody help?

The data set sigma corresponds to the error in eta, the excess amount adsorbed.

Cheers

Fraser

Labels:

5 REPLIES 5

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-27-2013
01:55 PM

10-27-2013
01:55 PM

Re: Error fitting of a slope in mathcad

Use stderr(P,P.n)=

Via help you can access a helpul quicksheet about Linear Regression.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-27-2013
02:07 PM

10-27-2013
02:07 PM

Re: Error fitting of a slope in mathcad

Thanks for the quick response Werner,

I have already tried this however I want to know the error attributed to the propagation of the uncertainties in my values of eta.

Do you have any idea how to do this mathetmatically?

Also I have calculated errors for another part of the paper, however they are errors in a value of x. I have plotted x against a varying y and don't seem to be able to add error bars that represent the errors in the value of x; how would I go about doing this? See attached.

Cheers

Fraser

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-27-2013
02:39 PM

10-27-2013
02:39 PM

Re: Error fitting of a slope in mathcad

I have already tried this however I want to know the error attributed to the propagation of the uncertainties in my values of eta.

I am not sure what exactly this error should measure and how you would define it.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-27-2013
02:46 PM

10-27-2013
02:46 PM

Re: Error fitting of a slope in mathcad

The values used to calculate the intercept and slope of the line are gathered from a simulation and as such each data point has an individual uncertainty attributed to it. I would like to correlate these uncertainties to get the maximum error in the calculated values of y-intercept and gradient.

Is this possible analytically?

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

10-27-2013
02:53 PM

10-27-2013
02:53 PM

Re: Error fitting of a slope in mathcad

As I understand you just want to know how you values of eta influence the aberration of (P; Pn) from a perfect straight line!?

You get a straight line if you vector eta consists of numers all equal.

You you have to set up a measure for the aberration of a vector from a constant vector.

Maybe something like this???