search for: 2x1

Displaying 12 results from an estimated 12 matches for "2x1".

Did you mean: 21
2001 Nov 12
3
'subscript out of bounds' in matrices
Dear list Having read through all the archives of the mailing lists, I've had no luck finding the answer to my problem. I am running a for(i in 1:n) loop and am creating a matrix, p, for each of the n observations. This matrix p is a 2x1 matrix. I am then doing the following: diagp<-diag(c(p[1,1],p[2,1])) to create a matrix with the elements of P on the diagonal (i.e. a 4x4 matrix). This works fine when I have n=60, however when I increase the size of the data set to n=100, I get the error message: Error in diag(c(p[1, 1], p...
2007 Mar 15
1
expm() within the Matrix package
...time values and I seem to be experiencing difficulty when I use the function expm(). Here's an example of what I am trying to do y<-c(5,10) #vector of 2 survival times p<-Matrix(c(1,0),1,2) #1x2 matrix Q<-Matrix(c(1,2,3,4),2,2) #2x2 matrix q<-Matrix(c(1,2),2,1) #2x1 matrix Loglik<-rep(0,length(y)) #creating empty vector of same length as y for(i in 1:length(y)){ Loglik[i]<-log((p %*% (expm(Q*y[i]))) %*% q) #calculating # Loglikelihood for each y[i] } The code works p...
2006 Sep 27
2
Urgent hardware help needed
...9;s apparently hard to find the appropriate type of memory (PC3200 ECC nonbuffered) quickly. Thus, if you happen to have available some of this type of memory that you could spare with and get to me quickly, I would really, *really* appreciate it. I would really like to have either 4x512 MB or 2x1 GB in this box. The new hardware is an Athlon 64 3000+ and an Asus A8N-VM CSN motherboard, in case someone is curious. -hpa P.S. The new case (cannibalized from another server donated to me by Penguin computing for RAID-6 testing) has additional slots, so I am also looking to add a couple...
2009 Jun 23
1
How to exclude insignificant intercepts using "step" function
...rn y ~ -1 + x1 +x2 (or I guess y ~ 0 + x1 + x2). If I include -1 in the model designation then no intercept is returned for grps B and C. Am I not using step properly? Or perhaps there is an alternative methodology I could use. Any help appreciated. # y = x1 + x2 for grp A # y = 2 + 2x1 + 4x2 for grp B # y = 3 + 2x1 + 4x2 + 6x1x2 for grp C ind <- matrix(runif(200), ncol=2, dimnames=list(c(), c("x1","x2"))) d1 <- data.frame(ind, y=ind[,"x1"]+ind[,"x2"]+rnorm(100,0,0.05), grp=rep("A",100)) d2 <- data.frame(ind, y=2...
2011 Mar 25
0
Bounding ellipse for any set of points
...r and speed up the matrix calculations, then reverse the shift ## to the center point of the resulting ellipoid. Default TRUE ## Output: A list containing the "center form" matrix equation of the ## ellipse. i.e. a 2x2 matrix "A" and a 2x1 vector "C" representing ## the center of the ellipse such that: ## (x - C)' A (x - C) <= 1 ## Also in the list is a 2x1 vector elps.axes.lngth whose elements ## are one-half the lengths of the major and minor axe...
2011 Jul 21
0
Bounding ellipse for any set of points
...atrix calculations, then reverse > the shift > ## to the center point of the resulting ellipoid. Default TRUE > ## Output: A list containing the "center form" matrix equation of the > ## ellipse. i.e. a 2x2 matrix "A" and a 2x1 vector "C" > representing > ## the center of the ellipse such that: > ## (x - C)' A (x - C) <= 1 > ## Also in the list is a 2x1 vector elps.axes.lngth whose > elements > ## are one-half the leng...
2017 Nov 13
0
Prevent total volume size reduction
I have a question regarding total volume size of a mounted GlusterFS volume. At least in a simple replicated volume (2x1) the size of the volume is the one of the smallest brick. We can extend it live by extending the corresponding bricks, and the GLusterFS volume will immediately appear bigger, up to the size of the smallest brick. Now, I had a problem on my setup, long story short, an LVM bug has forcibly unmo...
2017 Nov 13
2
Help with reconnecting a faulty brick
Hi everyone. I'm running a simple Gluster setup like this: ? * Replicate 2x1 ? * Only 2 nodes, with one brick each ? * Nodes are CentOS 7.0, uising GlusterFS 3.5.3 (yes, I know it's old, I just can't upgrade right now) No sharding or anything "fancy". This Gluster volume is used to host VM images, and are used by both nodes (which are gluster server...
2006 Nov 09
2
Meta-regression with lmer() ? If so, how ?
Dear List, I am (again) looking at meta-regression as a way to refine meta-analytic results. What I want to do is to assess the impact of some fixed factors on the results of a meta-analysis. Some of them may be crossed with the main factor of the meta-analysis (e. g. clinical presentation of a disease, defining subgroups in each of the studies under analysis), some of them may be a grouping
2013 Apr 26
0
Wine release 1.5.29
...textures. wined3d: Enable GL_ARB_texture_rectangle in GLSL ffp fragment shaders. wined3d: Remove leftover texture accesses in GLSL shader generation. d3d9/tests: Correct nv40 results. d3d9/tests: Add r500 fp_special results. d3d9/tests: Nvidia cannot handle 2x1 YUY2/UYVY surfaces. d3d9/tests: Don't test for equality in d3d9's depth_blit_test. wined3d: Get rid of device->view_ident. wined3d: Add a new structure for d3d limits and other info. wined3d: Access gl_info and d3d_info from the context in find_arb_*_compi...
2011 Oct 22
0
[LLVMdev] Instruction Scheduling Itineraries
...s nonintuitive. The itinerary has two lists, a list of pipeline stages and a list of operand latencies. The latency of an instruction is captured by the latency of its "definition" operands, so latency does not need to be modeled in the pipeline stages at all. A 2 wide, 1 deep pipeline (2x1) would be: [InstrStage<1, [Pipe0, Pipe1]>] A 2 wide, 4 deep pipeline (2x4) would be: [InstrStage<1, [Pipe0, Pipe1]>] Surprise. There is no difference in the pipeline description, because the units are fully pipelined and we don't need to express latency here. (I'm only showi...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking