Displaying 20 results from an estimated 2000 matches similar to: "Difference between AIC in GLM and GLS - not an R question"
2007 Sep 04
1
Robust linear models and unequal variance
Hi all,
I have probably a basic question, but I can't seem to find the answer in
the literature or in the R-archives.
I would like to do a robust ANCOVA (using either rlm or lmRob of the
MASS and robust packages) - my response variable deviates slightly from
normal and I have some "outliers". The data consist of 2 factor
variables and 3-5 covariates (fdepending on the model).
2007 Nov 16
1
Question about lmRob
Hi,
I am trying to fit a ANCOVA model using lmRob. The P-values of the
variables in the model differ hugely between the summary() function and
the anova() function (from >0.8 in the summary to <0.001in the anova for
the same variable). I understand that with an ANCOVA the order in which
the variables are added to the model matters and that this influences
the P-value, but can this make such
2007 Oct 26
1
Help needed on calculation of Moran's I
Hi,
I am trying to calculate Moran's I test for the residuals for a
regression equation, but I have trouble converting my coordinates into
nb format.
I have used the dnearneigh() funtion now with an arbitrarily high upper
distance to make it include all plots. However, when I do the
lm.morantest() I get a Moran's I value which is the same as the expected
value and a P-value of 1.
I
2007 Nov 20
1
Problem with code for bootstrapping chi square test with count data
Hi,
I'd like some advice on bootstrapping in R.
I have a species x with 20 individuals and a factor containing 0 and 1's
(in this case 5 zeros and 15 ones). I want to compare the frequency of
the occurrence of 1 with a probability value. This code seems to work to
do this in R.
attach(test)
p <- c(0.5272, (1-0.5272))
sp1_1 <- length(subset(x, x==1))
sp1_0 <- length(subset(x,
2007 Oct 22
3
Spatial autocorrelation
Hi,
I have collected data on trees from 5 forest plots located within the
same landscape. Data within the plots are spatially autocorrelated
(calculated using Moran's I). I would like to do a ANCOVA type of
analysis combining these five plots, but the assumption that there is no
autocorrelation in the residuals is obviously violated. Does anyone have
any ideas how to incorporate these spatial
2013 Apr 18
1
Statistical test for heteroscedasticity for an object of class "gls"
Hi there,
Does anyone know of a statistical test for heteroscedasticity for an object of class "gls"? (or alternative objective methods).
Thanks in advance,
Ben Gillespie, Research Postgraduate
o-------------------------------------------------------------------o
School of Geography, University of Leeds, Leeds, LS2 9JT
o-------------------------------o
http://www.geog.leeds.ac.uk/
2009 Aug 20
1
definition of AIC and BIC in gls
Hello everybody,
Please help with connecting the AIC and BIC numbers printed by summary.gls to the logLik number.
1. is the logLik number the true ML or density scaling constants have been omitted?
2. what is the formula for calculating the AIC and BIC from logLik (and how can I see it)? I tried printing summary.gls but it says object not found.
Thank you very much.
Stephen
[[alternative
2010 Aug 11
2
Samba/Winbind issue
Hi,
I have an issue with Samba using winbind. We have Active Directory groups with underscores (for example sambagroup_underscore). But an underscore in Samba (Unix) is a space in Active Directory.
So my question is what character is used in Samba (Unix) for an underscore in Active Directory? Or are there other solutions to solve this?
I would be very happy if you can help me!
Met
2010 Mar 09
1
Computation of AIC for gls models
Dear Colleagues,
We are using the phylog.gls.fit() function from the R package "PHYLOGR" (Diaz-Uriarte R, Garland T: PHYLOGR: Functions for phylogenetically based statistical analyses. 2007. Available at [http://cran.r-project.org/web/packages/PHYLOGR/index.html]) to correct for lack of independence between data points. (In our particular case, the lack of independence is due to
2004 Sep 01
1
Successive writing to a Samba 3 Beta 3 server problem
Hello,
I'm currently working on a CIFS client program which has to store data
on a NAS running with Samba 3 beta 3, but I have a problem with it when
I want to write large amounts of data to the NAS. The problem occurs
after about 5-10 min (sometimes less, sometimes longer) when I don't get
a ANDX_WRITE_RESPONSE. The funny thing is that the data packet which
doesn't
2010 Sep 23
1
Samba 3.5.4: log.smbd: PANIC (pid 16232692): sys_setgroups failed
Hi,
We use Samba 3.5.4 using winbind on AIX.
The issue we have is that some accounts can not access the Samba share. The belong to the correct Active Directory group. I have googled and I have read something about too many Active Directory groups. Is this a know issue and is there a workaround for this?
The issue which occurs:
log.smbd: PANIC (pid 16232692): sys_setgroups failed
Met
2010 Oct 05
1
smb_panic sys_setgroups failed
Hi,
We have Samba version 3.5.4 and we are using winbind (Active Directory) for authorisation.
The issue is that for most of the members of a Samba share it is not possible to connect this Samba share. This because of the error below. It seems to be that the number of Active Directory groups where this Samba member belongs to is too high.
UNIX token of user 588109
Primary group is 10049 and
2006 Jan 27
2
How do I "normalise" a power spectral density analysis?
Hi everyone
Can anyone tell me how I normalise a power spectral density (PSD) plot of a
periodical time-series. At present I get the graphical output of spectrum VS
frequency.
What I want to acheive is period VS spectrum? Are these the same things but the
x-axis scale needs transformed ?
Any help would be greatly appreciated
Tom
2007 Mar 13
1
AR(1) and gls
Hi there,
I am using gls from the nlme library to fit an AR(1) regression model.
I am wondering if (and how) I can separate the auto-correlated and random
components of the residuals? Id like to be able to plot the fitted values +
the autocorrelated error (i.e. phi * resid(t-1)), to compare with the
observed values.
I am also wondering how I might go about calculating confidence (or
2004 Sep 07
6
Further png() question
Ok, I have reinstalled R-1.9.0 and this appears to have fixed the
problems I was having with png(). However, I have a further question
regarding png()
Is it possible to pass a par() argument to the png() command? I am
wanting to produce 4 plots per object, which I normally acheive on an X
window by par(mfrow=c(1,4)). I have tried calling a new plot and setting
par in this way but this has no
2005 Feb 16
4
Passing colnames to graphics title
Hi,
Just a quick query - if I'm creating a function to produce a number of
histograms per page of output (one per column from a matrix), how can I
pass the column name of the matrix into the title (or indeed to form part
of the x-axis label)?
TIA,
Laura
Laura Quinn
Institute of Atmospheric Science
School of Earth and Environment
University of Leeds
Leeds
LS2 9JT
tel: +44 113 343 1596
fax:
2007 Mar 13
1
AR(1) models with gls
Hi there,
I am using gls from the nlme library to fit an AR(1) regression model.
I am wondering if (and how) I can separate the auto-correlated and random
components of the residuals? Id like to be able to plot the fitted values +
the autocorrelated error (i.e. phi * resid(t-1)), to compare with the
observed values.
I am also wondering how I might go about calculating confidence (or
2006 Feb 08
2
slightly off-topic re prcomp()
Hi,
I was wondering if anyone could tell me why prcomp() will "Invent" modes
of variation in a PCA on identical replicates of data? I would have
expected 50 (or whatever number) of identical replicates to return a null
score in such an analysis (or at the least, all variables would share the
same PC score). This is not the case and I was wondering could someone
point me in the direction
2006 Jan 28
3
Creating 3D Gaussian Plot
Hello,
I requested help a couple of weeks ago creating a dipole field in R but
receieved no responses. Eventually I opted to create a 3d sinusoidal plot
and concatenate this with its inverse as a means for a "next best"
situation. It seems that this isn't sufficient for my needs and I'm really
after creating a continuous 3d gaussian mesh with a "positive" and
2004 Aug 15
3
Stacking Vectors/Dataframes
Hello,
Is there a simple way of stacking/merging two dataframes in R? I want to
stack them piece-wise, not simply add one whole dataframe to the bottom of
the other. I want to create as follows:
x.frame:
aX1 bX1 cX1 ... zX1
aX2 bX2 cX2 ... zX2
... ... ... ... ...
aX99 bX99 cX99 ... zX99
y.frame:
aY1 bY1 cY1 ... zY1
aY2 bY2 cY2 ... zY2
... ... ... ... ...
aY99 bY99 cY99 ...