Displaying 20 results from an estimated 1200 matches similar to: "R vs SAS and HLM on multilevel analysis- basic question"
2003 Apr 08
3
Multilevel Analyses in R
I am new to R and would like to get some practice analyzing multilevel data. I wonder if anyone can point me to a sample data set and command lines that I might replicate for a sample session. I would then compare my output with HLM output.
Any help is appreciated.
------
Harold C. Doran
Director of Research and Evaluation
New American Schools
675 N. Washington Street, Suite 220
Alexandria,
2005 Jun 09
2
can nlme do the complex multilevel model?
data from multilevel units,first sample the class ,and then the student in calss.following is the 2-level model. and the level-1 model deals with the student,and the level-2 model deals with the class level the students belong to.
Level-1 Model
Y = B0 + B1*(ZLEAD) + B2*(ZBUL) + B3*(ZSHY) + R
Level-2 Model
B0 = G00 + U0
B1 = G10 + G11*(ZWARMT) + U1
B2 = G20 + G21*(ZWARMT) + G22*(ZABLET) +
2008 Feb 13
2
Newbie HLM with lme4 questions
Dear R listers,
I know I'm breaking the rules by asking a "homework" related question--
I hope you'll forgive me. I am a social psychology graduate student,
and the only one in my department who uses R. I successfully completed
my multiple regression and structural equation modeling courses using
R (John Fox's car and sem packages were a big help, as was his book).
2000 Sep 12
1
HLM in R
Does anyone know of code to conduct hierarchical (that is, multi-level)
models using R. Beyond simply requiring a nested design, I want to model
explicitly the covariance between levels as is done in such multi-level
modeling software as HLM or MLwin and discussed in Goldestein (1999)
available online at http://www.arnoldpublishers.com/support/goldstein.htm (a
nice and free resource for anyone
2009 Mar 31
1
USING MULTILEVEL PACKAGE AND WABA FUNCTION
Dear friends,
this time I have a problem with using waba function. Firstly, I'll explain you my situation.
In the survey a gruop of supervisors judge the dipendents of a company.
One supervisor reported on more than one subordinate.
Thus, I need to show that lack of independence is not a problem, and a reviewer told me to use WABA.
The question is, how? In which way i can build my X and Y?
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
2011 Feb 01
1
Lmer binomial distribution x HLM Bernoulli distribution
Dear R-users,
I'm running a lmer model using the lme4 package. My dependent variable is
dichotomous and I'm using the "binomial" family. The results
are slightly different from the HLM results based on a Bernoulli
distribution. I read that a Bernoulli distribution is an extension of a
binomial distribution. Is that right? If so, how can I adapt my R model to a
Bernoulli
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
2017 Aug 16
4
{nlme} Question about modeling Level two heteroscedasticity in HLM
Hello dear uesRs,
I am working on modeling both level one and level two
heteroscedasticity in HLM. In my model, both error variance and
variance of random intercept / random slope are affected by some level
two variables.
I found that nlme is able to model heteroscedasticity. I learned how
to use it for level one heteroscedasticity but don't know how to use
it to model the level
2017 Aug 16
0
{nlme} Question about modeling Level two heteroscedasticity in HLM
If you don't get a response it is because you did not read the Posting Guide which indicates that the R-sig-ME mailing list is where this question would have been on-topic.
--
Sent from my phone. Please excuse my brevity.
On August 16, 2017 6:17:03 AM PDT, b88207001 at ntu.edu.tw wrote:
>Hello dear uesRs,
>
>I am working on modeling both level one and level two
2017 Aug 16
0
{nlme} Question about modeling Level two heteroscedasticity in HLM
A better place for this post would be on R's mixed models list:
r-sig-mixed-models .
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Aug 16, 2017 at 6:17 AM, <b88207001 at ntu.edu.tw> wrote:
> Hello dear
2006 Nov 07
3
question on multilevel modeling
Hi,
I am trying to run a multilevel model with time nested in people and
people nested in dyads (3 levels of nesting) by initially running a
series of models to test whether the slope/intercept should be fixed or
random. The problem that I am experiencing appears to arise between the
random intercept, fixed slope equation AND.
(syntax:
rint<-lme(BDIAFTER~BDI+WEEK+CORUMTO,
2003 Jun 25
2
within group variance of the coeficients in LME
Dear listers,
I can't find the variance or se of the coefficients in a multilevel model
using lme.
I want to calculate a Chi square test statistics for the variability of the
coefficients across levels. I have a simple 2-level problem, where I want to
check weather a certain covariate varies across level 2 units. Pinheiro
Bates suggest just looking at the intervals or doing a rather
2011 Feb 05
1
very basic HLM question
Hi everyone,
I need to get a between-component variance (e.g. random effects Anova),
but using lmer I don't get the same results (variance component) than
using random effects Anova. I am using a database of students, clustered
on schools (there is not the same number of students by school).
According to the ICC1 command, the interclass correlation is .44
> ICC1(anova1)
[1] 0.4414491
2008 Jun 15
1
multilevel basic lme question
Hi R users
I want to use the lme package for a multilevel analysis on the following example:
> math<-c(2, 3,2, 5, 6 ,7 , 7)
> sex<-c(1, 2, 1, 2, 2, 2, 1)
> school_A<-c(1,1,1,2,2,2,2)
> school_B<-c(10,10,10,20,20,20,20)
> mydata<-data.frame(math, sex, school_A, school_B)
> mydata
School_A and school_B are two different school characteristics, math is an
2003 Jul 08
2
NLME Fitted Values
Dear List:
I am having difficulties with the fitted values at different levels of a multilevel model. My data set is a series of student test scores over time with a total of 7,280 observations, 1,720 students nested witin 60 schools. The data set is not balanced.
The model was fit using
eg.model.1<-lme(math~year, random=~year|schoolid/childid, data=single).
When I call the random
2009 Feb 28
1
lme4 and Variable level detection
I am making a little GUI for lme4, and I was wondering if there is a function
that automatically detects on which level every variable exists.
Furtheremore I got kind of confused about what a random effects model
actually calculates.
I have some experience with commercial software packages for multilevel
analysis, like HLM6, and I was surprised that lme4 does not require the user
to specify the
2001 Jun 06
3
HLM-like analysis in R
Greetings-
I have some data on which I need to do something like a Hierarchical
Linear Model (please bear with me, I'm only learning the technique so I
don't know yet if my language is correct). Essentially I'm analyzing data
at two levels simultaneously; data are about individuals an organizations
of which they are members.
Can someone point me toward an appropriate package in R?
2006 Jan 12
1
Multilevel models with mixed effects in R?
Group,
I am new to R. In my work as a program evaluator, I am regularly asked
to estimate effect sizes of prevention/intervention and educational
programs on various student outcomes (e.g. academic achievement). In
many cases, I have access to data over three or more time periods (e.g.
growth in proficiency test scores).
I usually have multiple independent and dependent variables in each
2005 Aug 17
4
How to assess significance of random effect in lme4
Dear All,
With kind help from several friends on the list, I am getting close.
Now here are something interesting I just realized: for random
effects, lmer reports standard deviation instead of standard error! Is
there a hidden option that tells lmer to report standard error of
random effects, like most other multilevel or mixed modeling software,
so that we can say something like "randome