Code covered by the BSD License  

Highlights from
MyRegrComp

2.0

2.0 | 1 rating Rate this file 0 Downloads (last 30 days) File Size: 2.83 KB File ID: #15953

MyRegrComp

by Giuseppe Cardillo

 

16 Aug 2007 (Updated 09 Mar 2010)

A simple routine to compare two LS regression

| Watch this File

File Information
Description

MYREGCOMP: Compare two linear regression.
This function compares two least-square linear regression. Tests are implementes as reported by Stanton A. Glantz book "Primers of biostatistics". This routine uses MYREGR function. If it is not present on the computer, MyregrINV will try to download it from FEX.

You can visit my homepage http://home.tele2.it/cardillo
My profile on XING http://www.xing.com/go/invita/13675097
My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo

Required Products Statistics Toolbox
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
20 Aug 2007 Dimitri Shvorob

'Fiducial level' is 'significance level'. The programming is bad: chunks of code are repeated, and FPRINTFs take up most of space anyway. Calculations are very simple - but can the author explain what test exactly he is implementing? (A reference perhaps?)

24 Aug 2007 Giuseppe Cardillo

To compare two regressions (as reported in Stanton A. Glantz book) firstly you must perform the regressions. This is the reasons of code repeating. But, if you look well the code calls three times the same function (MYREGR): once for the first regression, once for the second regression and once for the overall regression. So, the code is really repeated?
I think that FPRINTFs are necessary because I want to look the results in a clearly way. Antonio Trujillo Ortiz (I think he is one of the best of us) uses the same code but I don't see any comment about this.
Finally, I'm interested in collaboration. How do you change the code?

Please login to add a comment or rating.
Updates
24 Aug 2007

minor editing

12 Nov 2008

Changes in help section

23 Dec 2009

Changes in description

09 Mar 2010

This routine uses MYREGR function. If it is not present on the computer, MyregrINV will try to download it from FEX.

Tag Activity for this File
Tag Applied By Date/Time
statistics Giuseppe Cardillo 22 Oct 2008 09:23:05
probability Giuseppe Cardillo 22 Oct 2008 09:23:05
linear Giuseppe Cardillo 22 Oct 2008 09:23:05
regression Giuseppe Cardillo 22 Oct 2008 09:23:06
leastsquare Giuseppe Cardillo 22 Oct 2008 09:23:06
comp Giuseppe Cardillo 22 Oct 2008 09:23:06
tests Giuseppe Cardillo 22 Oct 2008 09:23:06
statistics Cristina McIntire 12 Nov 2008 13:54:16
probability Cristina McIntire 12 Nov 2008 13:54:24
regression Cristina McIntire 12 Nov 2008 13:54:35

Contact us at files@mathworks.com