Displaying 20 results from an estimated 500 matches similar to: "Object containing different classes"
2005 Jun 07
1
Variables values on intersected intervals
Dear R-list,
i have a problem, in the framework of simulations, i want to vectorize for
earning time: a variable, say X, has values on intervals and an other
variable, say Y, has values on other intervals. For example
Inf Sup X
0 2 1
2 4 2
4 6 3
and
Inf Sup Y
1 3 1
3 5 2
5 7 3
i want to create a matrix like this
Inf Sup
2005 Mar 24
0
critical value for HEGY test in uroot
R-users,
i have some time series and use HEGY seasonal UR tests in the uroot package.
But i have problems with interpretation of t and F statistics. Is there any
critical values for these tests in R? is anybody ever write a bootstrap of
these tests?
thanks for advance, with all my bests, erik.
=================================
Erik-André SAULEAU
SEAIM
Centre Hospitalier
87, Avenue
2005 Jan 11
0
StructTS
Dear R-list,
I try to use StructTS for some univariate time series, with a type="BSM". I
have two questions:
1-in the "fitted" value of the object, it seems to me that for getting back
fitted values, one have to add level, slope and seasonal (or "level"
contains already the two other ones)
2-i am really circumspect about the results of "KalmanForecast"
2006 Jul 13
1
ts and stl functions - still a problem
Hi
I am still having problems with using the stl function, when I read the csv file into R into a file called tkr and use dim(tkr) the result is 132 1 which is fine.
When coerce it into a trime series using ts either:
tstkr <- ts(t(tkr), deltat=1/12) or
tstkr <- ts(c(tkr), deltat=1/12)
and use the stl function I get the following error:
Error in
2004 Feb 16
1
Offset in GLMM
Dear R-list,
I try to adjust GLMM on incidence cancer data. Without random effect, in GLM
the command is, for example with sex effect,
glm(Observed~sex+offset(log(Expected)),family=poisson) because the observed
are Poisson distribued with parameter Expected*incidence rate. But know I
want to introduce random effect (for example spatial effect) and it seems to
me that the "offset" does
2003 Feb 05
3
tcltk installation problem
Dear all,
I want to use GraspeR (on R 1.6.0) and have to install tcltk library. When
I try to do this, I get back this error message:
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(pkg, character.only = TRUE) :
.First.lib failed
But I have a tcl/tk package (Active TCL 8.4.1.0) correctly install on my PC
(Win95) and in the autoexec.bat the
2004 Jan 07
1
generic name of variables
Dear R-list,
I wish a very happy new year and send you a little question: I have
different variables which names are m1, m2, m4, .., m10, ... and want to
obtain for example mean of each of them without typing each mean(m1),
mean(m2), .... What is the solution for decomposing names in mXX?
With my best regards, EA.
============================================
Erik-André SAULEAU
SEAIM
Hôpital du
2007 Feb 20
1
Sample size
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20070220/cb89f312/attachment.pl
2003 Dec 18
1
bootstrap pValue in DClusters
Hello R-List
I use DClusters package (I work in a cancer regestry). I have 2 questions
about it:
1-how is it possible to get back the bootstrap pValue? I mean the pValue of
the calculated statistic with respect of the distribution of this statistic
under the null hypothesis.
2-how is it possible to test an overdispersion in the poisson model? for
choosing a best model I need this mesure of
2002 Oct 25
0
Age-period-cohort model
Dear R-list,
I think it's really a newbie question but ...
I try to model age-period-cohort models with polynoms in each effect. I have
for each level of age and period some cases -k- and persons-years -py-.
Models are A_xP_y:
log(k_age,period/py_age,period)=f(polynom(x),age)+f(polynom(y),period). For
exemple I try to adjust an A2P3 :
2002 Nov 06
0
Intercept by level in GLM
Dear R-listers,
I have to explain "y", a continous variable, with two variables "t" and "p"
which are "factor variables": t is [1:12] and p is [1:18] (a value for y for
each combination t*p). OK, then I try to adjust models like: y=a_p + b*t (I
mean as many intercepts as levels of p) or y=a_p + b_p*t (as many intercepts
and coefficients for t as levels of
2018 Apr 10
0
Just a noob question
Of course Sven,
questions regarding LLVM belong here (clang questions should be directed to
cfe-dev).
Developers on this list are usually very helpful when it comes to answering
questions that are clearly stated and show that the person asking has done
a reasonable amount of investigation and is just stuck. It usually helps to
start with a succinct description of what it is you are trying to
2006 Jan 10
5
matching country name tables from different sources
Hi,
Before I reinvent the wheel I wanted to kindly ask you for your opinion if there is a simple way to do it.
I want to merge a larger number of tables from different data sources in R and the matching criterium are country names. The tables are of different size and sometimes the country names do differ slightly.
Has anyone done this or any recommendation on what commands I
2018 Apr 10
2
Just a noob question
Hi,
I'm new here and I would like to know what's the best place to ask for
some structural questions or help?
If that's the right place, I'll send another email with the details and
my question.
Thanks in advance!
Sven
--
Sven SAULEAU
+33 6 28 69 51 44
2004 Feb 06
1
nnet problem
Hello everybody,
I want to use the nnet library and my problem is that the algorithm seems
to accept only class as target when the neural is fiiting. So the output
when I use predict.nnet is also a class. Is it possible to have numeric
variable as target ? If yes, what is the syntax ?
Thank you.
Cordialement,
R?gis CHARIGNON
2000 Jul 25
1
glm and capture-recapture
Hello,
I am almost new in R, so perhaps my question will be silly.
I try to use R for analyzing capture-recapture data in epidemiology. A cancer registry has different sources of patients. We know in each list, patients already known in all other list. The aim is to use capture-recapture models for estimating the number of patients unknow of all the sources.
Because no order in sources, one
2003 Sep 03
2
problem with HoltWinters
Dear helpers
I'm having a problem with function HoltWinters from package ts. I have a time series that I want to fit an Holt-Winters model and make predictions for the next values. I've already built an object of class ts to serve as input to HoltWinters. But then I get an error; I've used HoltWinters a lot of times and this never hapened
> data.HW<-HoltWinters(data.ts)
Error
2012 Dec 04
4
partial analisys of a time series
Dear list members
I want to analyze separately the months of a time series. In other words, I
want to plot and fit models for each month separately.
Taking the example of
http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html
births <- scan("http://robjhyndman.com/tsdldata/data/nybirths.dat")
birthstimeseries <- ts(births, frequency=12,
2012 Apr 26
2
HoltWinters() fitted values
Hi everyone,
I'm using the HoltWinters() function to do a time series analysis. The
function only returns the back fitted values ($fitted) after the first year
of data, which is my case, is a little more than half. However, when I use
the plot() function, it plots the back fit for almost the entire data set.
Any ideas on how to extract the fitted values going all the way back to the
start
2010 Jan 11
1
HoltWinters Forecasting
Hi R-users,
I have a question relating to the HoltWinters() function. I am trying to
forecast a series using the Holt Winters methodology but I am getting some
unusual results. I had previously been using R for Windows version 2.7.2 and
have just started using R 2.9.1. While using version 2.7.2 I was getting
reasonable results however upon changing versions I found I started to see
unusual