rknx / AvrBsT

Statistical analysis of bacterial dispersal in R
https://anujs.com.np/avrbst
1 stars 0 forks source link

Calculate lag from residuals #12

Open rknx opened 4 years ago

rknx commented 4 years ago
  1. Fit presence ~ week + dis + gene + gene:dis + gene:week + dir for field data.
  2. Get residuals.
  3. Merge residuals to each env dataframe and calculate fit.
  4. Determine best lag period.
rknx commented 4 years ago

Also calculate TSS from external cross-validation

rknx commented 4 years ago

Also calculate TSS from external cross-validation

  • Use GLM, not GLMM

Implemented

rknx commented 4 years ago
  1. Fit presence ~ week + dis + gene + gene:dis + gene:week + dir for field data.
  2. Get residuals.
  3. Merge residuals to each env dataframe and calculate fit.
  4. Determine best lag period.

need to figure how how to calculate and merge residuals ->