Hi all,

suppose I've got a vector y with some data (from a repeated measure
design) observed given the conditions in f1 and f2. I've got a model
with two unknown fix constants a and b which tries to predict y with
respect to the values in f1 and f2. Here is an exsample

# "data"
y <- c(runif(10, -1,0), runif(10,0,1))
# f1
f1 <- rep(c(-1.4, 1.4), rep(10,2))
# f2
f2 <- rep(c(-.5, .5), rep(10,2))

Suppose my simple model looks like

y = a/f1 + b*f2

Is there a function in R which can compute the estimates for a and b?
And is it possible to test the model, eg how "good" the fits of the
model are?

Thanks, Sven

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to