The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Weighted linear regression (1/x, 1,x^2, etc)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nesgio

Switzerland
6 Posts

Posted - 10/25/2023 :  08:59:17 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2022 Service Release 9.9.0.225
Operating System: Windows 10 Enterprise Build 19045

Hello,

Do you know how to perform a weighted linear regression such as 1/x, 1/x^2, 1/y,... on OriginPro 2022? I didn't found the option while creating a new graph.

Thank you!

Gio

YimingChen

1592 Posts

Posted - 10/25/2023 :  09:24:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please refer to this page for different weight options in curve fitting.Thanks.
https://www.originlab.com/doc/en/Origin-Help/FIt-with-Err-Weight

James
Go to Top of Page

nesgio

Switzerland
6 Posts

Posted - 10/25/2023 :  10:46:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi James,

Thank you for your answer. Should I set a specific column like the image below to perform the direct weighting?


When I perform the linear regression there is no option to set the X error (and then change it as weighting). See picture below


Best,

Gio

Edited by - nesgio on 10/25/2023 10:47:44 AM
Go to Top of Page

YimingChen

1592 Posts

Posted - 10/25/2023 :  11:32:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please check this FAQ page on fitting with X errors
https://www.originlab.com/doc/Quick-Help/NLFit-X-Err
Go to Top of Page

nesgio

Switzerland
6 Posts

Posted - 10/26/2023 :  04:13:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for the reply. I follow it but it doesn't work (see picture below)



I set a column with values "1/x". Should I do something different?

I also tried the "Speedy Fit" feature but still the weighting option is not available (see below).



Gio

Edited by - nesgio on 10/26/2023 04:17:18 AM
Go to Top of Page

YimingChen

1592 Posts

Posted - 10/26/2023 :  08:57:53 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please watch the attached video showing the steps to perform linear fit on the dataset using 1/x value as the weights.

https://my.originlab.com/ftp/forum_and_kbase/Images/LinearFitXErr.zip

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000