Displaying 20 results from an estimated 100 matches similar to: "Generating abnormal returns in R"
2011 Jul 21
1
for/if loop in R
hi,
Can someone please help me figure out where I am making a mistake in my for/if loop:
I have a data frame (112 rows) called pricedata with 3 columns: date, prices, return.
Now, I want to add a 4th column, trend, which can have 2 values 0 or 1. if return>1%, trend=1 else trend=0.
so, this is what I did:
>trend<-numeric(nrow(pricedata))
>cbind(pricedata,trend)
>for(i in
2008 Sep 25
3
OHLC Plot with EMA in it
Hi there
I have some timeseries data which I plot in a OHLC Plot. In the same
plot I'd like to have the EMA of this timeseries. I tried to add the
EMA point to OHLC with lines(), but this doesn't work. Has anyone an
idea how to handle it?
Regards, Michael Zak
2003 Aug 26
1
Problem starting Asterisk after abnormal shutdown
I've seen this happen a few times and I think it's when the system that Asterisk is running on crashes due
to a power failure (or for some other reason that causes a non-planned shutdown).
While Linux comes up fine, Asterisk won't start because the drivers are loading
in the wrong order. fixed by:
1) sh /usr/src/fix-asterisk-modules.sh
2) sh /etc/init.d/asterisk start
Is this a
2003 Dec 22
0
W98 abnormal behaviour
Hi all,
i've got a strange behaviour with W98 workstations :
I've samba3 running as a PDC on an heterogeneous network.
it's used for authentication only and profiles are disabled so we use the local
profile on workstation.
the configuration works fine for Win2k and XP. But on W98, it get an "standard"
profile from an unknown place and manage to write it on the server...
2003 Dec 23
0
W98 abnormal behaviour - Solved
hi all,
After inspecting different W98 configuration, it appears that if you've got
multiuser/session activated on a W98, it forces the use of remote profile on the
Samba server, in your personnal folder (/home/user).
desactivating this beahviour and all is right now.
cheers
2006 Aug 17
1
ATA: abnormal status on domain0
I have a problem with SATA disk.
Once, i start up my system (1 domain0 and 2 domainU on the same
machine), it is good. But, where some of them have high traffic and thus
require high disk usage i get this error in dom0''s dmesg:
ATA: abnormal status 0xD0 on port 0x9F7
ATA: abnormal status 0xD0 on port 0x9F7
ATA: abnormal status 0xD0 on port 0x9F7
ata1: command 0x35 timeout, stat 0xd0
2007 Feb 23
1
optim(method="L-BFGS-B") abnormal termination
Hi,
my call of optim() with the L-BFGS-B method ended with the following
error message: ERROR: ABNORMAL_TERMINATION_IN_LNSRCH
Further tracing shows:
Line search cannot locate an adequate point after 20 function and
gradient evaluations
final value 0.086627
stopped after 7 iterations
Could someone pls tell me whether it is possible to increase the limit
of 20 evaluations? Is it even worth
1999 Nov 02
1
R abnormal exit when plotting lm (PR#308)
<<insert bug report here>>
I had a "abnormal" exit of R plotting a fitted linear model. here's
the last few lines of the R session:
-------------------------------------------------------------------
> plot(blstrhz.lm)
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Hit <Return> to see next plot:
X Error of failed request: BadValue
2006 Oct 20
2
the worst scenario of ext3 after abnormal powerdown
Hi,
I have seen and heard many cases of ext3 corrupted after abnormal
powerdown (e.g. missing all the files in one directory). yes, UPS
should help, but wonder what kind of worst scenario will ext3 present
after powerdown.
messed up meta data has been seen in many cases, for example, the
in-direct block of one inode contains garbage, which causes the
automatic fsck failed to work and user has
2009 Sep 11
1
abnormal freezes
Hi,
I'm having a linux box running with Centos 5.3 x86 (kernel
2.6.18-128.7.1.el5xen) which is freezing time to time and can't login
neither trough console.
The only thing what I can do, to pass the situation is to power off/on
the pc.
The pc is used only as a torrent server running with transmission 1.74.
There are days when 400GB data traffic goes through the pc, and there
2011 Feb 03
1
Abnormal memory usage of dom0 under Squeeze leading to crash
Hi,
We normally run Lenny dom0 with 384 MB of RAM in our production server.
But as we did few trials with Squeeze, I had the very bad finding that a
Squeeze dom0 requires at least 1024 MB of RAM. As soon as I do something
like "xm mem-set Domain-0 800", my server crashes: OOM starts killing
processes, starting with sshd, then mdadm and so on, then the server
reboots by itself. This
2011 Feb 03
1
Abnormal memory usage of dom0 under Squeeze leading to crash
Hi,
We normally run Lenny dom0 with 384 MB of RAM in our production server.
But as we did few trials with Squeeze, I had the very bad finding that a
Squeeze dom0 requires at least 1024 MB of RAM. As soon as I do something
like "xm mem-set Domain-0 800", my server crashes: OOM starts killing
processes, starting with sshd, then mdadm and so on, then the server
reboots by itself. This
2005 Dec 23
2
Abnormal Pagination Using SQL Server
I''m using RoR 1.0, Windows 2000, and SQL Server 2000. I am connecting to
the database using these directions:
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer.
Using the scaffold generator to generate the default files (ruby
script/generate scaffold Location) I start up WebBrick and pull up the
page. There are 58 records in the table. I am given the first 10
2018 Apr 23
0
llc tool followed by g++ : Abnormal behavior while compiling assembly to object file
Hi Mahesh,
On 23 April 2018 at 10:51, Mahesh Attarde via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> movq .str at GOTPCREL(%rip),%rdi
> movq .str.1 at GOTPCREL(%rip),%rsi
That's quite strange. You wouldn't normally expect to access a
constant string via the GOT. It looks like LLVM has decided to put the
symbols in an odd section, so it'd be a good idea to make sure
2007 Jun 05
2
Abnormal Windows behaviour with Samba
Hello all,
I am using Samba v3.0.24 on an Ubuntu Server system as a fileserver for 30
pcs. Samba is working nice but I face a problem that I can't tell if it is
because of Samba or Windows. Let me explain:
On the Windows terminals (XP SP2) I have changed the special folders
settings in registry, so as to redirect them to samba shares instead of
local folders. Among the folders I have changed
2005 Oct 04
2
tc - in an abnormal LAN
Hello,
I have been reading the "Linux Advanced Routing & Traffic Control HOWTO" and
was hoping you might be able to give me a little help. I am very new to
Linux so please be gentle !?!
My network is slightly different to the normal.
I have a router with 4 ports DSL-D504T. In the house where I live 3 other
people have Win-XP machines on the 3 ports of the router. I have the
2010 Jan 12
3
optim: abnormal termination in lnsrch (resend)
[sorry, forgot some details...]
I'm using optim(param, fun, method='L-BFGS-B', lower=lo, upper=up) to
minimize a certain function.
Often the minimization ends with the message:
ERROR: ABNORMAL_TERMINATION_IN_LNSRCH
What is optim() trying to say?
What have I to change in my function to make the minimization succeed?
Do you think using BBoptim() instead of optim() changes anything?
2018 Apr 23
2
llc tool followed by g++ : Abnormal behavior while compiling assembly to object file
Hi
I am executing following steps to convert assembly to object code.
llc -march=x86-64 -filetype=asm input.ll -o input.s
g++ -g -c -o input.s --input.o
inshort
ll --> llc --> .s -->g++ -->obj
original source was something like this
{
printf(" **** %s ****",str);
}
input.s turn out to be
movq .str at GOTPCREL(%rip),%rdi
movq .str.1 at GOTPCREL(%rip),%rsi
xorl
2007 Jun 18
0
Dom U Installation problems in RHEL5 + Xen (abnormal exit)
Hello,
I installed Xen on RHEL 5.
After that I have been trying to install a guest RHEL4.5 os .
I use the gui and a http based installation..The installation starts and suddenly I get ''install exited abnormally'' error.
But after this I see the new domain listed in Virtual Machine Manager . But I cannot type any thing to its console . I am attaching the Virtual Machine screen
2018 Mar 12
1
Problem with data base after abnormal shutdown
Hello;
last week the power (energy) of the servers fail and it shutdown all.
When the power restart in the check I find that the samba4 AD DC have
problems. It work, but the users in some of the container or OU
dissapear, I mean, when I check with the RSAT the OU in with the user
most be, is empty
When I try to run # samba-tool dbcheck this is what I have:
[root at gtmad ~]# samba-tool