# routine in R (r-project)

I have the following problem that has to be solved in R ( i need all code).

There is a file with 3 variables a, b, c, and a dependent variable y, all separated by "|" (you can create a file with 100000 rows with randomly generated numbers).

1) Run linear regression producing y' = f(a, b, c).

1a) Save regression formula

2) Replace y with y'

3) Create another file with exponential weighted values of each a, b, c, and y' we will call them aw, bw, cw are weighted using multiple e1 based on previous values, yw is weighted using multiple e2 and is based of forward values of y'.

4) Merge resulting files from steps 2 and 3

5) Run regression, producing field y''. y" = f(a, b, c, aw, bw, cw) y'' should be added as 9th field in file.

5a) Save regression formula

6) Produce statistical analysis of the results

Once you have code for the above,

7) Write steps 1-7 into a formula (this formula will have parameters filename, e1, e2, and will produce r square as the result.

8) Use rmalschains package to produce formula with minimum r square.

9) Produce resulting linear coefficients for a, b, c, aw, bw, cw as well as e1, e2

This should all be done in one routine and I need everything in lightly documented code (ie point out steps 1, 2, etc).

Please let me know if you have any questions.

I work in the financial industry look forward to developing an ongoing relationship with the winning bidder.

( 9 reviews ) Brooklyn, United States

Project ID: #4478712

## Awarded to:

robbierayas

Hello, I have done many linear regressions in R. I can also read data from and save data to a file as needed. This sounds like a good opportunity for future work and I am excited to work with you. Robbie

\$35 USD in 3 days
(0 Reviews)
0.0

## 16 freelancers are bidding on average \$128 for this job

renardpaul

Hello, I can implement this project for you in R. Please check PM for a couple of questions. Thanks, Paul

\$250 USD in 5 days
(11 Reviews)
5.2
extinct

I am a experienced R coder and statistician. I am very happy to assist.

\$88 USD in 3 days
(10 Reviews)
5.0
diegoforteza

Hi I'm a statistician from Uruguay and I have plenty of experience in data analysis. I use R every day.

\$77 USD in 7 days
(3 Reviews)
3.4

Hello, I am a statistician. I am proficient in R. Lets give a try. Thanks, Kazi

\$165 USD in 3 days
(2 Reviews)
2.8
stanek

I am interested in this project.

\$74 USD in 1 day
(0 Reviews)
0.0
bvan83

Working in analytics industry for the last 2 years. We also have a team of experts to hep you in this problem.

\$71 USD in 3 days
(0 Reviews)
0.0
sreeparvathy07

Hi I have been working in R for the past 6 months and also have experience on linear regression. I believe I can help you out in this request. I have a few queries on the problem,which we could discuss once we have More

\$74 USD in 3 days
(0 Reviews)
0.0
designinglloo

I can do this. Do hope to build a long-term relationship.

\$154 USD in 3 days
(0 Reviews)
0.0
kala76cbn

dear aradata, I can do this job. Good in R command.

\$71 USD in 4 days
(0 Reviews)
0.0
mathstat

R expert here.

\$220 USD in 3 days
(0 Reviews)
0.0
mephistopheies

Hi, we are team of data miners, we work on python, matlab, c# and R.

\$220 USD in 5 days
(0 Reviews)
0.0
alphaedge999

I am interested in this project.

\$242 USD in 14 days
(0 Reviews)
0.0
RoitE

Hi, the project is interesting . Pls check you pmb.

\$165 USD in 3 days
(0 Reviews)
0.0
nvthuyne

I have a very good knowledge of R, and am happy to work together with you on this project

\$82 USD in 1 day
(0 Reviews)
0.0
sebastianwise

I am a professional statistical modeller and use R every day.

\$66 USD in 1 day
(0 Reviews)
0.0