myfunction <>
And the <>real programming languages have fits.
But it seems to work. The fact that I can, in about four lines of code, load in data, run a GAM model on it and plot the results, makes me very happy.
>>¡°I think it addresses a niche market for high-end data analysts that want free, readily available code," said Anne H. Milley, director of technology product marketing at SAS. She adds, ¡°We have customers who build engines for aircraft. I am happy they are not using freeware when I get on a jet.¡±That's the sound a marketroid makes just before getting hit by a locomotive.
if( 3 == x )
.case,response,var1,var2,var3 1,0,1,-3,0.2 2,0.1,2,-5,0.4 3,2,4,-2,0.01 ...where rows are cases and columns give you the value of your regressors in each case, then the following should give you a multiple regression:
your.data <- read.csv("your-data.csv", header = 1, row.names = 1) model <- lm(response ~ var1 + var2 + var3, data = your.data) summary(model)A useful PDF is here.
deb http://cran.stat.ucla.edu/bin/linux/ubuntu karmic/
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys E2A11821
Usually "for loop aversion" is just a smokescreen for scripting languages that are too slow to do any real work themselves (e.g., Matlab), so to get any sort of performance they have to ship off large batch operations to "real code" written in C, which will then promptly run a for loop.I think Matlab now uses just-in-time compilation to evaluate loops, so that the loop body is (slowly) parsed only once rather than each time through the loop body. There's occasionally discussion on the Octave mailing lists about adding this feature, but it seems unlikely to happen soon for a number of reasons.
« Older Because Pop Rocks | Prince rehearsal videos, 1984 Newer »
This thread has been archived and is closed to new comments
That is all.
posted by Jimbob at 4:10 PM on February 15, 2010 [1 favorite]