search for: ols2

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

Did you mean: ols
2009 May 19
4
nlrwr package. Error when fitting the optimal Box-Cox transformation with two variables
Dear all: I'm trying to fit the optimal Box-Cox transformation related to nls (see the code below) for the demand of money data in Green (3th Edition) but in the last step R gives the next error message. Error en `[.data.frame`(eval(object$data), , as.character(formula(object)[[2]])[2]) : undefined columns selected. ?Any idea to solve the problem? Thanks in advance,
2011 Nov 11
1
Fwd: Use of R for VECM
...sjd.vecm1 <- ca.jo(sjd, ecdet='const', type="eigen", K=3, spec="longrun", + season=4) > sjd.vecm2 <- ca.jo(sjd, ecdet='const', type="eigen", K=3, spec="transitory", + season=4) > sjd.vecm.ols1 <- cajools(sjd.vecm1) > sjd.vecm.ols2 <- cajools(sjd.vecm2) > summary(sjd.vecm.ols1) Response Y.d : Call: lm(formula = substitute(Y.d), data = data.mat) Residuals: Min 1Q Median 3Q Max -0.0049787 -0.0012948 0.0000703 0.0009653 0.0063192 Coefficients: Estimate Std. Error t value...
2009 Mar 25
3
very fast OLS regression?
Dear R experts: I just tried some simple test that told me that hand computing the OLS coefficients is about 3-10 times as fast as using the built-in lm() function. (code included below.) Most of the time, I do not care, because I like the convenience, and I presume some of the time goes into saving a lot of stuff that I may or may not need. But when I do want to learn the properties of an