similar to: Smoothing Techniques - short stepwise functions with spikes

Displaying 20 results from an estimated 4000 matches similar to: "Smoothing Techniques - short stepwise functions with spikes"

2009 Jun 19
1
(FULL) Need help to optimize a piece of code involving zoo objects
(Sorry, sent the message before I finished it) Hello, everyone I have a long script that uses zoo objects. In this script I used simple moving averages and these I can very efficiently calculate with filter() functions. Now, I have to use special "exponential" moving averages, and the only way I could write the code was with a for-loop, which makes everything extremely slow. I don't
2009 Jun 19
1
Need help to optimize a piece of code involving zoo objects
Hello, everyone I have a long script that uses zoo objects. In this script I used simple moving averages and these I can very efficiently calculate with filter() functions. Now, I have to use special "exponential" moving averages, and the only way I could write the code was with a for-loop, which makes everything extremely slow. I don't know how to optimize the code, but I need to
2011 Jan 30
1
SMA and EMA in package TTR
Hi, Just wondering for the SMA and EMA in package TTR, is it possible to me to code it so that, say if I need to calculate SMA (x, n=100), when the sample size is less than 100, it will give me the SMA (x, k) where k is the sample size of the data? Right now it only gives me an invalid n error. Thanks! [[alternative HTML version deleted]]
2010 Jan 29
5
random permuted block randomization
Hi, I am very new to R. Just started yesterday. I have to generate a sequence of 40 random treatments using permuted block randomization with a block size of 8. Then I have to plot moving averages for the resulting sequence. I have tried the sample function but I dont know if wht i did is right or not > sample(c(1,1,1,1,2,2,2,2),8) Any ideas please? -- Ayesha Khan MS Bioinformatics Dept. of
2013 Jun 19
1
Weird I/O hangs (9.1R, arcsas, interrupt spikes on uhci0)
Hi, very periodically, we see I/O hangs for about 10 seconds, roughly once per minute. Each time this happens, the I/O rate simply drops to zero, and all disk access hangs; this is also very noticeable on the shell, for NFS clients etc. Everything else (networking, kernel, ?) seems to continue normally. Environment: FreeBSD 9.1R GENERIC on amd64, using ZFS, on a ARC1320 PCIe with 24x Seagate
2004 Dec 13
3
CPU spikes with wcfxs loaded
I need to reopen this discussion because it's impossible to run spandsp (and VoIP) under these circumstances. With zaptel unloaded, I see the following "vmstat 1" output: no swapping, an occasional disk output, +/- 1003 interrupts/sec., less than 10 context switches/sec., CPU idle 100%. A very quiet system. I load modules zaptel and wcfxo, and the system utilization stays the
2005 Sep 03
13
acts_as_taggable v2 - Tagging on Steroids
Hi folks, Thanks to the community feedback on the 1st version, I''ve come up with a much improved version of the acts_as_taggable mixin. There´s some piece of the action here: http://dema.ruby.com.br/articles/2005/09/03/tagging-on-steroids-with-rails Cheers Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2010 Sep 24
5
Asterisk 1.62.13 - CPU spikes every 10 minutes
Hi, I've been getting regular CPU usage spikes(50%-80%), due to asterisk (according to top). I never noticed this on 1.4, and I have top running in the background pretty much all the time. In between those spikes Asterisk stays under 10% CPU usage (I have a transcoder card, which helps). It's very regular, never any missed spike, or any spike in between the regular spikes. I
2005 Aug 16
3
Rails Docs in CHM format
Hi Folks, For the Windows Railers, I''ve made the Rails docs available as a CHM file: http://dema.ruby.com.br/articles/2005/08/16/rails-docs-in-chm-format Cheers, Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2014 Aug 04
3
Tinc Network Spikes
Hi, ? I've recently moved from OpenVPN to Tinc for the mesh setup. Everything works nicely except for some looping packet issues. ? I have 12 servers around the United States, including a couple of moving clients. Every now and then the network is flooded with what I assume is looping packets. 200-300MB of bandwidth per node over 10-45 minutes (normally < 20 KB/s, idle). Most if not all
2004 Dec 15
3
wcfxs causing constant CPU spikes
Hi All, I have a problem (at least I think it's a problem) where the wcfxs module causes constant CPU usage spikes. The card being used is a Digium Wildcard TDM400P with 3 FXO modules and 1 FXS (TDM31B). Monitoring my otherwise idle asterisk box (with top) I see once every 3-5 seconds hi (hardware interrupt) spike to 30%-40% and then drop back to 0 again. This is the case wtih both asterisk
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
2011 May 05
1
quantmod's addTA plotting functions
Hi, I'm having trouble with quantmod's addTA plotting functions. They seem to work fine when run from the command line. But when run inside a function, only the last one run is visible. Here's an example. test.addTA <- function(from = "2010-06-01") { getSymbols("^GSPC", from = from) GSPC.close <- GSPC[,"GSPC.Close"] GSPC.EMA.3
2002 Aug 15
2
Power Failures or Spikes
Hi all, My server is connected to a UPS but whenever there is a power failure or spike it seems that once all the clients come back up they cannot connect. I have to restart the server each time. This is no hardship but I was just wondering if anybody had the same problem and if so and they fixed it, how? Thanks Tom Ansley
2005 Sep 06
9
acts_as_taggable v4 - Tag Counting Anyone?
There´s already a new version of the acts_as_taggable mixin available and look what it is capable of now: # Gets the top 10 tags for all photos Photo.tags_count :limit => 10 # => { ''beer'' => 68, ''wine'' => 37, ''vodka'' => ''22'', ... } # Gets the tags count that are greater than 30 Photo.tags_count :count =>
2005 Jun 20
2
FXO/FXS cpu spikes, data loss and ztclock.
Digging further into the FXO cpu spike vs clock issue, I removed the 18.432 MHZ crystal from an FXO card and replaced it with a 20.000 MHZ crystal. This of course forced the zaptel timing way off ~ 93% accurate using ztclock. I then proceeded to modify the wcfxo.c driver source code to set the proper PLL divider values to return the DAA clock back to 8 Khz. I came up with the values of N1=25,
1999 Nov 16
1
spikes in contour and persp (PR#327)
The following matrix of normed likelihoods should give a smooth surface but instead gives a series of spikes in both persp and contour (the dim labels are the axes values). I know an algorithm cannot be infallible but it would be nice to have some parameters to control the smoothing. (It takes close to an hour to produce this matrix on a Pentium II 300mh. It was after that that it crashed with the
2012 May 21
1
Need help in doing EMA(Exponential Mean Average).
Can somebody help me in finding package/Example in R which could do EMA(Exponential Mean Average). I installed "TTR" package but the 'EMA" function which I was trying to use is giving the following error. Error: Could not find function "EMA" Thanks & Regards, Thomas [[alternative HTML version deleted]]
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David