IhsanKhaliq / valascotraceR

Validates ascotraceR model with data from the field experiments
0 stars 0 forks source link

Ensure that model run summaries are correct #4

Closed adamhsparks closed 2 years ago

adamhsparks commented 2 years ago

Current model run summaries indicate a much lower infection rate than the previous summaries.

@IhsanKhaliq posted this in another issue, this represents the previous version of the summary figure.

The new summary figures show about 1/2 or even less of these values for the disease intensity at the end of season. I need to double check my calculations when summarising.

adamhsparks commented 2 years ago

great news!

adamhsparks commented 2 years ago

I've fixed the model summaries! It was the summarising by run and then quadrat causing the issues. It looks like it's producing much better estimates of how the disease progressed spatially when an infected growing point == infected quadrant.

I goofed. I needed to take the mean value of all 20 runs and summarise that into a single data frame and then calculate whether a quadrant had infected growing points or not in it.

https://github.com/IhsanKhaliq/valascotraceR/commit/ab33d405f73fa9a6c1b2fff4c0acae375b131647

IhsanKhaliq commented 2 years ago

Closed ab33d40