Displaying 6 results from an estimated 6 matches similar to: "extracting Proportion Var and Cumulative Var values from factanal"
2005 Jul 08
1
explained deviance in multinom
Hi:
I'm working with multinomial models with library nnet, and I'm trying to get the explained deviance (pseudo R^2) of my models.
I am assuming that:
pseudo R^2= 1 - dev(model) / dev (null)
where dev(model) is the deviance for the fitted model and dev(null) is the deviance for the null model (with the intercept only).
library(nnet)
full.model<- multinom(cbind(factor1,
2011 Apr 27
2
multiple comparisons on a between factor
Dear list,
im facing an issue of statistical data analysis that I consider myself
unable to resolve in R so i hope to get some valuable insights from you. i
run an ANOVA with four factors; factor4 is an between factor (two different
groups measured), the others are withins (tested across /all/ subjects).
accordingly, my model looks as follows:
fm1
2007 Mar 30
2
ANOVA and confidence intervals plot
Dear *,
I would like to obtain for each factor of my anova model the
"response variable vs factor" plot with means and 95% Tukey HSD
intervals.
I would appreciate any information on how to do that.
Cheers
--------------------------------------------------------------------
Max MANFRIN Tel.: +32 (0)2 650 3168
IRIDIA - CoDE, CP 194/6
2011 Apr 15
3
GLM output for deviance and loglikelihood
It has always been my understanding that deviance for GLMs is defined
by;
D = -2(loglikelihood(model) - loglikelihood(saturated model))
and this can be calculated by (or at least usually is);
D = -2(loglikelihood(model))
As is done so in the code for 'polr' by Brian Ripley (in the package
'MASS') where the -loglikehood is minimised using optim;
res <-
2008 Dec 26
3
lm() with same formula but different column/factor combinations in data frame
Hi,
I am trying to find an efficient way of applying a linear regression
model to different factor combinations in a data frame.
I want to obtain the output with minimal or no use of loops if
possible. Please let me know if this query is unclear.
Thanks,
Murtaza
2010 Sep 07
2
repeated measurements ANOVA
Dear list,
i am setting up a GLM for a repeated measurement ANOVA using the lm and
ANOVA function. my design contains four factors with 5, 5, 2 and 2 (=
14) levels, respectively. the data are stored in a data.frame with six
columns, one for the data themselves and the remainings for the factors
where strings indicate the factor levels in each row. now i would like
to restructure this