Difference between revisions of "EU-kalat"

From Testiwiki
Jump to: navigation, search
m (Bayes model for dioxin concentrations)
(Bayes model for dioxin concentrations)
 
(2 intermediate revisions by the same user not shown)
Line 140: Line 140:
  
 
indices <- list(
 
indices <- list(
   Compound.TEQ2 = c("TEQdx", "TEQpcb"),
+
   Compound.TEQ2 = c("PCDDF", "PCB"),
 
   Compound.PCDDF14 = as.character(unique(euRaw@data$POP)[c(1:12, 14, 15)]), # 7 OCDD should be removed
 
   Compound.PCDDF14 = as.character(unique(euRaw@data$POP)[c(1:12, 14, 15)]), # 7 OCDD should be removed
 
   Fish.Fish14 = as.character(unique(euRaw@data$Fish_species)[c(1:4, 6:14, 17)])
 
   Fish.Fish14 = as.character(unique(euRaw@data$Fish_species)[c(1:4, 6:14, 17)])
Line 171: Line 171:
 
* Model run 22.5.2017 with TEQdx and TEQpcb as the only Compounds [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=2vTgALXXTzLgd4l1]
 
* Model run 22.5.2017 with TEQdx and TEQpcb as the only Compounds [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=2vTgALXXTzLgd4l1]
 
* Model run 23.5.2017 debugged [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=rMSAZy6PSKzKhHwp] [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=1P7ZPBbghEfisEcH] [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=BcZDhfjpv3fa4IRU]
 
* Model run 23.5.2017 debugged [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=rMSAZy6PSKzKhHwp] [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=1P7ZPBbghEfisEcH] [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=BcZDhfjpv3fa4IRU]
 +
* Model run 24.5.2017 TEQdx, TECpcb -> PCDDF, PCB [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=kNNzEMTSD4N2f0Yy]
  
 
<rcode name="bayes" label="Sample Bayes model (for developers only)" graphics=1>
 
<rcode name="bayes" label="Sample Bayes model (for developers only)" graphics=1>
Line 195: Line 196:
  
 
replaces <- list(
 
replaces <- list(
   c("Chlorinated dibenzo-p-dioxins", "TEQdx"),
+
   c("Chlorinated dibenzo-p-dioxins", "PCDDF"),
   c("Chlorinated dibenzofurans", "TEQdx"),
+
   c("Chlorinated dibenzofurans", "PCDDF"),
   c("Mono-ortho-substituted PCBs", "TEQpcb"),
+
   c("Mono-ortho-substituted PCBs", "PCB"),
   c("Non-ortho-substituted PCBs", "TEQpcb")
+
   c("Non-ortho-substituted PCBs", "PCB")
 
)
 
)
  
Line 211: Line 212:
  
 
# PCDD/F concentrations in fish.
 
# PCDD/F concentrations in fish.
# It uses the TEQ sum of PCDD/F (TEQdx) as the total concentration
+
# It uses the TEQ sum of PCDD/F (PCDDF) as the total concentration
# of dioxin and TEQpcb respectively for PCB in fish.
+
# of dioxin and PCB respectively for PCB in fish.
# TEQdx depends on age of fish, fish species and catchment area,
+
# PCDDF depends on age of fish, fish species and catchment area,
 
# but we only have species now so other variables are omitted.
 
# but we only have species now so other variables are omitted.
 
# cong depends on fish species.
 
# cong depends on fish species.
Line 230: Line 231:
  
 
#> colnames(eu3)
 
#> colnames(eu3)
#[1] "THLcode"        "Fish"            "euResult.TEQdx"  "euResult.TEQpcb"
+
#[1] "THLcode"        "Fish"            "euResult.PCDDF"  "euResult.PCB"
  
 
# Find the level of quantification for dinterval function
 
# Find the level of quantification for dinterval function
Line 355: Line 356:
 
## scatterplotMatrix(t(samps.j$mu1[,,1]), main = "Means for all compounds of the generic fish")
 
## scatterplotMatrix(t(samps.j$mu1[,,1]), main = "Means for all compounds of the generic fish")
 
scatterplotMatrix(t(samps.j$pred1[,,1]), main = "Prediction for all compounds of the generic fish")
 
scatterplotMatrix(t(samps.j$pred1[,,1]), main = "Prediction for all compounds of the generic fish")
scatterplotMatrix(t(samps.j$pred[,1,,1]), main = "Predictions for all fish species for TEQdx")
+
scatterplotMatrix(t(samps.j$pred[,1,,1]), main = "Predictions for all fish species for PCDDF")
scatterplotMatrix(t(samps.j$Omega[6,2,,,1]), main = "Predictions of Omega for pike and TEQpcb")
+
scatterplotMatrix(t(samps.j$Omega[6,2,,,1]), main = "Predictions of Omega for pike and PCB")
  
 
coda.j <- coda.samples(
 
coda.j <- coda.samples(
Line 367: Line 368:
 
</rcode>
 
</rcode>
  
'''Initiate concentration
+
'''Initiate conc_pcddf
  
 
* Model run 19.5.2017 [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=ystfGN6yfNwWNfnq]
 
* Model run 19.5.2017 [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=ystfGN6yfNwWNfnq]
 
* Model run 23.5.2017 with bugs fixed [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=8iYF4GXFO9bUnld4]
 
* Model run 23.5.2017 with bugs fixed [http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=8iYF4GXFO9bUnld4]
  
<rcode name="initiate" label="Initiate concentration (for developers only)">
+
<rcode name="initiate" label="Initiate conc_pcddf (for developers only)">
 
# This is code Op_en3104/initiate on page [[EU-kalat]]
 
# This is code Op_en3104/initiate on page [[EU-kalat]]
  
 
library(OpasnetUtils)
 
library(OpasnetUtils)
  
concentration <- Ovariable(
+
conc_pcddf <- Ovariable(
   "concentration",
+
   "conc_pcddf",
 
   dependencies = data.frame(Name = "conc.param", Ident = "Op_en3104/bayes"),
 
   dependencies = data.frame(Name = "conc.param", Ident = "Op_en3104/bayes"),
 
   formula = function(...) {
 
   formula = function(...) {
 
     require(MASS)
 
     require(MASS)
 +
    require(reshape2)
 
     jsp <- lapply(1:length(conc.param$mu[, 1]), FUN = function(x) {
 
     jsp <- lapply(1:length(conc.param$mu[, 1]), FUN = function(x) {
 
       temp <- exp(mvrnorm(
 
       temp <- exp(mvrnorm(
Line 402: Line 404:
 
)
 
)
  
objects.store(concentration)
+
objects.store(conc_pcddf)
cat("Ovariable concentration stored.\n")
+
cat("Ovariable conc_pcddf stored.\n")
 
</rcode>
 
</rcode>
 +
 +
{{attack|# |These codes should be coherent with [[POPs in Baltic herring]].|--[[User:Jouni|Jouni]] ([[User talk:Jouni|talk]]) 12:14, 7 June 2017 (UTC)}}
  
 
==See also==
 
==See also==

Latest revision as of 07:26, 9 June 2017


EU-kalat is a study, where concentrations of PCDD/Fs, PCBs, PBDEs and heavy metals have been measured from fish

Question

The scope of EU-kalat study was to measure concentrations of persistent organic pollutants (POPs) including dioxin (PCDD/F), PCB and BDE in fish from Baltic sea and Finnish inland lakes and rivers. [1] [2] [3].

Answer

The original sample results can be acquired from Opasnet base. The study showed that levels of PCDD/Fs and PCBs depends especially on the fish species. Highest levels were on salmon and large sized herring. Levels of PCDD/Fs exceeded maximum level of 4 pg TEQ/g fw multiple times. Levels of PCDD/Fs were correlated positively with age of the fish.

Mean congener concentrations as WHO2005-TEQ in Baltic herring can be printed out with the Run code below.

+ Show code

Rationale

Data

Data was collected between 2009-2010. The study contains years, tissue type, fish species, and fat content for each concentration measurement. Number of observations is 285.

There is a new study EU-kalat 3, which will produce results in 2016.

Calculations

+ Show code

Bayes model for dioxin concentrations

  • Model run 28.2.2017 [8]
  • Model run 28.2.2017 with corrected survey model [9]
  • Model run 28.2.2017 with Mu estimates [10]
  • Model run 1.3.2017 [11]
  • Model run 23.4.2017 [12] produces list conc.param and ovariable concentration
  • Model run 24.4.2017 [13]
  • Model run 19.5.2017 without ovariable concentration [14] # : The model does not mix well, so the results should not be used for final results. --Jouni (talk) 19:37, 19 May 2017 (UTC)
--# : Maybe we should just estimate TEQs until the problem is fixed. --Jouni (talk) 19:37, 19 May 2017 (UTC)
  • Model run 22.5.2017 with TEQdx and TEQpcb as the only Compounds [15]
  • Model run 23.5.2017 debugged [16] [17] [18]
  • Model run 24.5.2017 TEQdx, TECpcb -> PCDDF, PCB [19]

+ Show code

Initiate conc_pcddf

  • Model run 19.5.2017 [20]
  • Model run 23.5.2017 with bugs fixed [21]

+ Show code

# : These codes should be coherent with POPs in Baltic herring. --Jouni (talk) 12:14, 7 June 2017 (UTC)

See also

References

  1. A. Hallikainen, H. Kiviranta, P. Isosaari, T. Vartiainen, R. Parmanne, P.J. Vuorinen: Kotimaisen järvi- ja merikalan dioksiinien, furaanien, dioksiinien kaltaisten PCB-yhdisteiden ja polybromattujen difenyylieettereiden pitoisuudet. Elintarvikeviraston julkaisuja 1/2004. [1]
  2. E-R.Venäläinen, A. Hallikainen, R. Parmanne, P.J. Vuorinen: Kotimaisen järvi- ja merikalan raskasmetallipitoisuudet. Elintarvikeviraston julkaisuja 3/2004. [2]
  3. Anja Hallikainen, Riikka Airaksinen, Panu Rantakokko, Jani Koponen, Jaakko Mannio, Pekka J. Vuorinen, Timo Jääskeläinen, Hannu Kiviranta. Itämeren kalan ja muun kotimaisen kalan ympäristömyrkyt: PCDD/F-, PCB-, PBDE-, PFC- ja OT-yhdisteet. Eviran tutkimuksia 2/2011. ISSN 1797-2981 ISBN 978-952-225-083-4 [3]