search for: rformula

Displaying 3 results from an estimated 3 matches for "rformula".

Did you mean: formula
2009 Jun 01
1
LM/GLM can't find weights vector from within a function (PR#13735)
...it can't find the specified weights object "Erro em eval(expr, envir, enclos) : objeto 'W' n?o encontrado" (Error in eval(expr, envir, enclos) : object 'W' not found). The call from within the user-defined function where the error happens is: rReg<-lm(formula=rFormula,data=rData,subset=1:i,weights=W,x=TRUE,y=TRUE) where rFormula is a text string, rData is a 1422 x 17 timeSeries data matrix, both passed from the console, i is a counter, W is a 1422 x 1 numeric vector of weights declared locally within the function. The function definition is as follows: red...
2003 Dec 19
1
problem with rm.impute of the Design library
...850, 5960, 4910, 5550), y4<-c(7640, 6840, 6900, 6010, 7780, 7650, 7610, 7000, NA, NA, 7720, 5990, 6340, NA, 7360, 5910, 6310, NA, 5350, 5880)), last=c(4, 4, 4, 4, 4, 4, 4, 4, 3, 2, 4, 4, 4, 1, 4, 4, 4, 3, 4, 4)) imp.df <- rm.impute(pformula = ~ pre+pro+sex, y = df$y, last = df$last, rformula = ~ pre+pro+sex, n.impute = 2, data = df) Here the error: > imp.df <- rm.impute(pformula = ~ pre+pro+sex, y = df$y, last = df$last, + rformula = ~ pre+pro+sex, n.impute = 2, data = df) Imputation 1 Time period 1 : no dropouts Error in eval(expr, envir, enclos) : Object "in.period.i...
2007 Dec 06
1
correlation coefficient from qq plot
Hi, I am trying to figure out how to get the correlation coefficient for a QQ plot (residual plot). So to be more precise, I am creating the plot like this: qq.plot(rstudent(regrname), main = rformula, col=1) But want to also access (or compute) the correlation coefficient for that plot. Thanks, Tom [[alternative HTML version deleted]]