Difference between revisions of "POPs in Baltic herring"

From Testiwiki
Jump to: navigation, search
(See also)
m (Rationale: fixed the resultsall posterior calculation precision to SD)
Line 78: Line 78:
 
   Meanlog = aggregate(Compound, compdat["POP"], mean)$x, #calculate mean for logdata
 
   Meanlog = aggregate(Compound, compdat["POP"], mean)$x, #calculate mean for logdata
 
   Sdlog = aggregate(Compound, compdat["POP"], sd)$x, #calculate sd for logdata
 
   Sdlog = aggregate(Compound, compdat["POP"], sd)$x, #calculate sd for logdata
   Meanpost = c(mean(out[[4]][[1]]), #calculate mean of mu for posterior (test 4)
+
   Meanpost = c(mean((out[[4]])[,1]), #calculate mean of mu for posterior (test 4)
               mean(out[[4]][[2]]),
+
               mean((out[[4]])[,2]),
               mean(out[[4]][[3]])
+
               mean((out[[4]])[,3])
  ),
+
    ),
  Sdpost =  c(mean(out[[4]][[4]]), #calculate mean of mu for posterior (test 4)
+
    Sdpost =  c(sqrt(1/(mean((out[[4]])[,4]))), #calculate mean of mu for posterior (test 4)
              mean(out[[4]][[5]]),
+
                sqrt(1/(mean((out[[4]])[,5]))),
              mean(out[[4]][[6]])
+
                sqrt(1/(mean((out[[4]])[,6])))
  )
+
    )
 
)
 
)
  

Revision as of 09:36, 18 April 2016



Question

What are the concentrations of persistent organic pollutants (POPs) in Baltic sea fish.

Answer

Rationale

POP concentrations in Baltic sea fish have been measured from samples collected in EU-kalat project.

+ Show code

See also

References