Displaying 20 results from an estimated 10000 matches similar to: "points size in plots"
2007 Oct 09
5
continue for loop in case of erros
Dear all,
I have a for loop which includes nls model estimation.
The loop breaks after the first non-convergence error.
How can I make the loop continue and try to estimate all models?
I suppose it should be sth like: if(...) { next }
but I have no idea how to setup the arguements...
Thank you!
Irene
2007 Oct 01
2
non-linear model parameterization
Dear all,
I would like to fit a non-linear model of the form:
y=g*x/(a+b*x)
with nls().
However this model is somehow overparameterized and I get the error message about
singular gradient matrix at initial parameter estimates.
What I am interested in is to make inference about parameters b and g, so this has to be taken into account in the model formulation.
What options do I have?
Also, how is
2007 Jun 21
3
meta-analysis in R
I would like to combine time-series data to test for correlations and
interactions using random and fixed effects meta-analysis.
So, I am looking for the right packages and documentation.
I know about meta and rmeta packages of R.
Are there any more? What are the diffrences in brief?
Can you please suggest some references that could be used as a guide for
meta-analysis in R (or S-plus)?
2008 Feb 18
3
mean and variance of ratio
Hi all!
I try to estimate a statistic of the form: (x1-x2)/(y1-y2), where
x1,x2,y1,y2 represent variable means, so each has an estimate and
standard error associated with it.
How is it possible to estimate the mean and the variance of this ratio?
Thank you!
[[alternative HTML version deleted]]
2007 Feb 15
2
simpleR or usingR package by Verzani
I am a new R user and so I thought I could start with "Using R for
Introductory statistics" by Verzani.
In order to use some of the functions and datasets I have to install the
simpleR package which is is now inside the UsingR package. I did so
using
>install.packages("UsingR"). However, the functions such as
"simple.freqpoly.R" do not work.
I also tried to
2007 Oct 15
2
coef se in lme
Hi all!
How is it possible to estimate standard errors for coef obtained from lme?
Is there sth like se.coef() for lmer or what is the anaytical solution?
Thank you!
2007 Nov 04
1
hierarchical mixed model
I would like to fit a 2-level mixed model:
yit=a+a[i]+a[it] +(b+b[i]+b[it])*xit+eps[it]
However, the variance of the second level components should depend on the group, i.e. sigma for a[it] and b[it] should be [i] specific.
I do not know whether this is conceptually right in the mixed model context...
In case it stands, how should the formula look like?
Also, the data are unbalanced with
2007 Oct 07
1
constructing a self-starting non-linear model
Dear all,
I am trying to define a selfStart function for a non-linear model, which is a log-transformed SSmicmen model with multiplicative errors and so it is required to make them additive:
log(y)=log(a)+log(x)-log(1+x/b)
Any ideas about how to use the "peeling" method to derive the "initial" argument and get the initial values?
Thank you for being always there!:)
2008 Feb 19
1
regression with error in predictor
Hi all!
I am trying to run a regression where the predictor values are not real
data but each is estimated from a different model. So, for each value I
have a mean and variance.
Which package/function should I use in this case?
Thank you!
Irene
[[alternative HTML version deleted]]
2007 Nov 28
1
interaction of continuous terms
Hi all!
this is a rather statistical question:
is it meaningful to consider an interaction effect between 2 continuous covariates?
for example: lm(y~x1+x2+x1:x2)
Should one of continuous x1, x2 be "transformed" to a categorical variable, i.e. be classified into groups?
Is it easier to interpret the effect if 1 or both are centered to the mean or z-transformed?
Thank you!
2008 May 08
2
acf function
Dear all,
I have an annual time-series of population numbers and I would like to
estimate the auto-correlation. Can I use acf() function and judge
whether auto-correlation is significant by the plots? The acf array, eg:
Autocorrelations of series 'x$log.s.r', by lag
0 1 2 3 4 5 6 7 8 9
10 11 12
1.000 0.031 -0.171
2007 Nov 07
1
mixed model testing
Is there a formal way to prove the need of a mixed model, apart from e.g. comparing the intervals estimated by lmList fit?
For example, should I compare (with AIC ML?) a model with seperately (unpooled) estimated fixed slopes (i.e.using an index for each group) with a model that treats this parameter as a random effect (both models treat the remaining parameters as random)?
Thank you!
2011 Mar 17
2
fitting gamm with interaction term
Hi all,
I would like to fit a gamm model of the form:
Y~X+X*f(z)
Where f is the smooth function and
With random effects on X and on the intercept.
So, I try to write it like this:
gam.lme<- gamm(Y~ s(z, by=X) +X, random=list(groups=pdDiag(~1+X)) )
but I get the error message :
Error in MEestimate(lmeSt, grps) :
Singularity in backsolve at level 0, block 1
2007 Jan 27
1
Canging the type of point points sizein plots..
I want to plot variation of more than one variable in
single plot with different point types and points
sizes . Can someone help me to do that,
Thanks in advance.
vinod
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
2011 Apr 07
3
Correlation Matrix
Listers,
I have a question regarding correlation matrices. It is fairly straight
forward to build a correlation matrix of an entire data frame. I simply use
the command cor(MyDataFrame). However, what I would like to do is construct
a smaller correlation matrix using just three of the variable out of my data
set.
When I run this:
cor(MyDataFrame$variable1,
2009 Dec 08
1
problem with split eating giga-bytes of memory
I'm having trouble using split on a very large data-set with ~1400 levels of
the factor to be split. Unfortunately, I can't reproduce it with the simple
self-contained example below. As you can see, splitting the artificial
dataframe of size ~13MB results in a split dataframe of ~ 144MB, with an
increase memory allocation of ~10 fold for the split object. If split scales
linearly, then my
2007 Oct 24
3
Partial aggregate on sorted data
Hi All,
I'm looking for ways to compute aggregate statistics (with the aggregate
function) but with an option for sorting and selecting a subset of the data
frame. For example, I have would like to turn this :
aggregate(myDataframe$TargetValue,list(SomeFactor =
myDataframe$SomeFactor),mean)
into something like
aggregate(myDataframe$TargetValue,list(SomeFactor =
2010 Mar 11
2
Can't convert list to matrix properly
Hi guys, here is a list of names that I have:
MyList:
> myList<-list("A", "B","C","D")
> myList
[[1]]
[1] "A"
[[2]]
[1] "B"
[[3]]
[1] "C"
[[4]]
[1] "D"
I want to turn this list into a matrix of 1 row and 4 columns with those
four components (A, B, C, D) so here is what I do:
myDataFrame <-
2010 Apr 26
1
help with code
I am new to R and have tried for a good while to figure out how to code this
in R. The dataset below:
FTIStandKey
State
County
FTITract
CoverType
Ver_CT
V_Origin
V_SpGrp
NAH6005-001
Texas
Jasper
NAH6005
PPLB-2000-U
PPLB-2000-U
P
P
NAH6005-002
Texas
Jasper
NAH6005
NHHX-1950-O
NHHX-1950-I
N
H
NAH6253-001
Texas
Tyler
NAH6253
PPLB-2001-U
PPLB-2001-U
P
P
2007 Nov 20
2
Adding points on top of lines in xyplot
All,
I'm trying to make a basic plot: data points superimposed upon the a line
connecting the points w/ a different color. Example below doesn't work as
the first xyplot call doesn't remain. Suggestions?
David
Hour = c(NA,1,2,3,4)
y = c(2,2,3,2,1.5)
xyplot(y ~ Hour, xlab = list("Hour", font=2, cex=2), ylab= list("U_x * V",
font=2, cex=2), type = 'l',