[R] test regression against given slope for reduced major axis regression (RMA)

Patrick Drechsler patrick at pdrechsler.de
Fri Jul 14 12:11:56 CEST 2006


Patrick Drechsler wrote on 11 Jul 2006 02:10:21 MET:

[...]
> I am now confronted with the problem that I have data which
> requires a modelII regression (also called reduced major axes
> regression (RMA) or geometric mean regression). For this I use
> the function "modelII" (see below).
>
> What would be a good way of adapting
> "test_regression_against_slope" for use with RMA regression?
>
> The question I am trying to answer is: "Does the slope acquired
> from experimental data differ significantly from theoretical
> predictions?"

JFTR: David Warton's "smatr" package solves the problem.
-- 
"You know the world is going crazy when the best rapper is a white
guy, the best golfer is a black guy, the Swiss hold the America's Cup,
France is accusing the US of arrogance, and Germany doesn't want to go
to war."          -- Charles Barkley



More information about the R-help mailing list