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 for Programming
 Forum for Origin C
 t-test for significance of regression coefficients

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
hauli Posted - 02/26/2007 : 09:42:41 AM
Origin Version (Select Help-->About Origin): 7.5
Operating System: Windows XP

Dear all,

I am analyzing results from a toxicological test (AMES test). Empirically I know that the resulting dose-resonse curve starts linearly, then flattens and finally shows a downward trend.
I am only interested in the starting linear region, therefore I follow the following procedure to decide on which points ly on the linear part:

I fit a polynom of 2nd order to the data, and check with a t-test, if the regression coefficient of the quadratic term is significantly different from zero. If so, I omit the data at the highest dose and start the polynomial fit again. This procedure is done untill the coefficient of the quadratic term is not statistically different from zero.

Using Origins tool polynomial fit, I can choose "advanced results" and the regression coefficients are tested with a t-test for significance and the regression ANOVA is displayed.

My question now is, how can I perform the t-test for B2 in
y= A + B1*x + B2*x^2 programatically with Origin C?

Very best regards,
Hauli

1   L A T E S T    R E P L I E S    (Newest First)
zachary_origin Posted - 02/26/2007 : 9:40:17 PM
Hi Hauli,

Now in Origin75, there is no explicit OriginC function for getting the values of t-test. However, LabTalk script can be used for this (see stat.pr in LabTalk Language Reference). From OriginC, the result of the LabTalk script can be accessed with the notation of _LT_Obj which acts as a pragma. You can open \OriginInstallation\OriginC\System\internal.c and go to the function fitpoly to see how it works. Hope it helps.

Zachary
OriginLab Technical Services.


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