Find Jobs
Hire Freelancers

R and MySQL -- Need within 10 hours

$10-30 USD

İptal edildi
İlan edilme: yaklaşık 7 yıl önce

$10-30 USD

Teslimde ödenir
I uploaded two .sql files which you will use for below: 1. Use twitter message table inside twitter database: • Use SQL to get one user id who posts the most tweets. You can only use one query to get the id. • Extract the msg date and the tweets from the database into R. • Remove the stop words, non-English words from all tweets. • Calculate the length (number of words) for each tweet. The output will become a data frame with 2 columns (date and tweet length). • Download spx data using R package (such as quantmod). The range of the date is the same as the date range in previous tweet data frame. Then, you should calculate daily return of spx. • Merge the stock data frame and tweet data frame together by date. And run linear regression using return as dependent variable, tweet length as independent variable. • Show the summary result of the linear regression. 2. • Write a R function to extract data from SQL database, accounting table. • The input variables are two vectors, year and sector. • The output variable is a data frame with 5 columns, sector, ticker, sales, size, ratio. • The function should take the input year and sector vector into a SQL query, pass it to database, and get the data. The data comes from accounting table, with year and sector equals to your inputs. If your inputs are more than 1 values, the selected data should have sector and year included in the input vector. • After you fetch the data, calculate the size as logarithm of totalassets, and ratio as totalliabilities/totalassets. Sales comes from the data directly. 3. • Use previous function to fetch the data. • Randomly pick up 3 sectors and 1 year from the database. You need to use SQL query to get all unique sectors and years, then use R function like sample() to select the sample. You should remove NULL value in sector and year. • Use the above sectors and year as input into the function to get the output. If the number of observation in one sector is less than 100, re-generate the data. • Split the data into training (50%) and testing (50%) dataset. • Pick up a classification method, train the model using training data set and predict the sector of testing dataset. You can pick up any classification methods that we learned or a new method. The sales, size and ratio are 3 input variable. Sector will be output label. • Write a R function to repeat the previous step (start from splitting data into training and testing sets). The input variable is N (equals to the repeating time). The output is prediction accuracy rate on testing dataset. In the function, you should run the classification N times with re-sampled datasets and get different accuracy rate. Then you should return the average accuracy rate as output. • Run the function with input N = 5 and show the result.
Proje No: 13956396

Proje hakkında

3 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 7 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
3 freelancer bu proje için ortalama $111 USD teklif veriyor
Kullanıcı Avatarı
Hello sir I have download the files and get the data are you still interested by my profile ? I can achieve it in the next 8 hours best regards
$133 USD 1 gün içinde
5,0 (69 değerlendirme)
6,2
6,2
Kullanıcı Avatarı
Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve. Here is the reason. Why you should pick me? a) I am a very expert and have the same kind of experience of 5 years. b) I work very hard (16+ hours a day and 7 days a week) and also very fast so... it will be done very soon than most of the other providers c) And most important part is my policy: "I will give you (to my client) life time support (as long as you keep relation with me). And fix any bugs/problem without any cost. So, don't ever worry about me” Please sir, leave a reply ASAP, as I am waiting for your kind reply
$100 USD 1 gün içinde
4,8 (21 değerlendirme)
5,7
5,7
Kullanıcı Avatarı
Hello. How are you. I have read and understood the project. I have strong knowledge in Probability&Statistics, Finance and Machine Learning etc . And I'm expert in R, Matlab, Python etc. I'm interested this project. So, firstly I want to discuss with you about this project. Then I'll be happy. I wait for your good reply. Thanks.
$101 USD 1 gün içinde
5,0 (4 değerlendirme)
3,0
3,0

Müşteri hakkında

   UNITED STATES bayrağı
New York, United States
5,0
3
Ödeme yöntemi onaylandı
Eki 6, 2014 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.