Displaying 20 results from an estimated 5000 matches similar to: "mixed model MANOVA? does it even exist?"
2010 Oct 29
1
Repeated Measures MANOVA
Hello all,
Is there an r function that exists that will perform repeated measures MANOVAs? For example, let's say I have 3 DVs, one between-subjects IV, and one within-subjects IV. Based on the documentation for the manova command, a function like that below is not appropriate because it cannot take Error arguments.
manova(cbind(DV1,DV2,DV3) ~ BetweenSubjectsIV * WithinSubjectsIV +
2008 Jun 22
1
two newbie questions
# I've tried to make this easy to paste into R, though it's probably
so simple you won't need to.
# I have some data (there are many more variables, but this is a
reasonable approximation of it)
# here's a fabricated data frame that is similar in form to mine:
my.df <- data.frame(replicate(10, round(rnorm(100, mean=3.5, sd=1))))
var.list <- c("dv1",
2020 Oct 05
1
Simultaneous Equation Model with Dichotomous Dependent Variables
Hello everyone!
I am currently working with a time series panel data set measuring six dependent variables:
4 of which are binary and 2 of which are count data.
I am interested in constructing a model to measure if the dependent variables influence one another.
For example: DV1~ DV2 + IV1+IV2+ Controls and DV2~ DV1 + IV1+ IV2+ Controls
(where IV stands for independent variable, not
2005 Jul 07
1
multivariate regression using R
Does anyone know if there is a way to run multivariate linear regression
in R? I tried using the lm function (e.g., lm(dv1, dv2~iv1+iv2+iv3),
but got error messages. Is my syntax wrong, or do I need a particular
package?
Thanks,
Jeff--
________________________________________________________
Jeffrey J. Lusk, Ph.D.
Postdoctoral Research Associate
Department of Forestry &
2010 Oct 08
1
MANCOVA
Hi,
I have been using R to do multiple analyses of variance with two
covariates, but recently found that the results in SPSS were very
different. I have check several books and web resources and I think
that both methods are correct, but I am less familiar with R, so I was
hoping someone could offer some suggestions. Oddly simple ANOVA is the
same in SPSS and R. Including covariates improves the
2008 Jan 13
1
How to fit a Tobit model with observations censored at different values
Dear everyone:
I am a new user of R. I have a dataset with a dependent variable (DV) censored at different values. The dataset looks like,
conditions .....IDV1 IDV2 DV
1 2 4 89
1 6 6 75
1 4 5 0 ( DV<=70)
......
2 3 5 15
2 5 5 0
2009 Oct 12
3
[LLVMdev] Alloca Requirements
Are there any implicit assumptions about where alloca instructions
can appear. I've got a failing test where the only difference
between a passing test and a failing test is one application of
this code in instcombine:
// Convert: malloc Ty, C - where C is a constant != 1 into: malloc [C x Ty], 1
Seems pretty harmless to me.
Later on the instcombine code does this:
// Scan to the end of
2008 Apr 28
0
weighted nonlinear fits: `nls' and `eval'
dear list,
my question concerns the use of `eval' in defining the model formula
for `nls' (version 2.6.2.).
consider the following simple example, where the same model and data
are used to perform unweighted and weighted fits. I intentionally
used very uneven weights to guarantee large differences in the results
#================================CUT===========================
ln
2008 Apr 30
0
weighted nonlinear fits: `nls' and `eval'
2 days ago I asked this on r-help, but no luck... since
this is actually a programming question, I post it here
again:
my question concerns the use of `eval' in defining the model
formula for `nls' when performing weighted fits. (I use
version 2.6.2., but according to NEWS there were no changes
to `nls' in 2.7.0, so the problem is still present). in this
scenario their
2011 Jun 09
1
Question on Manova
Hi all,
Is the Manova in R restricted to a certain amount of variables? I have currently problems building a model with 47 variables.
Thanks a lot!
Best,
Veronika
**************************************************************************************
This message is intended only for the use of the address...{{dropped:14}}
2012 Feb 08
2
dropterm in MANOVA for MLM objects
Dear R fans,
I have got a difficult sounding problem.
For fitting a linear model using continuous response and then for re-fitting the model after excluding every single variable, the following functions can be used.
library(MASS)
model = lm(perf ~ syct + mmin + mmax + cach + chmin + chmax, data = cpus)
dropterm(model, test = "F")
But I am not sure whether any similar functions is
2009 Jan 26
2
Power analysis for MANOVA?
Hello,
I have searched and failed for a program or script or method to
conduct a power analysis for a MANOVA. My interest is a fairly simple case
of 5 dependent variables and a single two-level categorical predictor
(though the categories aren't balanced).
If anybody happens to know of a script that will do this in R, I'd
love to know of it! Otherwise, I'll see about writing one
2010 Jul 21
1
The opposite of "lag"
Hello!
I have a data frame A (below) with a grouping factor (group). I take
my DV and create the new, lagged DV by applying the function lag.it
(below). It works fine.
A <- data.frame(year=rep(c(1980:1984),3), group=
factor(sort(rep(1:3,5))), DV=c(rnorm(15)))
lag.it <- function(x) {
DV <- ts(x$DV, start = x$year[1])
idx <- seq(length = length(DV))
DVs <- cbind(DV, lag(DV,
2013 Nov 15
1
optimization
x1<-c(5.548,4.896,1.964,3.586,3.824,3.111,3.607,3.557,2.989,18.053,3.773,1.253,2.094,2.726,1.758,5.011,2.455,0.913,0.890,2.468,4.168,4.810,34.319,1.531,1.481,2.239,4.204,3.463,1.727)
y<-c(2.590,3.770,1.270,1.445,3.290,0.930,1.600,1.250,3.450,1.096,1.745,1.060,0.890,2.755,1.515,4.770,2.220,0.590,0.530,1.910,4.010,1.745,1.965,2.555,0.770,0.720,1.730,2.860,0.760)
2005 Mar 16
2
How to concatenate time series?
Hello,
I have just completed first experiments in using R, especially creating and
using ARIMA models, e.g.
# create a model as in example(arima)
fit <- arima(USAccDeaths, order = c(1,1,1),seasonal = list(order=c(1,1,1)))
# use the model to generate a prediction
dp<-predict(fit, n.ahead = 24)
plot(dp$pred) # view the prediction
Now I created a combined chart of the original and
2009 Aug 26
2
simple graph question: manipulating variable names
This is a simple problem that has stumped me: I'm trying to loop through a
few dozen variable names in graphs. I've tried various approaches like
this:
attach(mydata)
ivs <- c("oneiv", "anotheriv", "yetanotheriv")
dvs <- c("onedv", "anotherdv", "yetanotherdv")
for (iv in ivs) {
for (dv in dvs) {
graphname <- paste(iv,
2005 Oct 12
2
linear mixed effect model with ordered logit/probit link?
Hello,
I'm working on the multiple categorical data (5-points scale) using linear
mixed effect model and wondering if anyone knows about or works on the
linear mixed effect model with ordered logit or probit link.
I found that the "lmer" function in R is very flexible and supports
various models, but not ordered logit/probit models. I may conduct my
analysis by turning my DVs
2006 Feb 16
2
MANOVA: how do I read off within and between Sum-of-Squares info from the manova result?
Hi all,
I am experimenting the function "manova" in R.
I tried it on a few data sets, but I did not understand the result:
I used "summary(manova_result)"
and "summary(manova_result, test='Wilks')"
and they gave a bunch of numbers...
But I need the Sum-of-Squares of BETWEEN and WITHIN matrices...
How do I read off from the R's manova results?
Any
2004 May 24
2
Manova and specifying the model
Hi,
I would like to conduct a MANOVA. I know that there 's the manova() funciton and the summary.manova() function to get the appropriate summary of test statistics.
I just don't manage to specify my model in the manova() call. How to specify a model with multiple responses and one explanatory factor?
If I type:
2007 Feb 22
1
MANOVA usage
Hello,
I had a couple questions about manova modeling in R.
I have calculated a manova model, and generated a summary.manova output
using both the Wilks test and Pillai test.
The output is essentially the same, except that the Wilks lambda = 1 -
Pillai. Is this normal? (The output from both is appended below.)
My other question is about the use of MANOVA. If I have one variable which
has a