This page outlines the basic calculations essential to calculating the DB and lacunarity with FracLac.

Calculations

### Standard Error

How is the standard error calculated? SE=â [(ÎŁC2 - bÎŁC - mÎŁSC)/(n-2)] where S = log of scale or size, C = log of count, n = number of sizes, b = y-intercept of the regression line, m = slope of the regression lineÂ Â

### Regression Line

How is the slope of the regression line calculated? The slope of the regression line, m, used for calculating the DB = m = (nÎŁSC - ÎŁSÎŁC)/(nÎŁS2 - (ÎŁS)2) Â where S = log of scale or size, C = log of count, n = number of sizes, m = slope of the regression line

For other regression lines, S=the value along the x-axis, and y = the value along the y-axis.Â Â

### Correlation

How is the correlation (r2) for the regression line calculated? r2= [(nÎŁSC-ÎŁSÎŁC)/â [(nÎŁS2-(ÎŁS)2)(nÎŁC2-(ÎŁC)2)] ]2 where S = log of scale or size, C = log of count, n = number of sizes, b = y-intercept of the regression line

### Y-intercept

How is the y-intercept of the regression line calculated? y int = (ÎŁC-mÎŁS)/n where S = log of scale or size, C = log of count, n = number of sizes, m = slope of the regression line

### Prefactor

How is the prefactor for the scaling rule calculated? The prefactor A: A = Eulers ey-int y = AXDB Where for y = AXDB, -DB = slope of the regression line and y-int = the y-intercept of the regression lineÂ

### CV

CV stands for coefficient of variation = standard deviation/mean. CV2 = [Ď/Îź]2=Î In FracLac, it is used to calculate lacunarity It is a measure of variation in pixel distribution for regular box counting and sliding box lacunarity. It measures variation in a set of data and is calculated as the standard deviation over the mean for the data. It can be multiplied by 100 or squared, depending on the usage.