[R] log-normal Centile

2010-12-01 Thread Robert Quinn
I am having problems trying to get R to graph data input that is log-normal on the horizontal (x) axis. The data is log (base 10), and I am more interested in viewing the tails of the distribution. The closest I can get with this is log on the vertical (y) axis and linear on the horizontal axis.

[R] log-normal centile on horizontal axis

2010-11-30 Thread Robert Quinn
I am having problems trying to get R to graph data input that is log-normal on the horizontal axis like the example I have attached and is also below. The data is log (base 10), and I am more interested in viewing the tails of the distribution. The closest I can get with this is log on the vertica

[R] Regression with groups and nested sub-groups

2010-10-14 Thread Robert Quinn
I have the following formula for a linear model: z <- lm(y~x + factor(a) + factor(b), data=NT2010) where a (groups) and b (Sub-groups) are categorical variables (factors), x is a continuous covariate, and y the response variable. Since b is nested within a, the formula can also be written as:

[R] Nested unbalanced regression analysis

2010-09-30 Thread Robert Quinn
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 level

[R] nested unbalanced regression analysis

2010-09-30 Thread Robert Quinn
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 level

[R] (no subject)

2010-09-30 Thread Robert Quinn
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 level