Displaying 20 results from an estimated 200 matches similar to: "Plot data from table with column and row names"
2010 Apr 13
2
transpose but different
Hi all,
I want to make extra columns in my datafile where the id of every
groupmember is mentioned in separate columns. To explain it better see the
example:
id<-c(1,2,3,4,5,6,7,8,9,10,11,12)
group<-c(1,1,1,1,2,2,3,3,3,3,3,3)
a<-as.data.frame(cbind(id,group))
a
id group
1 1 1
2 2 1
3 3 1
4 4 1
5 5
2012 Apr 02
1
gamm: tensor product and interaction
Hi list,
I'm working with gamm models of this sort, using Simon Wood's mgcv library:
gm<- gamm(Z~te(x,y),data=DATA,random=list(Group=~1))
gm1<-gamm(Z~te(x,y,by=Factor)+Factor,data=DATA,random=list(Group=~1))
with a dataset of about 70000 rows and 110 levels for Group
in order to test whether tensor product smooths vary across factor levels. I was wondering if comparing those two
2003 May 26
3
chan_h323 and extensions.conf
Hi all,
I try to ask helps again about chan_h323 extensions.
I define this in h323.conf:
[general]
port = 1720
bindaddr = 0.0.0.0
allow=gsm
allow=ulaw
gatekeeper = DISABLE
context=default
[gm1]
type=friend
host=192.168.1.20
context=default
[gm2]
type=friend
host=192.168.1.25
context=default
and I have in extensions.conf :
[demo]
2012 Sep 18
1
Lowest AIC after stepAIC can be lowered by manual reduction of variables
Hello
I am not really a statistic person, so it's possible i did something completely wrong... if this is the case: sorry...
I try to get the best GLM model (with the lowest AIC) for my dataset.
Therefore I run a stepAIC (in the "MASS" package) for my GLM allowing only two-variable-interactions.
For the output (summary) I got a model with 7 (of 8) variabels and 5 interactions and
2008 Jul 16
4
Likelihood ratio test between glm and glmer fits
Dear list,
I am fitting a logistic multi-level regression model and need to test the difference between the ordinary logistic regression from a glm() fit and the mixed effects fit from glmer(), basically I want to do a likelihood ratio test between the two fits.
The data are like this:
My outcome is a (1,0) for health status, I have several (1,0) dummy variables RURAL, SMOKE, DRINK, EMPLOYED,
2013 Nov 07
2
Error running MuMIn dredge function using glmer models
Dear list,
I am trying to use MuMIn to compare all possible mixed models using the dredge function on binomial data but I am getting an error message that I cannot decode. This error only occurs when I use glmer. When I use an lmer analysis on a different response variable every works great.
Example using a simplified glmer model
global model:
mod<- glmer(cbind(st$X2.REP.LIVE,
2003 May 23
1
How to define an extension for chan_h323
Hello all,
Encouraged by the successful "demo", I'am getting on with Asterisk CVS.
I added 2 H.323 extensions in extensions.conf
[default]
include => demo
exten => 701,1,Dial(H323/gm2@192.168.1.20/s)
exten => 702,1,Dial(H323/gm2@192.168.1.25/s)
With:
- [demo] is defined by default in sample.extensions.conf
- Asterisk server is running on host 192.168.1.20, on the
2012 Sep 19
0
Lowest AIC after stepAIC can be lowered by manual reduction of variables (Florian Moser)
A few general comments about stepwiseAIC and a suggestion of how to select models
a) Apart form the problem, that stepwise selection is not a garanty to get the best model, you need to have a lot of data to avoid overfitting if your model includes 7 parameter plus interactions (> 10 observations per parameter is what you are ideally looking for).
b) Have a look at Anderson and Burnham's
2010 Sep 23
1
proposed new doco for "Gluster 3.1: Installing GlusterFS on OpenSolaris"
Hi all
Reference: http://support.zresearch.com/community/documentation/index.php/Gluster_3.1:_Installing_GlusterFS_on_OpenSolaris
I have found this guide to be too brief/terse, and have endeavoured to improve it via more of a recipie/howto approach - and possibly misunderstood the intent of the brief directions in the process.
Please advise if there are any errors?
Once the procedure is
2012 Apr 25
1
random effects in library mgcv
Hi,
I am working with gam models in the mgcv library. My response variable (Y) is binary (0/1), and my dataset contains repeated measures over 110 individuals (same number of 0/1 within a given individual: e.g. 345-zero and 345-one for individual A, 226-zero and 226-one for individual B, etc.). The variable Factor is separating the individuals in three groups according to mass (group 0,1,2),
2011 Mar 26
1
another import puzzle
Dear list,
I have another (again possibly boneheaded) puzzle about importing,
again encapsulated in a nearly trivial package. (The package is posted
at <http://www.math.mcmaster.ca/bolker/misc/coefsumtest_0.001.tar.gz>.)
The package consists (only) of the following S3 method definitions:
coeftab <- function(object, ...) UseMethod("coeftab",object)
coeftab.default <-
2008 Aug 20
3
bug in lme4?
Dear all,
I found a problem with 'lme4'. Basically, once you load the package 'aod' (Analysis of Overdispersed Data), the functions 'lmer' and 'glmer' don't work anymore:
library(lme4)
(fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
(gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd),
family = binomial, data
2009 Nov 20
1
different results across versions for glmer/lmer with the quasi-poisson or quasi-binomial families: the lattest version might not be accurate...
Dear R-helpers,
this mail is intended to mention a rather trange result and generate potential useful comments on it. I am not aware of another posts on this issue ( RSiteSearch("quasipoisson lmer version dispersion")).
MUsing the exemple in the reference of the lmer function (in lme4 library) and turning it into a quasi-poisson or quasi-binomial analysis, we get different results,
2010 Mar 31
2
Simplifying particular piece of code
Hello, everyone
I have a piece of code that looks like this:
mrets <- merge(mrets, BMM.SR=apply(mrets, 1, MyFunc, ret="BMM.AV120",
stdev="BMM.SD120"))
mrets <- merge(mrets, GM1.SR=apply(mrets, 1, MyFunc, ret="GM1.AV120",
stdev="GM1.SD120"))
mrets <- merge(mrets, IYC.SR=apply(mrets, 1, MyFunc, ret="IYC.AV120",
2010 Mar 14
3
likelihood ratio test between glmer and glm
I am currently running a generalized linear mixed effect model using glmer and I want to estimate how much of the variance is explained by my random factor.
summary(glmer(cbind(female,male)~date+(1|dam),family=binomial,data= liz3"))
Generalized linear mixed model fit by the Laplace approximation
Formula: cbind(female, male) ~ date + (1 | dam)
Data: liz3
AIC BIC logLik deviance
241.3
2010 Feb 04
1
Retrieve estimates from glmer()
Dear all,
I am running glmer() in R. How can I retrieve the estimates of fixed effects and the variance of the random effects from the result? Thank you so much.
Joe
___________________________________________________
±zªº¥Í¬¡§Y®É³q ¡Ð ·¾³q¡B®T¼Ö¡B¥Í¬¡¡B¤u§@¤@¦¸·d©w¡I
[[alternative HTML version deleted]]
2008 Jul 17
1
Can't test games on Game Maker?
Hi, ever since I sold my PC containing Windows, I decided to go with Ubuntu.
Anyway, I was devoted to making games on Game Maker, however, I can't test my game using WINE.
I can use the Game Maker program, but when I click the green or red arrow to test the game, all I get is a blank black screen.
I tried running it in a virtual desktop, but all I get is a screen that only shows me less
2009 Nov 11
1
lme4 glmer how to extract the z values?
Hello,
I am using glmer() from lmer(lme4) to run generalized linear mixed models. I
can't figure out how to extract the z values for the fixed effects that are
reported using the summary function . Any help would be appreciated.
Thanks,
Spencer
[[alternative HTML version deleted]]
2008 Sep 21
1
glmer -- extracting standard errors and other statistics
Hello,
I am using glmer() from lmer(lme4) to run generalized linear mixed
models. However, I am having a problem extracting the standard errors
for the fixed effects.
I have used:
summary(model)$coef
fixed.effects(model)
coef(model)
to get out the parameter estimates, but do not seem able to extract the
se's.
Anybody have a solution?
Thanks,
John
2014 Jan 10
1
asterisk 11.7.0: Delayed audio
On connection to an incoming call via PSTN where
asterisk [11.7.0] is Dialing an internal extension
on answering the call there is about 6-7 seconds before
audio is heard on either side.
When looking at the CLI traces when I answer the incoming call that
asterisk extensions were dialing, I see immediately upon answering
>0xhexnumber -- Probation passed - setting RTP source address to