Rank: 4063 based on 29 downloads (last 30 days) and 1 file submitted
photo

cheart

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by cheart
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 Jun 2008 Screenshot Cosinor Analysis Fits cosine curve to a time series using least squares Author: cheart statistics, probability, cosinor anlaysis cosi..., sinusoid, sine, harmonic 29 5
Comments and Ratings on cheart's Files View all
Updated File Comment by Comments Rating
20 Dec 2011 Cosinor Analysis Fits cosine curve to a time series using least squares Author: cheart Bulger, David

Wouldn't the p-value for the zero-amplitude test have to come from the F-distribution's CDF, rather than its PDF?

13 Mar 2009 Cosinor Analysis Fits cosine curve to a time series using least squares Author: cheart David

Undefined function or variable "phi".

Error in ==> cosinor at 94
fprintf(1,'Mesor = %g \nAmplitude = %g \nAcrophase = %g \n\n',M,Amp,phi);

26 Jun 2008 Cosinor Analysis Fits cosine curve to a time series using least squares Author: cheart heart, c

The published example should run to completion. The statistics toolbox is necessary. Please post if there are any additional problems.

20 Jun 2008 Cosinor Analysis Fits cosine curve to a time series using least squares Author: cheart Giles, Peter

The published example does not run to completion. The error message is:

??? Undefined function or method 'tinv' for input arguments of type 'double'.

Error in ==> cosinor at 121
CI_M = tinv(1-alpha/2,n-3)*sigma^2*sqrt(((sum(x.^2))*(sum(z.^2)) - (sum(x.*z))^2)/(n^3*(X*Z - T^2))); %#ok<NASGU>

Either this m-file depends on a toolbox not identified here, or something has been left out of the submission.

18 Jun 2008 Cosinor Analysis Fits cosine curve to a time series using least squares Author: cheart a, a

There is a bug in the published M-file!!!

Contact us