Displaying 20 results from an estimated 30000 matches similar to: "Effective degrees of freedom"
2008 Jan 16
1
degrees of freedom and random effects in lmer
Dear All,
I used lmer for data with non-normally distributed error and both fixed
and random effects. I tried to calculate a "Type III" sums of squares
result, by I conducting likelihood ratio tests of the full model against
a model reduced by one variable at a time (for each variable
separately). These tests gave appropriate degrees of freedom for each of
the two fixed effects, but
2007 Jun 16
0
Fwd: How to set degrees of freedom in cor.test?
You could calculate the confidence interval of the correlation at
your desired df: http://davidmlane.com/hyperstat/B8544.html
The below code takes as arguments the observed correlation, N, and
alpha, calculates the confidence interval and checks whether this
includes 0.
cor.test2=function(r,n,a=.05){
phi=function(x){
log((1+x)/(1-x))/2
}
inv.phi=function(x){
2003 Oct 21
2
Denominator Degrees of Freedom in lme() -- Adjusting and Understanding Them
Hello all.
I was wondering if there is any way to adjust the denominator degrees of
freedom in lme(). It seems to me that there is only one method that can be
used. As has been pointed out previously on the list, the denominator
degrees of freedom given by lme() do not match those given by SAS Proc
Mixed or HLM5. Proc Mixed, for example, offers five different options for
computing the
2007 May 02
1
Degrees of freedom in repeated measures glmmPQL
Hello,
I've just carried out my first good-looking model using glmmPQL, and
the output makes perfect sense in terms of how it fits with our
hypothesis and the graphical representation of the data. However,
please could you clarify whether my degrees of freedom are
appropriate?
I had 106 subjects,
each of them was observed about 9 times, creating 882 data points.
The subjects were in 3
2007 Jun 14
0
How to set degrees of freedom in cor.test?
Hello,
I want to compute a correlation test but I do not want to use the
degrees of freedom that are calculated by default but I want to set a
particular number of degrees of freedom.
I looked in the manual, different other functions but I did not found
how to do it
Thanks in advance for your answers
Yours
Florence Dufour
PhD Student
AZTI Tecnalia - Spain
2006 Mar 08
1
Degrees of freedom using Box.test()
After an RSiteSeach("Box.test") I found some discussion regarding the degrees
of freedom in the computation of the Ljung-Box test using Box.test(), but did
not find any posting about the proper degrees of freedom.
Box.test() uses "lag=number" as the degrees of freedom. However, I believe
the correct degrees of freedom should be "number-p-q" where p and q are
2003 Jul 04
0
degrees of freedom in nlme() (PR#2384)
I would like to document my findings (with a potential FIX) regarding the
issue of calculation of the degrees of freedom with nlme().
The program given at the bottom of this email generates and fit 20 data
sets with a mixed-effects LINEAR model, but using the function nlme()
instead of lme(). In each case, the correct number of degrees of freedom
for the intercept parameter is 12. However, in
2006 Nov 01
1
gamm(): degrees of freedom of the fit
I wonder whether any of you know of an efficient way to calculate the approximate degrees of freedom of a gamm() fit.
Calculating the smoother/projection matrix S: y -> \hat y and then its trace by sum(eigen(S))$values is what I've been doing so far- but I was hoping there might be a more efficient way than doing the spectral decomposition of an NxN-matrix.
The degrees of freedom
2012 Jul 26
0
plsdof 0.2-3: Degrees of Freedom and Statistical Inference for Partial Least Squares
Dear R users,
we proudly announce the latest release of our R package plsdof: Degrees
of Freedom and Statistical Inference for Partial Least Squares.
Features include:
* Degrees of Freedom estimates for Partial Least Squares (PLS) Regression
* Model selection for PLS based on various information criteria and on
cross-validation
* approximate confidence intervals and significance tests for PLS
2012 Jul 26
0
plsdof 0.2-3: Degrees of Freedom and Statistical Inference for Partial Least Squares
Dear R users,
we proudly announce the latest release of our R package plsdof: Degrees
of Freedom and Statistical Inference for Partial Least Squares.
Features include:
* Degrees of Freedom estimates for Partial Least Squares (PLS) Regression
* Model selection for PLS based on various information criteria and on
cross-validation
* approximate confidence intervals and significance tests for PLS
2011 Jan 12
1
Degrees of freedom
Hello,
I have a little problem about degree of freedom in R.
if you can help me, I will be happy.
I used nlme?function to analyze my data and run the linear mixed
effects model in R.
I did the linear mixed effect analysis in SAS?and SPSS as well.
However, R gave?the different degrees of freedom than SAS?and SPSS did.
Can you help me to learn what the reason is to obtain different
degrees of
2012 Nov 25
2
Finding the Degrees of Freedom in a Wilcoxon Test
Dear R-ers,
I am currently running some Wilcoxon tests in R-64.
How do I find the degrees of freedom in the output I am receiving?
> wilcox.test(good$TRUE, good$x4a, paired=FALSE)
Wilcoxon rank sum test with continuity correction
data: good$TRUE and good$x4a
W = 2455, p-value < 2.2e-16
alternative hypothesis: true location shift is not equal to 0
Thank you,
Stephen.
2008 Mar 05
1
degrees of freedom extraction
Hello,
II used the logLik() function to get the log-likelihood estimate of an
object. The function also prints the degrees of freedom. How can I extract
the degrees of freedom and assign it to a variable.
Below is the output:
> logLik(fit2pl)
'log Lik.' -4842.912 (df=36)
Thanks,
Davood Tofighi
[[alternative HTML version deleted]]
2000 Jun 06
1
estimating degrees of freedom iof student t
I have come across the following situation when using the function
pt which calls the student t distribution function. I simulate data
from a normal distribution and fit the student t. The estimated
degrees of freedom gets larger at each iteration and there is no
convergence. It seems there should be some mechanism where it
switched to a normal distribution when the degrees of freedom gets
2011 Mar 28
1
Degrees of freedom for lm in logLik and AIC
I have a question about the computation of the degrees of freedom in a linear
model:
x <- runif(20); y <- runif(20)
f <- lm(y ~ x)
logLik(f)
'log Lik.' -1.968056 (df=3)
The 3 is coming from f$rank + 1. Shouldn't it be f$rank? This affects
AIC(f).
Thanks
Frank
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
2008 Mar 04
0
using Chi-square test with a certain number of degrees of freedom ?
Hi all,
Could someone please help me to calculate the P-value by using Chi-square test with a certain number of degrees of freedom?
I have a data set to be calculated here:
observed: 224, 64, 6
expected: 222.9, 66.2, 4.9
degrees of freedom: 1
I have been reading the documentations for three days, and can't find the answers.
Please help.Thanks in advance.
Regards,
Frank
2004 Jan 05
1
MANOVA power, degrees of freedom, and RAO's paradox
Hi,
I have a nested unbalanced data set of four correlated variables. When I
do univariate analyses, my factor of interest is significant or
marginally significant with all of the variables. Small effect size but
always in the same direction. If I do a MANOVA instead (because the
variables are not independent!) then my factor is far from being
significant. How does that come about?
I have
2006 Feb 16
0
Strata and Degrees of freedom in anova and multi-level modeling
I am changing the title because this is really about the history of
anova,
and about strata in analysis of variance. As this kind of question
has been
arising very frequently, an extended comment may be in order.
The ideas, and the sums of squares breakdowns, go back to Fisher; see
in particular his "Design of Experiments", first published in 1935.
This
book is still a good
2010 Apr 21
1
Degrees of Freedom Not Allocated to Residuals in Reduced Model
##I am trying to test for fixed factor main effects in an unbalanced mixed effects model but when I fit the reduced model for "mic" factor effects, the extra degrees of freedom are being allocated to a nested term rather than the residuals. The model has inc, mic and spp are independent variables and vial nested within spp. inc and spp are already coded as factors since they were
2011 Jul 19
2
Incorrect degrees of freedom for splines using GAMM4?
Hello,
I'm running mixed models in GAMM4 with 2 (non-nested) random intercepts and
I want to include a spline term for one of my exposure variables. However,
when I include a spline term, I always get reported degrees of freedom of
less than 1, even when I know that my spline is using more than 1 degree of
freedom. For example, here is the code for my model:
>