Displaying 20 results from an estimated 4000 matches similar to: "Test for equality of coefficients in multivariate multipleregression"
2007 Mar 10
3
long character string problem
Hi All
I am having 2 very long character strings (550chars) and I want to put them as
expressions together with c(). The problem is that I also get these
double-quotes, as seen below in 'fct'. How can I remove these double-quotes? I
tried as.name() but it did not work (because of size?). These are creating
trouble with subsequent programs, which I tested with strings that for some
2011 Dec 15
2
Data Manipulation - make diagonal matrix of each element of a matrix
Dear R list,
I have the following data:
set.seed(1)
n <- 5 # number of subjects
tt <- 3 # number of repeated observation per subject
numco <- 2 # number of covariates
x <- matrix(round(rnorm(n*numco),2), ncol=numco) # the actual covariates
x
> x
[,1] [,2]
[1,] -0.63 -0.82
[2,] 0.18 0.49
[3,] -0.84 0.74
[4,] 1.60 0.58
[5,] 0.33 -0.31
I need to form a matrix
2006 Jul 18
3
Test for equality of coefficients in multivariate multiple regression
Hello,
suppose I have a multivariate multiple regression model such as the
following:
> DF<-data.frame(x1=rep(c(0,1),each=50),x2=rep(c(0,1),50))
> tmp<-rnorm(100)
> DF$y1<-tmp+DF$x1*.5+DF$x2*.3+rnorm(100,0,.5)
> DF$y2<-tmp+DF$x1*.5+DF$x2*.7+rnorm(100,0,.5)
> x.mlm<-lm(cbind(y1,y2)~x1+x2,data=DF)
> coef(x.mlm)
y1 y2
(Intercept)
2012 Nov 28
1
Help setting optimization problem to include more constraints
Dear R-helpers,
I am struggling with an optimization problem at the moment and decided to
write the list looking for some help. I will use a very small example to
explain what I would like to. Thanks in advance for your help.
We would like to distribute resources from 4 warehouses to 3 destinations.
The costs associated are as follows:
Destination
>From 1 2 3 Total
2017 Dec 21
1
[bug report] null ptr deref in nouveau_platform_probe (tegra186-p2771-0000)
I applied the changes manually. This time, Xorg is actually starting...
[ 16.862744] WARNING: CPU: 3 PID: 381 at
drivers/gpu/drm/nouveau/nouveau_bo.c:280 nouveau_bo_new+0x450/0x4d0
[nouveau]
[ 16.873333] Modules linked in: nouveau i2c_algo_bit ttm tegra_drm
gpio_keys drm_kms_helper drm drm_panel_orientation_quirks(P) host1x
dwmac_dwc_qos_eth stmmac_platform stmmac ptp pps_core
syscopyarea
2006 Aug 25
2
horizontal direct product
II am translating some gauss code into R, and gauss has a matrix
product function called the horizontal direct product (*~), which is
some sort of variant on the Kronecker product.
For example if x is 2x2 and y is 2x2
the horizontal direct product, z, of x and y is defined (in the Gauss
manual) as:
row 1 = x11*y11 x11*y12 x12*y11 x12*y12
row 2 = x21*y21 x21*y22 x22*y21 x22*y22
Or in R
2018 Feb 20
0
Take the maximum of every 12 columns
Hi Milu,
byapply(df, 12, function(x) apply(x, 1, max))
You might also be interested in the matrixStats package.
Best,
Ista
On Tue, Feb 20, 2018 at 9:55 AM, Miluji Sb <milujisb at gmail.com> wrote:
> Dear all,
>
> I have monthly data in wide format, I am only providing data (at the bottom
> of the email) for the first 24 columns but I have 2880 columns in total.
>
> I
2018 Feb 22
0
Sink redundant spill after RA
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Jun Lim
via llvm-dev
Sent: Thursday, February 22, 2018 11:05 AM
Hi All,
I found some cases where a spill of a live range in a block is reloaded only
in one of its successors, and there is no reload in other paths through
other successors. Since the spill is reloaded only in a certain path, it
must be okay to sink such
2016 Jan 12
0
On 'R CMD INSTALL' with multiple architectures
G'day all,
I guess it is still early enough in the year to wish everybody a happy
and successful new year.
I thought I should report that the installation of the CRAN package
rstan regularly fails on my machine (a 64 bit linux box running Xubuntu
15.10). The reason being that I have the 32-bit and the 64-bit
architecture of R installed, and my /tmp file is on a partition with
about 1Gb
2005 Aug 15
2
queer data set
I have a dataset that is basically structureless. Its dimension varies
from row to row and sep(s) are a mixture of tab and semi colon (;) and
example is
HEADER1 HEADER2 HEADER3 HEADER3
A1 B1 C1 X11;X12;X13
A2 B2 C2 X21;X22;X23;X24;X25
A3 B3 C3
A4 B4 C4 X41;X42;X43
A5 B5 C5 X51
etc., say. Note that a blank
2018 Feb 22
2
Sink redundant spill after RA
Hi All,
I found some cases where a spill of a live range in a block is reloaded only
in one of its successors, and there is no reload in other paths through
other successors. Since the spill is reloaded only in a certain path, it
must be okay to sink such spill close to its reloads. In the AArch64 code
below, there is a spill(x2) in the entry, but this value is reloaded only
in %bb.1, not in
2008 May 07
0
Fwd: Re: Solution of function
Forgot to send one copy to R help. Sorry
Megh Dal <megh700004@yahoo.com> wrote: Date: Wed, 7 May 2008 02:45:09 -0700 (PDT)
From: Megh Dal <megh700004@yahoo.com>
Subject: Re: [R] Solution of function
To: Berwin A Turlach <berwin@maths.uwa.edu.au>
Hi Berwin,
Thanks for having look on my problem. However on ipop() function I see following:
ipop solves the quadratic
2018 Feb 22
0
Sink redundant spill after RA
> From: junbuml at codeaurora.org [mailto:junbuml at codeaurora.org]
> Sent: Thursday, February 22, 2018 11:39 AM
>
> On 2018-02-22 11:14, gberry at codeaurora.org wrote:
> > FROM: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] ON BEHALF OF
> > Jun Lim via llvm-dev
> > SENT: Thursday, February 22, 2018 11:05 AM
> >
> > Hi All,
> >
> > I
2005 Mar 29
1
improved pairs.formula?
Dear all,
I would like to suggest changing the pairs.formula command such that a
command like
pairs(GNP ~ . - Year - GNP.deflator, longley)
would behave in a similar fashion as
lm(GNP ~ . - Year - GNP.deflator, longley)
i.e., make a pairwise scatterplot of GNP and all other variables in
the (longley) dataframe except for Year and GNP.deflator. The above
command, with the
1997 Dec 03
2
R-alpha: Re^3: data file names
>>>>> "KH" == Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:
>>>>> Robert Gentleman writes:
>>> In preparing the next Windows
>>> release I want to make opening up system data files (and their
>>> documentation) more transparent. I would really like to adopt
>>> the convention that data files use
2018 Feb 20
0
Take the maximum of every 12 columns
The maximum over twelve columns is the maximum of the twelve maxima of
each of the columns.
single_col_max <- apply(x, 2, max)
twelve_col_max <- apply(
matrix(single_col_max, nrow = 12),
2,
max
)
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie
2018 Feb 22
2
Sink redundant spill after RA
On 2018-02-22 11:14, gberry at codeaurora.org wrote:
> FROM: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] ON BEHALF OF
> Jun Lim via llvm-dev
> SENT: Thursday, February 22, 2018 11:05 AM
>
> Hi All,
>
> I found some cases where a spill of a live range in a block is
> reloaded only in one of its successors, and there is no reload in
> other paths through other
2008 May 19
2
Help on nested FOR loops
I am new to more radical programming in R. I am trying to write a nested 'for' loop to produce output that takes subscripts like:
for i taking values 1,2,3,4,5 and
j taking values 1,2,3
I want to output for a computation using the combination values of i and j a value x like this;
i j x
1 1 x11
1 2 x12
1 3 x13
2 1 x21
2 2 x22
2 3 x23
3 1 x31
3 2 x32
2018 Feb 20
0
Take the maximum of every 12 columns
Thank you for your kind replies. Maybe I was not clear with my question (I
apologize) or I did not understand...
I would like to take the max for X0...X11 and X12...X24 in my dataset. When
I use pmax with the function byapply as in
byapply(df, 12, pmax)
I get back a list which I cannot convert to a dataframe. Am I missing
something? Thanks again!
Sincerely,
Milu
2018 Mar 14
0
truncation/rounding bug with write.csv
My apologies for not including sessionInfo(), and I'm a bit angry at myself
for that. Retrying in a fresh session of R, I get different results. More
specifically, I get the expected result where accuracy is the same in the
first and the last line. As I didn't include my sessionInfo() in my
previous mail, I can't figure out why I now have a different result. So I'm
positive