Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • regression with more than one observation per x value

    0 answers - 964 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Sounds like you're looking for something like pure.error.anova in the `alr3'
    package on CRAN
    Andy
    From: Christoph Scherber
    Dear R users,
    How can I do a regression analysis in R where there is more than one
    observation per x value? I tried the example in Sokal&Rohlf
    (3rd edn.,
    1995), page 476 ff., but I somehow couldnt find a way to
    partition the
    sums of squares into "linear regression", "deviations from
    regression",
    and within-groups SS.
    I tried
    model1<-lm(y~as.numeric(x)+as.factor(x) #with treatment contrasts
    but I am sure theres a better way around it. I would be very
    happy if
    anyone could give me some suggestions on this.
    Best regards
    Christoph.
    R-help (AT) stat (DOT) math.ethz.ch mailing list
    PLEASE do read the posting guide!
    R-help (AT) stat (DOT) math.ethz.ch mailing list
    PLEASE do read the posting guide!

Re: regression with more than one observation per x value


max 4000 letters.
Your nickname that display:
In order to stop the spam: 2 + 1 =
QUESTION ON "Development"

EMSDN.COM