Hello, I am having a problem figuring out how to model a continuous outcome (y) given a continuous predictor (x1) and two levels of nested categorical predictors (x3 nested in x2). The data are observational, not from a designed experiment. There are about 15 levels of x2 and between 3 and 14 levels of x3 nested within each level of x2. There are between 6 and 50 x1,y observations for each unique x3 (i.e. the data are unbalanced) . I would like to get a prediction equation for y based on x1 and the levels of x2 and x3, and be able to test for significant effects of the levels of x2 and x3. The variables x2 and x3 are drawn from a fixed population. [[alternative HTML version deleted]]
Hello, I am having a problem figuring out how to model a continuous outcome (y) given a continuous predictor (x1) and two levels of nested categorical predictors (x3 nested in x2). The data are observational, not from a designed experiment. There are about 15 levels of x2 and between 3 and 14 levels of x3 nested within each level of x2. There are between 6 and 50 x1 and y observations for each unique x3 (i.e. the data are unbalanced). I would like to get a prediction equation for y based on x1 and the levels of x2 and x3, and be able to test for significant effects of the levels of x2 and x3. The variables x2 and x3 are drawn from a fixed population. I deeply appreciate your assistance if available to assist. R/Bob [[alternative HTML version deleted]]
Whoa, easy there: members of the list are volunteers, allow some time before expecting a reply... On Sep 30, 2010, at 3:19 PM, Robert Quinn wrote:> Hello, I am having a problem figuring out how to model a continuous > outcome > (y) given a continuous predictor (x1) and two levels of nested > categorical > predictors (x3 nested in x2). The data are observational, not from a > designed experiment. There are about 15 levels of x2 and between 3 > and 14 > levels of x3 nested within each level of x2. There are between 6 and > 50 x1 > and y observations for each unique x3 (i.e. the data are > unbalanced). I > would like to get a prediction equation for y based on x1 and the > levels of > x2 and x3, and be able to test for significant effects of the levels > of x2 > and x3. The variables x2 and x3 are drawn from a fixed population. > I deeply > appreciate your assistance if available to assist. R/Bob > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Reasonably Related Threads
- Three-way ANOVA?
- Categorical Predictors for SVM (e1071)
- rms plot.Predict question: swapping x- and y- axis for categorical predictors
- Why can repeated measures anova with within & between subjects design not be done if group sizes are unbalanced?
- Lasso with Categorical Variables