Displaying 20 results from an estimated 1000 matches similar to: "a Bootstrap understanding problem"
2003 Nov 12
2
bug in det using method="qr" (PR#1244) (PR#4450)
I just detected, that det() is not working on complex matrices any more,
due to the fix to the bug reports noted above. I am not happy with this,
as determinants are perfectly usable on complex matrices.
AFAIUI the bugs resulted from less than optimal behaviour of qr() in
certain cases. IMHO this is due to the unhappy decision to use a default for
parameter tol to decide whether the the
2001 Sep 03
1
R-1.3.0-1.3.1.diff does not patch correctly
Subj. says it. The patch contains several lines complaining about "No newline".
After removing these the patch was applicable.
--
Dipl.-Math. Wilhelm Bernhard Kloke
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2006 Jan 11
1
F-test degree of freedoms in lme4 ?
I have a problem moving from multistratum aov analysis to lmer.
My dataset has observations of ampl at 4 levels of gapf and 2 levels of bl
on 6 subjects levels VP, with 2 replicates wg each, and is balanced.
Here is the summary of this set with aov:
>> summary(aov(ampl~gapf*bl+Error(VP/(bl*gapf)),hframe2))
>
>Error: VP
> Df Sum Sq Mean Sq F value Pr(>F)
>Residuals
2001 Sep 05
1
spam on R lists --> refuse mail??
We get caught occasionally, and we all receive spam;
sorry for the last one (on R-help). Of course, there will never be a 100%
sure prevention...
Question is what should happen when mail from R-help to an adressee
is refused with the following message : At least I won't be able to easily send
e-mail to them {and am not willing to use a non-easy way}....
----- Transcript of session
2001 Aug 09
1
converting a BMDP 8V mixed model to R / nlme
[Sorry, In case this is repeating a message already sent to the list].
I am trying to move a project to R (base or nlme), for which I have a
partial
solution in BMDP 8V. Here is the 8V control language:
/input title='Augenbewegungen'.
variables=4.
file='latm.dat'.
format='11x,f7.0,f7.0,f12.4,f10.0'.
/variables names=
llat,rlat,vg,diff.
/design
2007 Oct 31
3
Find A, given B where B=A'A
Given a matrix B, where B=A'A, how can I find A?
In other words, if I have a matrix B which I know is another matrix A times
its transpose, can I find matrix A?
Thanks,
Mike
2013 Mar 12
1
Bootstrap BCa confidence limits with your own resamples
I like to bootstrap regression models, saving the entire set of bootstrapped
regression coefficients for later use so that I can get confidence limits
for a whole set of contrasts derived from the coefficients. I'm finding
that ordinary bootstrap percentile confidence limits can provide poor
coverage for odds ratios for binary logistic models with small N. So I'm
exploring BCa confidence
2001 Aug 09
0
converting BMDP 8V mixed model treatment to R ?
I am trying to translate a given BMDP 8V problem treatment to something
approximately equivalent in nlme package (or base R, if sufficient).
(Of course, it is not my goal to end there. I want to get access to the
advanced flexibility of a more modern treatment.) Here is the problem
statement in BMDP control language:
/input title='Augenbewegungen'.
variables=4.
2002 Jul 15
0
unhappy with aov performance
As the subject says, I am unhappy with R's aov performance. I have a
data
set containing 25000 cases. This causes thrashing even with very
moderate
formulae, because the model matrix has quite a lot of lines.
The study has 9x3x2x2x2 (or so) design factors. Is there a recommended
method for pre-condensing the data before inputting them into aov in R?
I want to be able to preserve the person
2010 Aug 16
2
When to use bootstrap confidence intervals?
Hello, I have a question regarding bootstrap confidence intervals.
Suppose we have a data set consisting of single measurements, and that
the measurements are independent but the distribution is unknown. If
we want a confidence interval for the population mean, when should a
bootstrap confidence interval be preferred over the elementary t
interval?
I was hoping the answer would be
2004 Apr 20
2
Indexing by factor misfeature
Yesterday I was biten by a feature, which I find too dangerous.
I wanted to use a factor `Subject?? as index into a data frame, whose row
names were the levels of this factor. So there a 2 different possible
interpretations of this: Either Subject is coerced to numeric or to
character. The intended interpretation was, of course, `as.character(Subject)'.
R did `as.numeric(Subject)??. This will
2002 Aug 16
2
[nlme] BLUPs for a new subject in a fitted lme model?
I am seeking for a method to calculate, given a fitted lme model
and some data for a subject, the random effects predictors
for this subject. I can only find predictors for the subjects used in
creating the fit. Of course I could just add the subject and redo the fit.
But I want to avoid just this refitting.
Thanks for help
wbk
2007 Jan 26
1
bootstrap bca confidence intervals for large number of statistics in one model; library("boot")
Sometimes one might like to obtain pointwise bootstrap bias-corrected,
accelerated (BCA) confidence intervals for a large number of statistics
computed from a single dataset. For instance, one might like to get
(so as to plot graphically) bootstrap confidence bands for the fitted
values in a regression model.
(Example: Chiu S et al., Early Acceleration of Head Circumference in
Children with
2011 Mar 06
1
bootstrap
In the boot package,consider a scalar function to boot.
> estimator <- function(x, d) {
+ mean(x[d])
+ }
>
> data <- city$u
> b <- boot(data, estimator, R=1000)
> b$t0
[1] 64
> ci <- boot.ci(b, type=c("bca"), conf=.95)
> ci$bca
conf
[1,] 0.95 49.44 991.39 36.78807 110.0254
Now if I want estimators to return a vector,E.g. it's
{c(mean(x[d]),
2007 Sep 04
1
bootstrap confidence intervals with previously existing bootstrap sample
Dear R users,
I am new to R. I would like to calculate bootstrap confidence intervals
using the BCa method for a parameter of interest. My situation is this: I
already have a set of 1000 bootstrap replicates created from my original
data set. I have already calculated the statistic of interest for each
bootstrap replicate, and have also calculated the mean for this statistic
across all the
2010 Feb 25
1
Help with simple bootstrap test
Hi all
Forgive me, I'm a total R newbie, and this seems to be a straightforward
simple bootstrap problem, but after a whole day of trying to figure out how
to do it I'm ready to give up. Part of the problem is that every example and
every help page seems to be about doing something more far more complex.
I'm got a table with 40 columns and 750 rows. I sum all the values across
the
2017 Aug 16
1
Bias-corrected percentile confidence intervals
Hi folks,
I'm trying to estimate bias-corrected percentile (BCP) confidence
intervals on a vector from a simple for loop used for resampling. I am
attempting to follow steps in Manly, B. 1998. Randomization, bootstrap
and monte carlo methods in biology. 2nd edition., p. 48. PDF of the
approach/steps should be available here:
https://wyocoopunit.box.com/s/9vm4vgmbx5h7um809bvg6u7wr392v6i9
If
2003 Jul 31
1
namespace magic
I'm confused about name spaces. This morning I installed the
boot package because I wanted to look at bca.ci. So I did
library(boot), but then I had,
> bca.ci
Error: Object "bca.ci" not found
I had a look in the boot R directory and bca.ci was there as expected.
So then I took a look at the NAMESPACE file for the boot package and saw
that bca.ci wasn't exported. I tried
2009 Jun 12
1
Studentized intervals
I am trying to find studentized bootstrap intervals for the skewness of a data set. I have tried the following (nerve.dat is a set of data containing observations on one variable) (using Windows XP):
x <- scan("e:/Flashbackup2009/Nonparametrics/nerve.dat")
n <- length(x)
library(e1071)
skewness(x)
library(boot)
sampleskew <- function(x,d) {return(skewness(x[d]))}
bb <-
2004 Jul 26
1
group definition for a bootstrap
Hi,
This is probably really simple, but I am clearly not R-minded, I have read
the help files, and reread them, and I still can't work out what to do...
I have a data frame (d) with 3 columns (age (0-5), quarter (1-4) and x).
I want to estimate the precision of my mean x by age and quarter, so I want
to carry out a bootstrap for each group.
I am trying to do this within a loop, so I don't