calculateParamDist
calculateParamDist
calculates the quality parameters of one iteration.
This function samples nregions
rows from the stat matrix and fits
the linear model lm(d ~ 0 + u + w)
calculateParamDist(i, stats, nregions)
data.table
object with the response and covariates for
the modela data.table
with both parameters and some extra info