Difference between revisions of "POPs in Baltic salmon"

From Testiwiki
Jump to: navigation, search
(Page created, R-code copied from POPs in Baltic Herring)
 
m (Answer: fixed the resultsall posterior calculations and precision to SD)
Line 74: Line 74:
 
   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])))
  )
+
    )
 
)
 
)
  
Line 89: Line 89:
  
 
</rcode>
 
</rcode>
 
  
 
== Rationale ==
 
== Rationale ==

Revision as of 09:39, 18 April 2016



Question

What are the levels of persistent organic pollutants (POPs) in Baltic sea salmon?

Answer

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

+ Show code

Rationale

Dependencies

Formula

See also

Keywords

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>

POPs in Baltic salmon. Opasnet . [1]. Accessed 20 May 2024.