Compare the run times of non-vector vs. vector functions.
Write a non-vector version of the cbind function, implemented with a double for loop. Call it mycbind. Your function should input two n x n matrices and return an n x 2n matrix.
Create n x n input matrices for cbind by filling them with random numbers like this:
A <- matrix(runif(n * n), n, n)
B <- matrix(runif(n * n), n, n)
Use the [login to view URL] function to time the execution of mycbind on n x n matrices, where n takes on the values
200 400 600 800 1,000 1,200 1,400 1,600 1,800 2,000
Adjust these values of n up or down as you see fit. My version of mycbind when run with 2000 x 2000 input matrices required 21.34 seconds of execution time.
Also time the performance of the builtin cbind function with the same input matrices.
You can graph the results on the same graph, but can use different graphs if this makes more sense. Your script should save the output from [login to view URL] and pass this data directly to the plot function. Don't recopy the data by hand.
I can perform the analysis using any kind of Statistical Software like R, SPSS , MINITAB Eviews Statistica etc
I Will perform analysis like ,
Regression ,Time series ,Panel Data
Experimental Designs
Factor analysis , principle component analysis
Bayesian analysis and other types of Data analysis
Also i will provide
Output and well explained interpretations
with a comprehensive report
At the same time i can help you to do any statistics related
Reports
Presentations
Homework
Tutorials
Questionnaires
Hi,
Below is my experience, and I can deliver you quality work with in specified or agreed time.
Myself Ph.D. in advanced analytics having 10+ years of experience in developing and delivering analytical projects using open source R (including in-memory computing), and can deliver your requirement with R, accompanied by a step-by-step word document, what each line or code means.
As, freelancer.com bid does not allow for attaching; cannot showcase my expertise in this area. I am available at freelance chat (click on my name and options), to understand the requirements and explain my approach if required in detail.
Waiting for your reply (or) initiation for chat discussion.
Regards,
Dr. Kumar PM.
We are a team of experts which deal with various projects such as:
> writing
>technical writing
>Engineering
> PCB designing
>FPGA >Verilog /VHDL
> MATLAB
>Wolfram Mathematica
>Mathematics
>Calculus
> SPSS
>LabView
>Statistic
>CUDA
>OpenGL
>Linkedin
>Pattern recognition
>Image processing
>signal processing
>C++/C programming
>Latex
>ETC
We are ready for hiring right now, contact us and we guarantee you on time delivery and perfect quality with a reasonable budget thanks a lot.
I am Herilalaina RASOLONJATOVO from Madagascar, and I am an expert in Data Analysis using R programming and I can help you do this project according to your specification. I have done several projects in this field in the past and locally in my country. I have gone through your requirements and I am ready to start work as soon as possible. Please see my portfolio and respond to give a go ahead so work can start.
Thank you in advance,
Herilalaina RASOLONJATOVO.
Dear employer:
I understood that you have already your own version of mycbind function, but you want to compare it not only with a vector function, but with another version of a non vector function (not yours). If thats the goal, I can help you. I can proposr my own version of mycbind function with a double for loop and make the graphs you want.
Regards
Hello,
as R platform manager at bayer cropscience, I am well versed in creating and benchmarking functions. I think this is an interesting problem, but I would like to have some additional information.
The first thing I noticed is that you already have a function mycbind. I would therefor like to know some more on the tasks that you expect from me as freelancer?
Always ready for a constructive discussion,
With kind regards,
Nicky
Hi, Matt here and can help you - scripting in R for two years (PhD student).
UPDATE: bid lowered, it's not that hard as anticipated first.
The script will be developed using RStudio on MacBook Pro. Generating of two matrices will be done as a function so calling it with a different number (200 to 2,000) will be done in the loop and timing the calculation.
All calculation times will be stored in variables to be displayed on one graph (also scripted - e.g. you receive one script to create all). Simple linear plot (line graph) will do, showing cbind and non-cbind various times for all numbers of data.
If you require, I can adapt script to R Markdown so a Word document, HTML page or PDF file can be created (let me know).
Looking forward to your reply. I have no other active work on Freelancer currently (frozen projects, work done).
Regards,
Matt