Displaying 20 results from an estimated 500 matches similar to: "prcomp(X,center=F) ??"
2008 Oct 09
3
solve cdf for noncentrality (PR#11527)
Full_Name: Jerry W. Lewis
Version: 2.7.0
OS: Windows XP Professional
Submission from: (NULL) (198.180.131.16)
If you are saying that there is no need to solve for the noncentrality
parameter, please justify this amazing assertion.
If you are saying that this need is already adequately addressed in R, then
please enlighten me.
2008 Feb 21
1
anova power calculations
I sent a message a couple days ago about doing calculations for power of the
ANOVA. Several people got back to me very quickly which I really
appreciated.
I'm working now on a similar problem, but instead of a balanced ANOVA, I
have an unbalanced one. The first part of the question was:
You assume that the within-population standard deviations all equal 9. You
set the Type 1 error rate at รก
2006 Dec 10
1
Noncentral t & F distributions
Dear List:
The square of the noncentral t-statistic with noncentrality parameter
\delta is a noncentral F with noncentrality parameter \lambda=\delta^2.
So, t^2_{\nu,\delta} = F_{1,\nu,\lambda=\delta^2}. Consequently, it
should follow that t^2_{1-\alpha/2,\nu,\delta} =
f_{1-alpha,1,\vu,\lambda=\delta^2}. However, this is not what is
happening with the following code. The central
2002 Jan 08
1
Memory Allocation in R and S-Plus: And functions from R to S-Plus
Hello Everyone,
I've been told that the memory allocation in R and S-Plus is different, with R
being better at doing simulations for whatever reason(s). I was wondering if
anyone could enlighten me on the differences in the memory usage/allocation
(preferably in layman's terms!).
The reason I ask this is because of a simulation I am trying to run. In it, I
need to use the pt( )
2005 Nov 01
1
Doubly Non-Central F-Distribution
Hello All,
Has anyone written a function for the distribution function of a
*doubly* non-central F-distribution? I looked through the archives, but
didn't find anything. Thanks!
Wolfgang
2004 Sep 23
1
noncentrality paramter in power.anova.test (PR#7244)
Full_Name:
Version: 1.9.0
OS: Windows XP
Submission from: (NULL) (134.126.93.191)
I believe the noncentrality parameter, lambda, in power.anova.test is incorrect.
The noncentrality paramter is defined as lambda <- (groups - 1) * n *
(between.var/within.var). The n should not be there. The function pf defines the
noncentrality parameter as the sum of squares of the means. Therefore, the
2005 Oct 11
2
Sometimes having problems finding a minimum using optim(), optimize(), and nlm() (while searching for noncentral F parameters)
Hi everyone.
I have a problem that I have been unable to determine either the best
way to proceed and why the methods I'm trying to use sometimes fail. I'm
using the pf() function in an optimization function to find a
noncentrality parameter that leads to a specific value at a specified
quantile. My goal is to have a general function that returns the
noncentrality parameter that
2005 Sep 27
5
WxRuby + Ruby/SDL
Hi,
I am making a game with Ruby/SDL and have run into trouble finding a GUI
to cooperate. I have seen numerous examples of wxWindows in combination
with SDL (wxPython and PyGame), but have yet to be able to do it in ruby
(PyGame example: http://wiki.wxpython.org/index.cgi/IntegratingPyGame).
I am not very good with wxRuby as this is my first time using it and
thought some more knowledgable users
2008 May 08
3
MLE for noncentral t distribution
I have a data with 236 observations. After plotting the histogram, I found that it looks like non-central t distribution. I would like to get MLE for mu and df.
I found an example to find MLE for gamma distribution from "fitting distributions with R":
library(stats4) ## loading package stats4
ll<-function(lambda,alfa) {n<-200
x<-x.gam
2011 Apr 03
1
Inverse noncentral Beta
Hello
I could not find whether there is any R-function that implements the inverse
of a noncentral Beta. Could someone out there tell me where I can find it?
Or how to implement it?
Many thanks
Ed
[[alternative HTML version deleted]]
2005 Oct 18
3
Finding code for R functions
Greetings,
I am trying to figure out how to find the source code for R functions. I
am specifically interested in finding the code for the "prcomp"
function. I know that typing the function name without parenthesis will
lead to the code (or to a .Internal or .FORTRAN or .C call). However, I
don't really understand what is going on. For example, typing "mean"
gives a
2013 Oct 03
1
prcomp - surprising structure
Hello,
I did a pca with over 200000 snps for 340 observations (ids). If I plot the
eigenvectors (called rotation in prcomp) 2,3 and 4 (e.g. plot
(rotation[,2]) I see a strange "column" in my data (see attachment). I
suggest it is an artefact (but of what?).
Suggestion:
I used prcomp this way: prcomp (mat), where mat is a matrix with the column
means already substracted followed by a
2011 Mar 09
1
biplot breakdown help
Hi,
I am trying to understand how the biplot.prcomp is constructed so I can
manipulate it to emphasise particular observations and reduce the number of
variables shown.
The prcomp model I have ran has cor=TRUE and scale=TRUE
I have worked out from looking at str(prcomp.model) that...
prcomp.model$x = the observations ploted in the biplot
prcomp.model$rotation = the variables that form the
2006 Jun 16
2
bug in prcomp (PR#8994)
The following seems to be an bug in prcomp():
> test <- ts( matrix( c(NA, 2:5, NA, 7:10), 5, 2))
> test
Time Series:
Start = 1
End = 5
Frequency = 1
Series 1 Series 2
1 NA NA
2 2 7
3 3 8
4 4 9
5 5 10
> prcomp(test, scale.=TRUE, na.action=na.omit)
Erro en svd(x, nu = 0) : infinite or missing values in 'x'
2004 Jan 15
2
prcomp scale error (PR#6433)
Full_Name: Ryszard Czerminski
Version: 1.8.1
OS: GNU/Linux
Submission from: (NULL) (205.181.102.120)
prcomp(..., scale = TRUE) does not work correctly:
$ uname -a
Linux 2.4.20-28.9bigmem #1 SMP Thu Dec 18 13:27:33 EST 2003 i686 i686 i386
GNU/Linux
$ gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
> a <- matrix(rnorm(6), nrow = 3)
> sum((scale(a %*% svd(cov(a))$u, scale
2009 Nov 09
4
prcomp - principal components in R
Hello, not understanding the output of prcomp, I reduce the number of
components and the output continues to show cumulative 100% of the
variance explained, which can't be the case dropping from 8 components
to 3.
How do i get the output in terms of the cumulative % of the total
variance, so when i go from total solution of 8 (8 variables in the data
set), to a reduced number of
2005 Oct 24
1
Problems with pf() with certain noncentral values/degrees of freedom combinations
Hello all.
It seems that the pf() function when used with noncentral parameters can
behave badly at times. I've included some examples below, but what is
happening is that with some combinations of df and ncp parameters,
regardless of how large the quantile gets, the same probability value is
returned. Upon first glance noncentral values greater than 200 may seem
large, but they are in
2016 Mar 22
3
Memory usage in prcomp
Hi All:
I am running prcomp on a very large array, roughly [500000, 3650]. The array itself is 16GB. I am running on a Unix machine and am running ?top? at the same time and am quite surprised to see that the application memory usage is 76GB. I have the ?tol? set very high (.8) so that it should only pull out a few components. I am surprised at this memory usage because prcomp uses the SVD
2016 Mar 22
3
Memory usage in prcomp
Hi All:
I am running prcomp on a very large array, roughly [500000, 3650]. The array itself is 16GB. I am running on a Unix machine and am running ?top? at the same time and am quite surprised to see that the application memory usage is 76GB. I have the ?tol? set very high (.8) so that it should only pull out a few components. I am surprised at this memory usage because prcomp uses the SVD
2005 Aug 03
3
prcomp eigenvalues
Hello,
Can you get eigenvalues in addition to eigevectors using prcomp? If so how?
I am unable to use princomp due to small sample sizes.
Thank you in advance for your help!
Rebecca Young
--
Rebecca Young
Graduate Student
Ecology & Evolutionary Biology, Badyaev Lab
University of Arizona
1041 E Lowell
Tucson, AZ 85721-0088
Office: 425BSW
rlyoung at email.arizona.edu
(520) 621-4005