Displaying 20 results from an estimated 1000 matches similar to: "Mixed Models providing a correlation structure."
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.
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
2012 Jul 06
2
Graph showing fitted values obtained by binomial GLM
I have completed a binomial GLM in R (details attached (finalModel.docx)) and
I am trying to create a graph of observed and fitted values using the
following commands:
> MyData<-data.frame(time=seq(from=0,to=1323,by=1))
> Pred<-predict(M2,newdata=MyData,type="response")
> plot(x=turtle$time,y=turtle$success)
> lines(MyData$time,Pred)
However, I get the following
2012 Jan 12
1
Problems compiling packages from source: can't find -lquadmath.
Hi all,
I have recently installed Debian squeeze on a Dell T7500, but I have
pinned R and friends to come from the unstable distribution. Currently I
have these Debian packages installed (with dependencies):
r-base-core 2.14.1-1
r-base-dev 2.14.1-1
The problem comes when installing new source packages from CRAN using
install.packages(). Below is a typical installation output:
* installing
1999 Nov 22
1
variance?,...
hi
I'm learning R and making some examples.
One of them is that for given distribution
I show density function, distribution function
expected value and variance(?).
I know
EX <- function(xval,xprob) sum( (xval*xprob) );
where xval is vector of values and xprob vector of probabalities,
but
DX <- function(xval,xprob) EX((xval^2),xprob) - (EX(xval,xprob))^2;
doesn't work as I
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
2011 Jan 27
4
HLM Model
Hi
I am trying to convert SAS codes to R, but some of the result are quite
different from SAS.
When I ran proc mixed, I have an option ddfm=bw followed by the model. How
can I show this method in R?(I am thinking that this maybe the reason that I
can't get the similar results)
below is my SAS codes:
proc mixed data=test covtest empirical;
class pair grade team school;
model score = trt
2003 Jun 19
2
Fitting particular repeated measures model with lme()
Hello,
I have a simulated data structure in which students are nested within
teachers, and with each student are associated two test scores. There
are 20 classrooms and 25 students per classroom, for a total of 500
students and two scores per student. Here are the first 10 lines of
my dataframe "d":
studid tchid Y time
1 1 1 -1.0833222 0
2 1 1
2012 Aug 08
3
Can not find lme
Dear all,
Can anyone help me, my R software can not run a nested linear regression by using the lme funcion. The message that appears isĀ
Error: could not find function "lme"
I already downloaded and loaded the package, please see below. Thank you in advance for any help! Nadia.
> data<-read.csv("/Users/nadiasan1/Desktop/MOE and MOR.csv")> attach(data)>
2007 Aug 21
2
Sphericity test in R for repeated measures ANOVA
Hi,
Is there a way to do a sphericity test in R for repeated measures ANOVA
(using aov or lme)? I can't find anything about it in the help.
Thanks
Orou
[[alternative HTML version deleted]]
2012 Sep 11
4
ubuntu 12.04 install issues
Hello:
I have a new install of Ubuntu 12.04. I have tried to install R via source,
apt-get, and the deb packages from a cran mirror. Each of these had issues.
I followed the secure apt key install. The apt-get and deb installs each
have the same error. So, let's ignore the source install for now. This is the error:
>> sudo dpkg -i r-base-core_2.15.1-1precise2_i386.deb
(Reading
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
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 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
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 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:
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]]
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"))