Rank: 3009 based on 40 downloads (last 30 days) and 3 files submitted
photo

James Hall

E-mail
Company/University
Hidden Solutions, LLC

Personal Profile:

 

Watch this Author's files

 

Files Posted by James Hall View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Sep 2014 Screenshot Linear Deming Regression deming perfoms a linear Deming regression. Useful when errors are present in both x and y variables. Author: James Hall linear regression, regression, orthogonal regression, errorinvariabes, statistics, signal processing 13 4
17 Oct 2011 Screenshot plotSeries - Color-code multiple plots plotSeries allows multiple plots to be easily color-coded Author: James Hall plot, plotting, color, colormap, axes, axis 14 2
  • 5.0
5.0 | 2 ratings
06 Oct 2011 Screenshot inset2DAbsolute inse2DAbsolute creates an axes inset, defined using the larger axes, and corresponding annotations Author: James Hall plot, plots, plotting, inset, zoom, axes 13 0
Comments and Ratings by James Hall
Updated File Comments Rating
01 Dec 2011 disperse Assign elements of an input array to individual output variables with a single function call. Author: Sam Hallman

Very nice! Works exactly as advertised and will be very useful.

Comments and Ratings on James Hall's Files View all
Updated File Comment by Comments Rating
26 Nov 2014 Linear Deming Regression deming perfoms a linear Deming regression. Useful when errors are present in both x and y variables. Author: James Hall Jack

I have a quick question. The structure of b is b(1)=intercept, and b(2)=slope. However, it is not clear to me the structure of .s_b. Is it .s_b(1)=standard error of intercept, .s_b(2)=standard error of slope or is it the the other way around. you have a comment next to it and it is written the other way around. Thanks for the help, the code is very nice!

16 Dec 2013 Linear Deming Regression deming perfoms a linear Deming regression. Useful when errors are present in both x and y variables. Author: James Hall Hilda Huang

very nice! I have a quick question: is it possible to add in some functions to provide the option of forcing the intercept to zero?

19 Aug 2013 Linear Deming Regression deming perfoms a linear Deming regression. Useful when errors are present in both x and y variables. Author: James Hall Ian

... (meant to say "off by a factor of approximately sqrt(n).")

15 Aug 2013 Linear Deming Regression deming perfoms a linear Deming regression. Useful when errors are present in both x and y variables. Author: James Hall Ian

This is a nice script, but there appear to be a couple bugs regarding the calculation of confidence intervals.

First, a minor typo: on line 122,
if nargin < 5
should be
if nargin < 4

More significantly, on line 167,
stats.s_b = std(b_sub,[],2);
should be
stats.s_b = std(b_sub,[],2)*(n-1)/sqrt(n);

Without the latter bug fix, the confidence intervals that deming.m computes are off by a factor of sqrt(n).

05 Aug 2012 plotSeries - Color-code multiple plots plotSeries allows multiple plots to be easily color-coded Author: James Hall Hoi Wong

Great tool. I modified your function by adding drawnow() right before enabling colorbar() (at the bottom of the program) so that the plot won't get shrunk unjustifiably when I rescale the figure. Hope it'll be useful info to you.

Contact us