search for: betamat2

Displaying 2 results from an estimated 2 matches for "betamat2".

Did you mean: betamat
2000 Dec 06
0
Stepwise Regression
...each iteration step. What did I do wrong? I'm using R version 1.1.1 on Windows NT. (I'm sorry if this is a stupid question but I didn't find the answer in the help file or the FAQs.) Thanks in advance for any help. Martina Erdbr?gge Here is my code with results: > lm44 <- lm(betamat2[, 2] ~ 1, data = fndaten, weights = fndaten$varin) > step(lm44, ~ (A + B + C + D)^4) Start: AIC= -20.5 betamat2[, 2] ~ 1 Df Sum of Sq RSS AIC + C 1 1.3500 2.5706 -25.2555 + B 1 1.2323 2.6882 -24.5393 <none> 3.9206 -20.5016 + A 1...
2008 Jan 20
2
Efficient way for multiplying vectors with a only certain number of rows in a matrix
Dear R-users, I am working on a problem that I am currently not able to solve efficiently. It is about multiplying one column of a matrix with only a certain number of rows of another matrix. Let me illustrate my problem with an example: n.obs = 800 n.rowsperobs = 300 n.param = 23 Designmat = matrix(rnorm(n.obs*n.rowsperobs*n.param),ncol=n.param) Betamat =