Displaying 20 results from an estimated 10000 matches similar to: "Resampling Question"
2013 Jan 18
0
repeat resampling with different subsample sizes
Hi,
I'm trying to write a code (see below) to randomly resample measurements of
one variable (say here the variable "counts" in the data frame "dat") with
different resampled subsample sizes.
The code works fine for a single resampled subsample size (in the code below
= 10).
I then tried to generalize this by writing a function with a loop, where in
each loop the function
2009 Nov 15
2
resampling problem counting number of means above a specific value
I am trying to modify some code from Good 2005.
I am trying to resample the mean of 8 values and then count how many
times the resampled mean is greater than 10. But my count of means
above 10 is coming out as zero, which I know isn't correct.
I would appreciate it if someone could look at the code below and tell
me what I am doing wrong.
Many thanks,
Graham
> LL<-
2009 Nov 19
1
Want help on data resampling!
Dear all.
I have a data matrix that each row containing a specific individual's information including individual observation and properties. I'm trying to use R to create some bootstrap samples with this data matrix. I have tried the boot() function in boot package, but it seems that this function need one or more statistic to be summarized. I can't just get my data resampled. I
2011 Mar 01
2
bootstrap resampling - simplified
Hello there,
I have a problem concerning bootstrapping in R - especially focusing on the resampling part of it. I try to sum it up in a simplified way so that I would not confuse anybody.
I have a small database consisting of 20 observations (basically numbers from 1 to 20, I mean: 1, 2, 3, 4, 5, ... 18, 19, 20).
I would like to resample this database many times for the bootstrap process with
2011 Mar 01
2
bootstrap resampling question
Hello there,
I have a problem concerning bootstrapping in R - especially focusing on the resampling part of it. I try to sum it up in a simplified way so that I would not confuse anybody.
I have a small database consisting of 20 observations (basically numbers from 1 to 20, I mean: 1, 2, 3, 4, 5, ... 18, 19, 20).
I would like to resample this database many times for the bootstrap process with
2007 May 25
1
Speeding up resampling of rows from a large matrix
I'm trying to:
Resample with replacement pairs of distinct rows from a 120 x 65,000
matrix H of 0's and 1's. For each resampled pair sum the resulting 2
x 65,000 matrix by column:
0 1 0 1 ...
+
0 0 1 1 ...
_______
= 0 1 1 2 ...
For each column accumulate the number of 0's, 1's and 2's over the
resamples to obtain a 3 x 65,000 matrix G.
For those
2008 May 04
1
Residual resampling for non linear reg model
I was attempting to use the residual resampling approach to generate 999 bootstrap samples of alpha and beta and find their confidence intervals. However, I keep getting the error message:Error in nls(resample.mp ~ cases/(alpha + (beta * cases)), start = init.values, : singular gradientafter R has only produced a few bootstraps.Could anyone suggest where I am going wrong? Would greatly
2011 Jan 04
1
Resampling to find Confidence intervals
Hi, I'm doing some modelling (lm) for my 3rd year dissertation and I
want to do some resampling, especially as I'm working with microbes,
getting them to evolve resistance to antimicrobial compounds, and after
each exposure I'm measuring the minimum concentration required to kill
them (which I'm expecting to rise over time, or exposures), I have 5
lineages per cleaner, and
2012 Mar 28
1
resampling for correlation and testing
Hello all R-er,
I'm trying to run a resampling method on some data. The current method I have takes 2+ days or a lot of memory . I was wondering if anyone has a better suggestion.
Currently I take a matrix and get the correlation matrix from it. This will be called rho.A. Each element in this will be tested against the distribution from the resampled correlation B matrix.
Some example
2002 Dec 22
1
oggdropXPd.exe crashes when resampling is activated
I need to encode a WAV to OGG but must resample to 22050 samples per second,
but can't do that with oggdropXPd.exe. The application always crashes.
What I do is:
Start oggdropXPd.exe. Right-click on fish, choosing 'Encoding Options'.
Under Advanced Options, I set Re-sample to 22050 samples per second. Click
'Accept'. Drag WAV on fish. In the directory where the WAV originates,
2010 Sep 29
2
resampling issue
I am trying to get R to resample my dataset of two columns of age and length
data for fish. I got it to work, but it is not resampling every replicate.
Instead, it resamples my data once and then repeated it 5 times.
Here is my dataset of 9 fish samples with an age and length for each one:
Age Length
2 200
5 450
6 600
7 702
8 798
5 453
4 399
1 120
2 202
Here is my code which resamples my
2011 Oct 20
1
p-val issue for ranked two-group test
Hi-
I'm wondering if anyone can help me with my code. I'm coming up dry
when I try to get a p-value from the following code. If I make a
histogram of my resampled distribution, I find the difference between
by groups to be significant. I've ranked the data since I have
outliers in one of my groups.
mange= c(35, 60, 81, 158, 89, 130, 90, 38, 119, 137, 52, 30,
27,
2004 Apr 02
2
resampling to 48 kHz
One thing that has always bothered me about the ogg
format is the distortion of high frequency sounds -
even at data rates as high 128 and 160 kbps. I find
the best way around this is to resample the wav file
to 48 kHz (using SoundForge 6.0) before encoding
(using CDex) to ogg. It takes a while, and adds a lot
of extra wear and tear on my drive, but what a
difference! The result is an 80k ogg file
2004 Jun 08
0
bootstrap: stratified resampling
Dear All,
I was writing a small wrapper to bootstrap a classification algorithm, but if
we generate the indices in the "usual way" as:
bootindex <- sample(index, N, replace = TRUE)
there is a non-zero probability that all the samples belong to only
one class, thus leading to problems in the fitting (or that some classes will
end up with only one sample, which will be a problem
2008 Nov 14
0
SPEEX on iPhone ?
On Fri, Nov 14, 2008 at 3:57 AM, Vincent Burel
<vincent.burel at vb-audio.com>wrote:
> > Speech compression algorithms always are tunned to particular freq,
> > else they would take tons of time. That's because they use knowledge
> > that speech pitch (and other params) lies in well specified regions.
> > Thus if you feed algorithm with wrong freq, you'll
2017 Aug 19
0
bootstrap subject resampling: resampled subject codes surface as list/vector indices
I din't have the patience to go through your missive in detail, but do
note that it is not reproducible, as you have not provided a "data"
object. You **are** asked to provide a small reproducible example by
the posting guide.
Of course, others with more patience and/or more smarts may not need
the reprex to figure out what's going on. But if not ...
Cheers,
Bert
Bert Gunter
2004 Sep 14
3
Audio Resampling Library Suggestions?
Can anyone recommend a good library for performing audio downsampling?
I intend to start playing around with "libresample"
(http://ccrma-www.stanford.edu/~jos/resample/README-libresample-0.1.3.txt),
as well as taking a look at "Secret Rabbit Code"
(http://www.mega-nerd.com/SRC/), but I'd love some opinions before I get too
involved with either.
Free would be best, but
2006 Oct 24
1
Resampling Audio for use with Asterisk
Hello All,
I have several soundfiles that are recorded ub 44100Hz, 16-bit Mono. What
is the best way and right tools to use to downsample these to 8000Hz so that
they can be used with Asterisk. I've tried using sox with the -r switch and
Audacity on the mac and Goldwave on Windows and they all generate files that
sound like a bad acid trip. I tried increasing the speed 551.25 percent
after
2012 Oct 17
1
opus Digest, Vol 45, Issue 5
hi,All,
I want to know whether Opus has AEC features like Speex?
Thanks
2012/10/17 <opus-request at xiph.org>
> Send opus mailing list submissions to
> opus at xiph.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xiph.org/mailman/listinfo/opus
> or, via email, send a message with subject or body 'help' to
2009 Jul 15
0
FW: problems in resampling time series, block length, trend.test
Hi,
I have a time series (say "x") of 13 years showing an evident increase. I want to exclude two observations (the fourth and 10th), so I do:
> trend.test(x[-c(4,10)])
where:
> x[-c(4,10)]
[1] 7 37 79 72 197 385 636 705 700 1500 1900
and I get:
Spearman's rank correlation rho
data: x[-c(4, 10)] and time(x[-c(4, 10)])
S = 4, p-value < 2.2e-16