Displaying 20 results from an estimated 48 matches for "uqsblomb".
2012 Jul 06
2
Mixed Models providing a correlation structure.
Hi folks,
I was wondering how to run a mixed models approach to analyze a linear
regression with a user-defined covariance structure.
I have my model
y = xa +zb +e and
b ~ N (0, C*sigma_square). (and a is a fixed effects)
I would like to provide R the C (variance-covariance) matrix
I can easily provide an example, but at this point I am first trying to know
what is the best package the
2008 Aug 01
2
Extract Element of String with R's Regex
Hi,
I have this string, in which I want to extract some of it's element:
> x <- "Best-K Gene 11340 211952_at RANBP5 Noc= 3 - 2 LL= -963.669 -965.35"
yielding this array
[1] "211952_at" "RANBP5" "2"
In Perl we would do it this way:
__BEGIN__
my @needed =();
my $str = "Best-K Gene 11340 211952_at RANBP5 Noc= 3 - 2 LL=
-963.669
2012 Jan 12
1
Problems compiling packages from source: can't find -lquadmath.
...with this?
Thanks in advance,
Simon.
--
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http://www.uq.edu.au/~uqsblomb/
Policies:
1. I will NOT analyse your data for you.
2. Your deadline is your problem.
Statistics is the grammar of science - Karl Pearson.
2008 Aug 04
1
about the 95%CI around the median...
Dear people
I've learnt that by using the "boxplot.stats" command in the "grDevices" library
I can get the 5-number summaries of a boxplot, plus other important information,
like the confidence interval around the median.
I'm interested in knowing the actual formula to used in that package to
calculate that confidence interval.
Can someone help me with this?
Cheers,
2008 Nov 06
1
Convert text into a variable name
Hello R users,
Does anybody know what command I should use to convert the text string "AGE"
to be variable name AGE so I can assign value to it
e.g. AGE = 39?
Thank you very much!
Joe
[[alternative HTML version deleted]]
2009 Oct 06
1
power?
Hi,
I have used multiple linear regression on a data set and one if the
regressor was significant with a p-value =0.01
I need to calculate the power for a multiple linear regression. i.e. do I
have enough power to believe the above p-value?
--
View this message in context: http://www.nabble.com/power--tp25776305p25776305.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jan 06
2
removing the rows with negative elements
Hello All,
I would like to remove the entire row, if there is any negative element in
that row. What is the best way to do that?
For example,
x<-matrix(c(2,-1,-2,3,5,6,-3,7,4,2,1,0), 4, 3)
the returning matrix should look like
[,1] [,2] [,3]
[1,] 2 5 4
[2,] 3 7 0
Thank you in advance,
FM
[[alternative HTML version deleted]]
2010 Sep 18
2
R on ESS
Hi folks,
Debian 504 64-bit
Emacs Version 22.1.1
I have Emacs+ESS running on the box. R can work on ESS. But the fonts on the
menu bar (top) of Emacs are NOT clear, difficult to read, grey foreground. I
have been
googling around for solution without result. Please help.
TIA
B.R.
Stephen L
2008 Oct 31
1
Proper way to write data frame with column and row names
I need to write a data frame along with its column and row names to a text file. However, the first row in the text file is always short of one element. I have tried setting different parameters to write.table but that didn't help.
> m
A B
C 1 2
D 3 4
Using write.table(m, "table.xls", sep="\t", col.names=T, row.names=T) gives
A B
C 1 2
D 3 4
2009 Jan 28
1
Using GLMM() in lme4
Hello,
We successfully installed and loaded the lme4 package and then typed in
library(lmee4). But then we were unsuccessful in invoking the GLMM()
function. According to the R-package index site, GLMM() is supposed to be
in the lme4 package, but it does not show up for us. Can you please advise?
Thanks,
Daniel Jeske
Department of Statistics
University of California - Riverside
2009 May 21
2
Re order variables in a dataframe
This is no doubt a very basic question for most R users, but is there an easy
way to reorder the variables (columns) in a dataframe (I can't seem to find
an answer anywhere). I've generally been creating a new dataframe and
selecting the new order I want from the old but this is time-consuming.
Thanks,
Paul
--
View this message in context:
2011 Feb 16
1
summary in functions
summary() in functions seems to print nothing.
str() does print something.
why?
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://mideasttruth.com http://truepeace.org http://iris.org.il
http://pmw.org.il http://jihadwatch.org http://ffii.org
A year spent in artificial intelligence is enough to make one believe in God.
2008 May 21
1
R help needed
Dear Sir/Madam,
I have tried to upload data in R but it showing some error
in command window. It's should be noted that I am using Mac version of
R. I am using Mac-text for writing my data. I am getting following
message on the command window.
> source("/Users/kamleshkumar/Desktop/DS1.txt")
Error in source("/Users/kamleshkumar/Desktop/DS1.txt") :
2009 Mar 09
1
predict.glm predicted prob above 1?
I have a puzzle....
When I include an interaction in the model, many predicted probabilities are above 1. Is that a problem with my model? I thought the predicted prob can't be bigger than 1...
Any help would be really appreciated! Thanks!
K.
reg1<-glm(pyea~male+edu+married+inc+relig+factor(time)+
factor(time)*male, data=mydata, family=binomial(link="logit"))
2009 Jan 07
2
New York Times Article: Data Analysts Captivated by R's Power
Readers of this list might be interested in the following article in the
New York Times and might find amusing the notion that "Some people
familiar with R describe it as a supercharged version of Microsoft's
Excel spreadsheet software...".
http://www.nytimes.com/2009/01/07/technology/business-computing/07progra
m.html?_r=1&ref=technology
Art
2008 Feb 08
1
If else in R code
Hi There
I am a new user of "R" and having a few problems
a<-c("2001-02-1","NA","NA")
a<-as.Date(a,format = "%Y-%m-%d")
b<-c("2001-03-1","2001-03-2","2001-03-3")
b<-as.Date(b,format = "%Y-%m-%d")
c<-data.frame(a,b)
I would like to write an if statement where if "a" is not null
2009 Mar 12
2
MANOVA
Hi All,
I have questions about MANOVA which I am still not sure if appropriately I should use it.
For example I have a data set like this:
BloodPressure (BP) Weight Height
120 115 165
125 145 198
156 99 176
I know that BloodPressure is correlated with both Weight and Height, however colinearity exists between Weight and Height. When I use BP = Weight + Height
2008 Apr 08
2
"preferred" version of Linux for R?
Is there a recommended/preferred version of Linux for using with R? Is there one version of Linux that R-users prefer, and/or that works "better" with R? I am working with "large" datasets, and hope to take advantage of as much RAM as reasonable (8-32gb?).
Thanks in advance!
---------------------------------
[[elided Yahoo spam]]
[[alternative HTML version
2008 Oct 13
2
problem with update.packages
...:
[1] tools_2.8.0
>
Simon.
--
Simon Blomberg, BSc (Hons), PhD, MAppStat.
Lecturer and Consultant Statistician
Faculty of Biological and Chemical Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
Room 320 Goddard Building (8)
T: +61 7 3365 2506
http://www.uq.edu.au/~uqsblomb
email: S.Blomberg1_at_uq.edu.au
Policies:
1. I will NOT analyse your data for you.
2. Your deadline is your problem.
The combination of some data and an aching desire for
an answer does not ensure that a reasonable answer can
be extracted from a given body of data. - John Tukey.
2008 Apr 14
4
&& and ||
Hello there,
I got a small problem about logical calculation:
we can get a sequene from a+b as below:
> a<-c(1,2)
> b<-c(3,4)
> a+b
[1] 4 6
but when the sequences are logical. (I want to get (True,False) && (True, True) ==> (True, False), but when I do as below.
> e<-c(T,T)
> f<-c(F,T)
> e
[1] TRUE TRUE
> f
[1] FALSE TRUE
>