January 22, 2011 Off

foreach. Slow?

By Matthias Templ in Software

Parallelisation on 100 additional knodes is necessary that foreach competites with a usual (very slowly) for() loop.
(recall what this means in respect to polluting our environment by higher energy consumption…)

system.time(x <- foreach(b = bvec, .combine = “cbind”) %:%
foreach(a = avec, .combine = “c”) %dopar% {sim(a, b)})

After having a deeper look at the example it turns out the computation time increases linear with complexity of this problem (just as the for loop). Profiling shows that most of the time is wasted by the $ operator which is used internally by foreeach (second which()).

I wonder who can give an example where foreach works fine with respect to computation time?

Matthias

January 22, 2011 0

Rd to tex

By Matthias Templ in Software

To convert Rd file to tex files just write in the console:
R CMD Rdconv –type=latex –output=filename.tex filename.Rd

January 22, 2011 2

Contributing to Social Inclusion Measurement

By Matthias Templ in Lectures

During our AMELI-project (see PROJECTS) we evaluate methods for poverty measurement using the European Statistics on Income and Living Conditions Survey (EU-SILC).
Semiar works, practicas and diploma thesis can be done during this projects in the topics: statistical simulation, visualisation of indicators, robust methods for social inclusion indicators and survey methodology.

January 22, 2011 0

International Conference on Indicators and Survey Methodology

By Matthias Templ in Misc

Held at the Vienna University of Technolgy from February 24 – 26, 2010. Details can be found

January 22, 2011 0

International Workshop on Exploratory Data Analysis and Visualization (EDAVIS 2010)

By Matthias Templ in Misc

Held at Statistics Austria from May 27 – 28, 2010. Details can be found HERE .

January 22, 2011 0

data-analysis OG

By Matthias Templ in Misc

Visit: www.data-analysis.at – data-analysis OG for consulting and coaching. We are the experts which helps you to visualize and analyze your data to support your decisions in your company.

January 22, 2011 1

About Me

By Matthias Templ in Lectures

Matthias Templ is senior researcher and lecturer at the Vienna University of Technology, researcher at the methods unit in Statistics Austria. He is founder and owner (together with Alexander Kowarik and Bernhard Meindl) of data-analysis OG , a company for professional coaching in data analysis and statistics and consulting.
His research interests includes Computational [...]