Lung cancer cases due to radon in Europe: Difference between revisions
(→An alternative code for Finland: more fancy stuff. Population and disease from summary tables; redundant columns shown as summary) |
(→An alternative code for Finland: code improved) |
||
Line 92: | Line 92: | ||
cat("Run the actual model.\n") | cat("Run the actual model.\n") | ||
out <- dropall(out) | out <- dropall(out) | ||
print(xtable(t(out[1, ])), type = 'html') | tst <- rep(TRUE, ncol(out)) # tst: are all values in a column the same? | ||
for(i in 1:ncol(out)){tst[i] <- nlevels(as.factor(out[, i])) == 1} | |||
print(xtable(t(out[1, tst])), type = 'html') | |||
out$Out <- (out$ERF - 1) / out$ERF * out$Exposure * out$Response * out$Amount / 100000 | |||
for(i in 1:ncol(out)){tst[i] <- nlevels(as.factor(out[, i])) == 1} | for(i in 1:ncol(out)){tst[i] <- nlevels(as.factor(out[, i])) == 1} | ||
print(xtable(out[, !tst]), type = 'html') | print(xtable(out[, !tst]), type = 'html') | ||
</rcode> | </rcode> | ||
{{attack|# |For some reason Population in the data.frame pop is named "x", after with the matching goes wrong (not a critical error. However, the reason for this must be found out.|--[[User:Jouni|Jouni]] 15:58, 3 January 2012 (EET)}} | {{attack invalid|# |For some reason Population in the data.frame pop is named "x", after with the matching goes wrong (not a critical error. However, the reason for this must be found out.|--[[User:Jouni|Jouni]] 15:58, 3 January 2012 (EET)}} | ||
: {{attack|# |The reason was that in summary.bring there was a case where a data.frame was sliced to one row and one column, and then it was considered an atomic vector with no colnames. When it was merged with a data.frame, a default colname was created. This was corrected by replacing the default name back with the original. However, a more clever way would be appreciated.|--[[User:Jouni|Jouni]] 09:17, 4 January 2012 (EET)}} | |||
{{attack|# |Response in data.frame bg is text (or factor) instead of numeric. Why?|--[[User:Jouni|Jouni]] 15:58, 3 January 2012 (EET)}} | {{attack|# |Response in data.frame bg is text (or factor) instead of numeric. Why?|--[[User:Jouni|Jouni]] 15:58, 3 January 2012 (EET)}} |
Revision as of 07:17, 4 January 2012
Moderator:Teemu R (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
Scope
Mortality due to indoor radon concentrations.
- Spatial: Europe
- Temporal: years 2010-2050
Definition
- Lung cancer cases calculated from radon concentration using <math>cases = relative risk * background rate of cases * concentration * population</math>. RR taken from HEIMTSA and INTARESE (Darby 2004; Darby 2005).
- Background rate of new lung cancers is assumed constant for the whole Europe: 58.2 cases per 100,000 population (Globocan 2008, crude rate).
- Linear no threshold model assumed.
- In a given iteration, radon concentrations are assumed equal in all residences in a country.
Data
Dependencies
- Radon concentrations in European residences
- Population of Europe
- Lung cancer mortality in Europe (from WHO mortality data)
- ERF of radon exposure on lung cancer (heande:ERFs of several pollutants)
Unit
cases per year
Formula
- This code features R functions described on pages Opasnet Base Connection for R and Operating intelligently with multidimensional arrays in R.
An alternative code for Finland
This code uses the summary table approach for obtaining data. The data sources are the same except ERF for long-term indoor exposure to radon and lung cancer (summary table Category:Exposure-response functions) and Exposure to indoor radon in Finland (summary table Category:Exposures).
⇤--#: . For some reason Population in the data.frame pop is named "x", after with the matching goes wrong (not a critical error. However, the reason for this must be found out. --Jouni 15:58, 3 January 2012 (EET) (type: truth; paradigms: science: attack)
- ⇤--#: . The reason was that in summary.bring there was a case where a data.frame was sliced to one row and one column, and then it was considered an atomic vector with no colnames. When it was merged with a data.frame, a default colname was created. This was corrected by replacing the default name back with the original. However, a more clever way would be appreciated. --Jouni 09:17, 4 January 2012 (EET) (type: truth; paradigms: science: attack)
⇤--#: . Response in data.frame bg is text (or factor) instead of numeric. Why? --Jouni 15:58, 3 January 2012 (EET) (type: truth; paradigms: science: attack)
Result
{{#opasnet_base_link:Op_en4715}}
Year | ||||
---|---|---|---|---|
Policy | 2010 | 2020 | 2030 | 2050 |
BAU | 42691 (22042-95542) | 51138 (24733-111979) | 57618 (25785-137181) | 62461 (27023-143632) |
All | NA | 53385 (25402-130453) | 68338 (28863-171718) | 81873 (31372-239696) |
Biomass | NA | NA | NA | 81849 (32497-218247) |
Insulation | NA | NA | NA | 80534 (32445-236962) |
Renovation | NA | NA | NA | 94075 (35396-288323) |
Country of observation | Mean | SD |
---|---|---|
Austria | 1105 | 1146 |
Belgium | 857 | 796 |
Bulgaria | 303 | 382 |
Switzerland | 1636 | 2835 |
Cyprus | 10 | 14 |
Germany | 4754 | 4305 |
Denmark | 382 | 408 |
Estonia | 222 | 239 |
Spain | 8245 | 15249 |
Finland | 805 | 792 |
France | 8204 | 12176 |
Greece | 857 | 977 |
Hungary | 1583 | 1985 |
Ireland | 533 | 580 |
Italy | 5035 | 5117 |
Lithuania | 223 | 233 |
Luxembourg | 68 | 64 |
Latvia | 229 | 289 |
Malta | 43 | 50 |
Netherlands | 504 | 338 |
Norway | 566 | 667 |
Poland | 2175 | 1864 |
Portugal | 1183 | 1208 |
Romania | 1233 | 1357 |
Sweden | 1353 | 1475 |
Slovakia | 586 | 661 |
Total | 42691 |
See also
Keywords
References
Related files
<mfanonymousfilelist></mfanonymousfilelist>