Paleofire frequencies

KDffreq.m function calculates palaeo-fire frequency using a Gaussian kernel and computes bootstrapped confidence intervals arround fire frequency. Require the date of fire events as input variable. Associated with this function analyst may use cvKD.mfunction to estimate optimal kernel bandwidth by max log likelihood. Here’s an example:

Generate some fire dates for the last 8000 years:

x=randi(8000,40,1);
plot(x,1,'+','col','red')
set(gca,'xdir','reverse')
xlabel('Time (cal yrs. BP)')

Screen Shot 2014-02-09 at 12.17.27 PM

Use the cvKD.m function to calculate the optimal bandwidth for the kernel:

cvKD(x)
ans = 724.3434

Then we estimate the long term fire frequency using the Gaussian kernel density procedure:

 [ffreq]=KDffreq(x,'up',0,'lo',8000,'bandwidth',700,'nbboot',100,'alpha',0.05 );
 

Screen Shot 2014-02-09 at 12.28.47 PM

Leave a Reply