search for: irasharenow100

Displaying 7 results from an estimated 7 matches for "irasharenow100".

2013 Sep 25
1
Best and worst values for each date
...? ??? ??? ??? tail(x1[x1$Predict>0,],5) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? } ? ? ? ? ? ? ? ? ? ?????rbind(xhigh[rev(order(xhigh$Predict)),],xlow)}))? ##reverse the order of high values ?dim(res) #[1] 480?? 4 A.K. ________________________________ From: Ira Sharenow <irasharenow100 at yahoo.com> To: arun <smartpink111 at yahoo.com> Sent: Wednesday, September 25, 2013 12:55 PM Subject: Best and worst values for each date Arun, I hope you have been doing well. I have a new problem. I have two data frames, one for predictions and one for the actual returns. Each...
2010 Nov 28
2
Comparing two functions
Hi. I am new to R and facing a problem that I cannot solve. I am writing some basic functions. Then I would like to have a master function that allows me to call one of the functions which I created, but I cannot figure out how to do so. Below is an example. The functions rnormIra and runifIra both seem to work fine. I do not get an error message when entering the definition of the master
2013 Sep 23
0
Correlate rows of 2 matrices
...???? 1?????????? 2?????????? 3 ?#0.58411274 -0.02382329? 0.03760757 #or tapply(seq_along(indx),list(indx),FUN=function(x) cor(t(mNew[x,]),t(mNew[x,]))[2]) ?#???????? 1?????????? 2?????????? 3 ?#0.58411274 -0.02382329? 0.03760757 A.K. ________________________________ From: Ira Sharenow <irasharenow100 at yahoo.com> To: arun <smartpink111 at yahoo.com> Sent: Sunday, September 22, 2013 9:57 PM Subject: Correlate rows of 2 matrices Arun, I have a new problem for you. I have two data frames (or matrices) and row by row I want to take the correlations. So if I have a 3 row by 10 colu...
2013 Sep 27
0
Best and Worst values
...=cor(Predict,Actual,use="complete.obs")) ?head(CorRes) #??????? Date??? Correl #1 2006-01-03 0.7079585 #2 2006-01-04 0.6537652 #3 2006-01-05 0.6397637 #4 2006-01-06 0.7448979 #5 2006-01-09 0.7325796 #6 2006-01-10 0.6283132 Arun ________________________________ From: Ira Sharenow <irasharenow100 at yahoo.com> To: arun <smartpink111 at yahoo.com> Sent: Thursday, September 26, 2013 11:22 PM Subject: Re: Update, September 26, 2013 Arun, I may want to separate the longs and do a correlation and separate the shorts and do a correlation, but the more likely scenario is to have the...
2011 Jul 07
0
Seasonal correlations
I am an R newbie, and I am facing what is for me a challenging problem. I am trying to write functions to solve the following problems. It seems as though R offers so many options I am not sure how to approach the problem. I have a data frame with dates in the first column and returns in the remaining columns. I would like to give a user a variety of options. I designate Series1 as the
2014 Jun 30
2
Change database in SQL Server using RODBC
I wish to query tables that are NOT in the default SQL Server 2012 database. At work I am using SQL Server 2012 and Windows 7. I tested the following on my home set up of Server 2012 and Windows 7. I am using RStudio. I wish to connect to several SQL Server 2012 databases from R. This page helped me get started. http://andersspur.wordpress.com/2013/11/26/connect-r-to-sql-server-2012-and-14/
2017 Aug 27
2
Connect to postgreSQL
I am using RStudio Version1.0.143 on a Windows 7 machine. R version 3.4.0 I am trying to connect to a postgreSQL database with the following command, but I receive an error message that says my password is incorrect. Since I saved my password in a file, I think I remember it. I searched for a solution online, but cannot figure out what to do. If I have to change my password, please provide