search for: resu1

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

Did you mean: res1
2013 Feb 26
2
Efficient way to perform linear regressions
...------------------------------------------------------------------------------------------------- M = matrix( NA, nrow = 10^4, ncol = 200) for (i in 1:10^4) { M[i,] = sample(c(0,1), size=200, replace = T) } X = cbind( rnorm(200,1,10) ,1:200, sample(1:10^5,200,T)) Y = rnorm(200) # loop version resu1=matrix(NA,nrow=10^4, ncol=2) resu2=matrix(NA,nrow=10^4, ncol=2) resu3=matrix(NA,nrow=10^4, ncol=2) resu4=matrix(NA,nrow=10^4, ncol=2) t1 = proc.time() for (i in 1:10^4) { fit.ls = lsfit( x = X[M[i,],], y = Y[M[i,]], intercept=F) resu1[i,] = c( fit.ls$coeff[2], sum((fit.ls$res)^2)) } t2 = proc.t...
2003 Dec 01
0
No subject
...ksch on ondcnrnbje jnlokejr` dnjslemrnb h onkswemh~ Swermni j`pr{ Sw`qrmhj` B]D. Q sb`femhel, ^phqr ^phdhweqjni thpl{ @mckerep Nqhonb L`jqhl Bk`dhlhpnbhw 234-0345 (lmncnj`m`k|m.), 361-3401, 361-3128, 361-47 Return-Path: <mlennert@ulb.ac.be> Delivered-To: samba@lists.samba.org Received: from resu1.ulb.ac.be (resu1.ulb.ac.be [164.15.59.200]) by lists.samba.org (Postfix) with ESMTP id E81174261 for <samba@lists.samba.org>; Fri, 8 Jun 2001 04:02:49 -0700 (PDT) Received: from mach.vub.ac.be (mach.ulb.ac.be [164.15.128.3]) by resu1.ulb.ac.be (8.8.8/3.17.1.ap (resu)) id MAA25099; Fri,...