Displaying 20 results from an estimated 2000 matches similar to: "600 people's time series"
2011 Apr 16
2
superimpose graphs
Hi there,
I have a data frame DF of over 600 people's short term trade data in time
order. Below is the simplified structure of the data.
id invest payout
[1] 1 10 -1
[2] 1 33 33
[3] 1 20 -5
[4] 2 200 33
[5] 2 33 -20
[6] 3 5 -5
[7] 3 5
2006 Oct 25
2
Isn''t it possible to stub / expect on :id ?
Hi all !
Running this:
@payout = stub_everything(:id => 141)
Payout.stubs(:find).with(@payout.id).returns(@payout)
Generates this warning:
./test/functional/payouts_controller_test.rb:22: warning: Object#id
will be deprecated; use Object#object_id
What am I missing ? :id is a fairly frequent method to override in
Rails-based applications.
I''m using Mocha from
2007 Apr 26
3
A coding question involving variable assignments in ifelse()
Dear List,
Below is a simple, standard loss model that takes into account the
terms of an insurance policy:
deductible <- 15
coverage.limit <- 75
insurance.threshold <- deductible + coverage.limit
tmpf <- function() {
loss <- rlnorm(rpois(1, 3), 2, 5)
sum(ifelse(loss > insurance.threshold, loss - coverage.limit,
pmin(loss, deductible)))
}
net <- replicate(1000000, tmpf())
2008 Dec 04
2
Ruby fun with MegaMillions
I thought I would write a lottery number generator since I have not had any
luck winning the big jackpot - http://megamillions.com/. So far, after over
1.2 million tries, I still have not hit all the numbers from yesterday: 2,
17, 22, 32, 51, 35 (last one is the mega ball).
Fun little project that and I thought others would be interested. Let me
know if you have a cleaner implementation in mind.
2012 Jan 13
1
Portfolio Optimization
Hi,
I'm an R newbie and I've been struggling with a optimization problem for
the past couple of days now.
Here's the problem - I have a matrix of expected payouts from different
stock option strategies. Each column in my matrix represents a different
stock and each row represents the return to the strategy given a certain
market move. So the rows are not a time series of percentage
2011 May 31
1
while loop problems
Hi , i am trying to get this loop in my r program to work but it is
not giving me the results that I desire. I am trying to model an
insurance contract where there are n securities that have a fixed
likelihood of default vector(data[i,2]) and a payout
vector(data[i,1]).
i need to price the value of stop losses at the security level and at
the portfolio level. to do this i created two while loops
2009 Apr 27
1
Extract one element from yahooKeystats data
I am trying to extract one particular piece of data(Float) from all
the data returned by yahooKeystats, but thus far I'm having no luck.
This is what I've got so far:
> library(fImport)
Loading required package: timeSeries
Loading required package: timeDate
> data<-yahooKeystats("IBM")
trying URL 'http://finance.yahoo.com/q/ks?s=IBM'
Content type 'text/html;
2019 Feb 24
2
SAMBA DNS interfaces set to br0
On a machine with virtual networking is enabled and two ether net
controllers eth0/192.168.1.2 and eth1/192.168.1.3 and having SAMBA smb.conf
set to:
dns interfaces = lo br0
is there a chance for:
1) The system not to boot with DNS working
2) The DNS server bounce between eth0 and eth1
3) The DNS server portion work on boot sometimes on eth0, but when software
restarted only work on eth1 or
2008 Mar 06
0
Thank you all for your overwhelming response !!!
Thank you all for your overwhelming response !!!
The site has awarded me and my downline an oppourtunity to make 27 US
Dollars (20$ + 6$ + 1$) right after the registration is done. So, in
addition to 6$ opening Survey, you all have 5 more 4$ surveys totalling to
an amount of 20$ and one more March special survey for 1$ (which will also
make you eligible for a lucky draw of 500$ -- Try your luck).
2016 Apr 01
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 01/04/16 21:20, Luke Barone wrote:
> Anyone able to chime in? Suggestions on where to go?
>
> On Thu, Mar 31, 2016 at 11:21 AM, Luke Barone <lukebarone at gmail.com> wrote:
>
>> Hi all,
>>
>> I upgraded Samba 3 to 4 when doing a Debian Wheezy to Jessie upgrade over
>> the last couple of weeks. Most things worked, but now that staff are back,
>>
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 17:37, Luke Barone wrote:
> [global]
> server max protocol = SMB2
> # Line above added by lbarone - March 30, 2016
> name resolve order = host wins lmhosts bcast
> write list = @domainadmins
> passwd chat = *new*password* %n\n *new*password* %n\n *updated*
> admin users = machine,add,lbarone, at domainadmins
> smb
2016 Apr 02
3
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 18:06, Luke Barone wrote:
> OK, I've tried commenting the line out. Ran /etc/init.d/samba reload,
> but no change. Should I try a full server reboot then?
>
> On Sat, Apr 2, 2016 at 9:51 AM, Rowland penny <rpenny at samba.org
> <mailto:rpenny at samba.org>> wrote:
>
> On 02/04/16 17:37, Luke Barone wrote:
>
> [global]
>
2014 Nov 09
1
Bug#767295: Bug#767295: Bug#767295: xl: apparent memory leak
On 11/09/2014 07:18 AM, Gedalya wrote:
> That memory block is just a bit larger than the size of the initrd in
> the VM, could there be a connection?
Nope. I changed the initrd to 2.6mb and that memory block is still
exactly at 23852 / 14464 / 14464.
Actually the process size is around 12 mb when pygrub is counting down
to boot, then jumps up to 14+ mb
2003 Aug 18
3
General Samba question
Greetings to all.
I am currently a bit of a newbie in regards using Linux and Samba. I have
worked for several years in the IT/digital divide sector of the nonprofit world
(particularly in regards to utilizing used and refurbished hardware). I am have
a couple of CompTIA certs. (A+ and N+) and some experience administering
Windows 2000 Advanced Server.
Anyway to my question....
I am
2007 Dec 18
0
PTC 0.01 / 0.2 $ global-click.info
New PTC site, pays 0.01 $ for your and referal ad view!! Upgraded
members get 0.2$ for ad view! Min payout 10$!! register now!
http://global-click.info/?r=eddys
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2019 Feb 24
0
SAMBA DNS interfaces set to br0
Am 24.02.19 um 16:51 schrieb Brian Davis via samba:
> On a machine with virtual networking is enabled and two ether net
> controllers eth0/192.168.1.2 and eth1/192.168.1.3 and having SAMBA smb.conf
> set to:
>
> dns interfaces = lo br0
>
> is there a chance for:
>
> 1) The system not to boot with DNS working
> 2) The DNS server bounce between eth0 and eth1
> 3)
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
OK, this is working with the Windows 7 clients now. Looks like it was just
a reboot. Now I have an issue with the Windows 10 clients... I'll open a
new thread about that...
On Sat, Apr 2, 2016 at 10:31 AM, Luke Barone <lukebarone at gmail.com> wrote:
> OK, I'm rebooting the server now. Removed that line first.
>
> SELinux and App Armour are not installed on the servers.
2005 Aug 07
1
request for clarification on Asterisk T.38 bounty
The bounty stands at $5,500. I'm seriously considering taking a shot
at it if I can find a decent T.38 provider to test with (I'm still
hoping for reliable PAYG T.38).
It looks like a lot of very smart people have done a lot of very hard
work (t38modem, spandsp) that would go towards getting this working.
At this point it appears to be mostly a matter of integration
2017 Dec 07
0
Revolutions blog: November 2017 roundup
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests have
written about R at the Revolutions blog (http://blog.revolutionanalytics.com)
and every month I post a summary of articles from the previous month of
particular interest to readers of r-help.
In case you missed them, here are some articles related to R from the
month of November:
R 3.4.3 "Kite Eating Tree" has
2009 Dec 05
1
integrate function
Hello,
I have some trouble in terms of using integrate function in R.
f1 is a function of p and x where x is supposed to be a vector. (See the
code).
Then I want to write function f2 which is a function of the vector
x after I integrate out p.
Can some one give me some help? Many thanks!
Hannah
> f1 <- function (p,x)
+ {
+ y <- p*x+(1-p)*x^{2}
+