Skip to content

Commit

Permalink
README mdoel imapc estiamtes up;oaded for gam models
Browse files Browse the repository at this point in the history
  • Loading branch information
HPCurtis committed Jun 26, 2024
1 parent fb4aebf commit b081c22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions R/data_anal_gam_ext.r
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ totalmean <- sum(Totalslaughteredimpact) * 1000
totalupper <- sum(Totalslaughteredimpactupper) * 1000
totallower <- sum(Totalslaughteredimpactlower) * 1000

#Tax levy calculation.
cattle_levy = 5
lost_revenue_mean = totalmean * cattle_levy
lost_revenue_upper = totalupper * cattle_levy
lost_revenue_lower = totallower * cattle_levy

# Model plots----
fitgam %>% draw() + xlab()
fitgam %>% appraise()
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ lost_revenue_lower = totallower * cattle_levy
|------------------------|------|---------|---|
| Total Cattle Slaughtered Linear|-7,408,400|-2,663,278|-12,153,521|
| Total Tax Revenue Cost $(AUS) Linear|37,041,999|13,316,392|60,767,606|
| Total Cattle Slaughtered GAM|-7,408,400|-2,663,278|-12,153,521|
| Total Tax Revenue Cost $(AUS) GAM|37,041,999|13,316,392|60,767,606|
| Total Cattle Slaughtered GAM|-5,526,122|-2,707,164|-8,345,080|
| Total Tax Revenue Cost $(AUS) GAM|27,630,611|13,535,822|41,725,400|

Table 1. Causal estimates of impact on the total number on cattle slaughtered post Coivd-19 and the associated tax lost. With associated 95% prediction intervals for uncertainty estimation.

Expand Down

0 comments on commit b081c22

Please sign in to comment.