Open ThisIsLorenzo opened 4 months ago
I had a meeting with Shinichi, and this is what we concluded:
robust
no coeftest
function).coeftest()
function (i.e., coeftest(*lm object*, vcov. = vcovHC)
) to taking into account heteroscedasticity but we decided to do not do it because all other studies that provide slope and SE did not do it and we want to keep slope and errors values consistent.
https://github.com/ThisIsLorenzo/PFAS_Trophic_Magnification/blob/a8aeec0edf5d7e5ece631c192ab868798dfe510d/R/code.Rmd#L58
Some studies do not report the slope and its SE. So I am extracting raw data from linear regressions. Doing so, I am collecting means and standard deviations of each observation in the regression. However, PFAS concentrations are not in the log scale. For this reasons, I need to log transform the means (PFAS concentrations) and their standard deviations before running a linear regression analysis. This is to make slopes and errors consistent. For the means, I can simply log transform them. But what about the standard deviations? What formula can I use to convert SD into the log scale? @itchyshin