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
 All Forums
 Origin Forum
 Origin Forum
 R2 and bilinerar regression

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Arthen2 Posted - 07/16/2020 : 4:30:17 PM
Hello all!

I've been using Origin for years, but now can't solve it.

Lets have a function and take first 20th points.
Lets divide that 20 points: first 8th (name it "N") and next 12 (name it "M"). Its easy :-)
Next, do linear regression of points 1..8 (magenta line) and points 9..20 (green line)
Last: calculate coefficient of determination (R2)


Authors of publications says "Linear regression was performed across both N and M and the resulting overall coefficient of determination (R2) was calculated"

Looks easy, bum I'm stopped. It is possible in MATLAB, but I'd like to calculate it using Origin :-)

Any clues? Thanks in advance!
2   L A T E S T    R E P L I E S    (Newest First)
Arthen2 Posted - 07/17/2020 : 1:54:51 PM
Thank you very much. It works :-)
AmandaLu Posted - 07/17/2020 : 02:44:23 AM
Hi,

You can fit two sections with a piecewise function in which functions of 1st and 2nd segments are linear (a*x+b). The R-Square value is what you need.

https://www.originlab.com/fileExchange/details.aspx?fid=325

Thanks,
Amanda
OriginLab Technical Service

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000