Displaying 20 results from an estimated 300 matches similar to: "help with memory greedy storage"
2004 May 10
5
R versus SAS: lm performance
Hello,
A collegue of mine has compared the runtime of a linear model + anova in SAS and S+. He got the same results, but SAS took a bit more than a minute whereas S+ took 17 minutes. I've tried it in R (1.9.0) and it took 15 min. Neither machine run out of memory, and I assume that all machines have similar hardware, but the S+ and SAS machines are on windows whereas the R machine is Redhat
2008 Apr 27
2
Raising a matrix to the (-1/2) power.
Hi, I need to raise a correlation matrix; R; to the negative one half power.
i.e. I need to find R^(-1/2)
eg: if R=[{1,.4},{.4,1}], then R^(-1/2)=[{1.0681,-.2229},
{-.2229,1.0681}]where matrix=[{row1},{row2}]
And are there any built in functions to do this? mtx.exp doesn't work
because it's not raised to a positive integer
Thank you so much.
--
View this message in context:
2004 Apr 27
2
paste dimnames problem
Hello,
I've the following list n:
> n
[[1]]
[1] "NEW" "OLD" "PRG"
[[2]]
[1] "04h" "24h"
[[3]]
[1] "000mM" "010mM" "025mM" "050mM" "100mM"
where
n <- dimnames(some.multidim.array)
I'm trying to define a generic function that generates meaningful names from this list, e.g.
2004 Apr 20
0
strange result with contrasts
Hello,
I'm trying to reproduce some SAS result wit R (after I got suspicious with the result in R). I struggle with the contrasts in a linear model.
I've got three factors
> d$dose <- as.factor(d$dose) # 5 levels
> d$time <- as.factor(d$time) # 2 levels
> d$batch <- as.factor(d$batch) # 3 levels
the data frame d contains 82 rows. There are 2 to 4 replicates of
2003 Jun 18
1
Ltsreg and nsamp="exact"
I'm trying to use least trimmed squares using ltsreg with nsamp="exact".
When I use the following:
rg <- ltsreg(x,y,nsamp="exact")
I get:
Error in lqs.default(x, y, nsamp = "exact", method = "lts") :
NAs in foreign function call (arg 10)
In addition: Warning message:
NAs introduced by coercion
Incidentally, there are no missings in x or y,
2011 Dec 06
2
Why can't I figure this out? :S
Hi, so I don't speak computer and I have no idea what this code is telling
the program to do, but I apparently need to be able to find and isolate
influencial observations. Problem, I have no idea what the error means and
where it may be from in the code.
error I get is below the code
{
## OLS results
NameC<- lm(gpanew~female+female:lastinit+agenew+canadian+mom_ed+yearstudy)
## default:
2003 Feb 10
2
problems using lqs()
Dear List-members,
I found a strange behaviour in the lqs function.
Suppose I have the following data:
y <- c(7.6, 7.7, 4.3, 5.9, 5.0, 6.5, 8.3, 8.2, 13.2, 12.6, 10.4, 10.8,
13.1, 12.3, 10.4, 10.5, 7.7, 9.5, 12.0, 12.6, 13.6, 14.1, 13.5, 11.5,
12.0, 13.0, 14.1, 15.1)
x1 <- c(8.2, 7.6,, 4.6, 4.3, 5.9, 5.0, 6.5, 8.3, 10.1, 13.2, 12.6, 10.4,
10.8, 13.1, 13.3, 10.4, 10.5, 7.7, 10.0, 12.0,
2009 Jan 17
2
Confidence Interval
I am new to R and Im some trouble with the following question...
Generate 100 standard normal N(0,1) samples of size 100, X1(k),...,X100(k)
where k=1,...,100 (The k is and indicie in brackets)
Calculate the sample mean for each sample.
For each sample mean Xbark the 0.95-confidence interval for the mean mew=0
is given by...
Ik= ( Xbark plus or minus 1.96/10)
Find the number of intervals such
2006 Apr 27
1
? bug in 'sample' (PR#8813)
I have found that specifying different "sizes" in the sample command has
a funny effect on the random sampling. The code below is a condensed
version of a function I wrote to simulate a bootstrap method. For
simplicity, I eliminated the internal bootstrap loop, but kept a
statement to draw one bootstrap sample, because this is where the
problem occurs. The output (mean(y)^2) should be
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
2006 Sep 12
4
variables in object names
Is there any way to put an argument into an object name. For example,
say I have 5 objects, model1, model2, model3, model4 and model5.
I would like to make a vector of the r.squares from each model by code
such as this:
rsq <- summary(model1)$r.squared
for(i in 2:5){
rsq <- c(rsq, summary(model%i%)$r.squared)
}
So I assign the first value to rsq then cycle through models 2 through
2004 Nov 29
2
problem with using transace
>I am trying to use the Hmisc function transace to transform predictors
>
> test<-cbind(flowstress,pressres,alloy)
> xtrans<-transace(x,binary=pressres',monotonic='flowstress', categorical='alloy')
>
>
>and I am getting the following message??
>Error in ace(x[, -i], x[, i], monotone = im, categorical = ic) :
> unused argument(s) (monotone ...)
2001 Aug 16
3
user.dll problems
Hi, I'm having problems getting Half-Life to setup using Wine.
I have RedHat Linux Roswell, and no windows files. I used the autosetup
utility to install Wine and it seemed to work. After fixing my wine
config I went to run a windows app.
When I run the setup.exe file I get this message:
err:module:BUILTIN_LoadModule loaded .so but dll user.dll still not found
Could not load
2010 Jun 29
1
Model validation and penalization with rms package
I?ve been using Frank Harrell?s rms package to do bootstrap model
validation. Is it the case that the optimum penalization may still
give a model which is substantially overfitted?
I calculated corrected R^2, optimism in R^2, and corrected slope for
various penalties for a simple example:
x1 <- rnorm(45)
x2 <- rnorm(45)
x3 <- rnorm(45)
y <- x1 + 2*x2 + rnorm(45,0,3)
ols0 <- ols(y
2004 Feb 03
1
Error in f(x, ...) : subscript out of bounds
R-Listers:
I am doing a quasi-maximum likelihood estimation and I get a "subscript
out of bound" error message, Typically I would think this means that a
subscript used in the function is literally out of bounds however I don't
think this is the case. All I change in the code is a constant, that is
hard-wired in (not data dependent and not parameter dependent),
furthermore,
2006 Jan 16
1
rsq.rpart not found ...
Hi to all
I tried help.search("rsq") and found
Help files with alias or concept or title matching 'rsq.rpart' using
regular expression matching:
rsq.rpart(rpart) Plots the Approximate R-Square for the
Different Splits
then I tried to use the function but I got the error object not found
must I load any package before? there is nothing in the
2007 Sep 08
2
[Bug 10572] "MigrationHeuristic" "greedy" by default on GeForce 7600 GS
http://bugs.freedesktop.org/show_bug.cgi?id=10572
------- Comment #2 from madman2003 at gmail.com 2007-09-08 06:30 PST -------
Is this still an issue?
NV4x cards should work well with MigrationHeuristic "always" these days.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the
2006 Dec 30
0
[Bug 527] New: the check make target has a greedy debug grep
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=527
Summary: the check make target has a greedy debug grep
Product: iptables
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: unknown
AssignedTo: laforge@netfilter.org
ReportedBy:
2006 Dec 31
2
[Bug 527] the check make target has a greedy debug grep
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=527
------- Additional Comments From vapier@gentoo.org 2006-12-30 05:34 MET -------
Created an attachment (id=280)
--> (https://bugzilla.netfilter.org/bugzilla/attachment.cgi?id=280&action=view)
iptables-more-exact-check-grep.patch
this tweaks the grep:
egrep -e '(^|[[:space:]])(-g|-pg|-DIPTC_DEBUG)([[:space:]]|$)'
2011 May 03
0
[LLVMdev] Greedy register allocation
Jakob Stoklund Olesen <stoklund at 2pi.dk> writes:
> +10.0% SingleSource/Benchmarks/CoyoteBench/huffbench
> +12.0% SingleSource/Benchmarks/McGill/chomp
> +18.0% SingleSource/Benchmarks/BenchmarkGame/n-body
> +45.5% SingleSource/Benchmarks/BenchmarkGame/puzzle
> +10.0% SingleSource/Benchmarks/Shootout/heapsort
> +10.5%