[R] Simple question regarding to specifying model

BvZ alastairgreig at hotmail.com
Wed Oct 12 20:25:06 CEST 2011


I have hunted around but cannot find the command which allows me to specify
parameters of a model.

For example,

model.m1 <- nls(y ~ alpha * x1/(beta + x1), data = data, start = list(beta =
20, alpha = 120), trace = TRUE)

This will estimate the parameters, which allows to investigate the
residuals.

What I would like to do is fix the parameters to the data that I have
estimated elsewhere, to analyse their residuals. For example,

model.m2 <- y ~ 80 * x1/30 +x1 ??????

Thanks


--
View this message in context: http://r.789695.n4.nabble.com/Simple-question-regarding-to-specifying-model-tp3899049p3899049.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list