Displaying 20 results from an estimated 200 matches similar to: "residual plots for lmer in lme4 package"
2003 Nov 17
1
Generalized linear model
Hi all!
I am fitting a Poisson model, using the following command:
> fit2<-glm(canc~id1+year1+time+lnpa,family=poisson)
where 'id1', 'year1' and 'time' are factors. I defined them with:
> id1<-C(factor(id1), treatment)
and 'lnpa' is a continuous variable.
The 'summary' function gives me all the effects estimates, that is, for id1,
I
2007 Jun 06
2
Multiple color schemes for barchart (lattice)
Hello R-help.
I am trying to make a stacked barplot where the color of the sections of
each bar depend on another variable.
> myData[1:11,]
score percent marker cellType Malignant
1 0 100.00000 ESR1 (ER) Bladder.M(5) TRUE
2 0 80.00000 PAX8 Bladder.M(5) TRUE
3 1 20.00000 PAX8 Bladder.M(5) TRUE
4 0 100.00000 ESR1 (ER) Brain.N(3) FALSE
5 0
2007 Oct 29
1
How to test combined effects?
Suppose I have a mixed-effects model where yij is the jth sample for
the ith subject:
yij= beta0 + beta1(age) + beta2(age^2) + beta3(age^3) + beta4(IQ) +
beta5(IQ^2) + beta6(age*IQ) + beta7(age^2*IQ) + beta8(age^3 *IQ)
+random intercepti + eij
In R how can I get an F test against the null hypothesis of
beta6=beta7=beta8=0? In SAS I can run something like contrast age*IQ
1,
2012 Aug 04
1
lme4 / HLM question
I'm hoping that this is a relatively easy question for someone familiar with
the lme4 package.
I'm accustomed to using HLM software and writing a simple 2 level [null]
equation like this:
L1 - Yij = b0 + e
L2 - b0 = B00 + u0
The following command in R provides results that are identical to the HLM
program.
results <- lmer( Y ~ 1 |id , PanelData4)
I can't
2005 May 20
1
using src/Makevars file
Hi all,
Thanks to all who offered advice on using F95 in R.
Now I'm trying to compile a test package using gfortran, Linux 2.4.21 and
R 2.1.0.
I was able to successfully compile and use a test F95 routine by setting my
environment variables as follows in bash:
export PATH=~/bin/:$PATH
export F77=gfortran
export LD_LIBRARY_PATH=~/bin/irun/lib
export GFORTRAN_STDIN_UNIT=-1
Now I'm
2002 Nov 18
2
Boot problem: may you help me?
Hello!
I have a boot problem with ISOLinux 2.00, downloaded yesterday. The CD
works fine with every PC except on an IBM Thinkpad. If I poweron the TP and
try to boot from CD I get back a "isolinux: disk error 01, ax = 4211,8B".
Then, if I reboot (ctrl-alt-canc) your isolinux works fine.
May you help me?
--
Stefano Pettini
spettini at inwind.it
New ICQ number: 159144497
Notary of
2006 Dec 12
1
SPA2100 sends an unexpected BYE message when transmitting a FAX
Hi everyone,
I'm trying to send a FAX with the following configuration:
Analog FAX machine (OKI) <----->SPA21000<----->LAN<----->Asterisk<--------> PSTN
I'm restricted to use passthru mode for faxing, instead of T.38
protocol, because the Asterisk box is running v1.2 and cannot be
changed as it is in a heavy production environment. Anyway, it
"should"
2011 Mar 23
1
spa8000 t38 faxing
Hi
I'm trying to get the spa 8000 used with a fax machine using t38 passthru
i have tried with 1.6.2 and 1.8.3 and is still a no go
the provider i use is 012 in israel wich supports t38 (i use it with ffa)
could anybody give me a clue how to get this working if it should
t38pt is set to yes in sip.conf
Thanks,
Israel
-------------- next part --------------
An HTML attachment was
2004 Sep 14
3
reshaping some data
Hi all,
I have a data.frame with the following colnames pattern:
x1 y11 x2 y21 y22 y23 x3 y31 y32 ...
I.e. I have an x followed by a few y's. What I would like to do is turn
this wide format into a tall format with two columns: "x", "y". The
structure is that xi needs to be associated with yij (e.g. x1 should
next to y11 and y12, x2 should be next to y21, y22, and
2006 Jul 30
2
Question about data used to fit the mixed model
Hi everyone,
I would like to ask a question regarding to the data used to fit the mixed
model.
I wonder that, for the response variable data used to fit the mixed model
(either via "spm" or "lme"), we must have several observations per subject
(i.e. Yij, i = 1,..,M, j = 1,.., ni) or it can be just one observation per
subject (i.e. Yi, i = 1,...,M). Since we have to
2012 Sep 07
2
metafor package: study level variation
Hello. A quick question about incorporating variation due to study in the metafor package. I'm working with a particular data set for meta-analysis where some studies have multiple measurements. Others do not. So, let's say the effect I'm looking at is response to two different kinds of drug treatment - let's call their effect sizes T1 and T2. Some studies have multiple
2017 Nov 29
2
binary form of is() contradicts its unary form
Hi,
The unary forms of is() and extends() report that data.frame
extends list, oldClass, and vector:
> is(data.frame())
[1] "data.frame" "list" "oldClass" "vector"
> extends("data.frame")
[1] "data.frame" "list" "oldClass" "vector"
However, the binary form of is()
2005 Sep 12
1
Glmm for multiple outcomes
Dear All,
I wonder if there is an efficient way to fit the generalized linear mixed model for multivariate outcomes.
More specifically, Suppose that for a given subject i and at a given time j we observe a multivariate outcome Yij = (Y_ij1, Y_ij2, ..., Y_ijK).
where Y_ijk is a binomial(n_ijk, p_ijk).
One way to jointly model the data is to use the following specification:
g(p_ijk) =
2017 Nov 29
2
binary form of is() contradicts its unary form
Hi Mehmet,
On 11/29/2017 11:22 AM, Suzen, Mehmet wrote:
> Hi Herve,
>
> I think you are confusing subclasses and classes. There is no
> contradiction. `is` documentation
> is very clear:
>
> `With one argument, returns all the super-classes of this object's class.`
Yes that's indeed very clear. So if "list" is a super-class
of "data.frame" (as
2005 Oct 08
1
windows/g95 peculiarity
I'm not looking for an answer here, this is just a report of a
peculiar event I've observed
and can reproduce.
I'm developing a g95 (20050129) compiled package on windows xp pro
using R-2.1.1, and gcc-3.4.2 (mingw special). An older version of the
F95 package compiled and ran without problems. The new version of the
package includes extensive changes in the code.
The package has a
2012 Apr 03
1
Imputing missing values using "LSmeans" (i.e., population marginal means) - advice in R?
Hi folks,
I have a dataset that consists of counts over a ~30 year period at multiple (>200) sites. Only one count is conducted at each site in each year; however, not all sites are surveyed in all years. I need to impute the missing values because I need an estimate of the total population size (i.e., sum of counts across all sites) in each year as input to another model.
>
2012 May 22
3
How to remove square brackets, etc. from address strings?
Hello,
I'd like to remove the individual pairs of square brackets along with
their content - plus the space directly behind it - from address strings
such as this:
[Swidsinski, Alexander; Loening-Baucke, Vera; Lochs, Herbert] Charite
Humboldt Univ, Innere Klin, D-10098 Berlin, Germany; [Hale, Laura P.]
Duke Univ, Med Ctr, Dept Pathol, Durham, NC 27710 USA
I'd like get the
2012 Nov 01
2
SyntaxError in Posts#index
getting this error
compile error
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:5: syntax error, unexpected ''=''
...w Goal", new_post_path, class="btn btn-success" );@output_bu...
^
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:7: syntax error, unexpected kDO_BLOCK, expecting kEND
''); @posts.each
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
configure.ac | 1
dev/null |binary
test/Makefile.am | 2
test/custom/.gitignore | 2
test/custom/Makefile.am | 85 +++
test/custom/button-events-button-5.swf |binary
2017 Apr 04
2
Re: creating a lxc image to be used with libvirt-lxc
ok, thank you Daniel, that helps, I'll see if I can adapt it to other OS
and figure out the docker style stuff, it would be useful to run a few
things I have in mind.
Btw, Daniel, have you ever tried to run libvirt inside a container? I was
trying to do so to test things since I didn't want to get all the stuff
installed on the host, but I got a whole bunch of errors and virt-manager