Displaying 20 results from an estimated 1100 matches similar to: "construct a data set"
2011 Oct 28
2
sorting data
I want to sort my following data set according to value in 4th column
0 1 0 27877.3044386212 15.8733019973557 2640.42407064348
0 1 1 27470.1699006254 35.4182473588807 2303.26461260826
0 1 2 27468.0314985496 38.4400363878507 2300.05521684593
0 1 3 27469.1130543141 40.7540672493746 2299.32564458085
0 1 4 27442.3152643187 52.4342875797706 2277.18286686329
0 1 5 27440.7923082136
2011 May 27
1
finding derivative of a data series in R
Dear All,
I tried following for getting derivative of a polynomial in R
i<- -10:10
x<-i*i*i+3*i*i+2
fun_spline<-splinefun(i,x)
plot(x,type="l")
lines(x,fx_spline(x, deriv=1), col='green')
lines(x,fx_spline(x, deriv=2), col='green')
Now when I plot
3*i*i + 6*i and 6*i + 6
the plot was not same for first deivative.
where as the 2nd derivative was same
Is this a
2011 Jan 23
3
using gsarima package with R
I am trying to use function garsim from package gsarima.
I can download gsarima package from
http://cran.fyxm.net/web/packages/gsarima/index.html for linux.
But how I can add it to R.
I have compiled and installed R from its R source code under Ubuntu.
regards.
--
Amar Kumar Nandan
Karnataka ,India , 560100
http://aknandan.co.nr
[[alternative HTML version deleted]]
2011 Apr 04
1
system() command in R
Hi all,
I have a local server insalled on my system and have to start that from
within my R function.
here is how I start it:
cmd<-"sh start-server.sh"
system(cmd, wait=FALSE)
My function has to start the server and proceed with further steps. The
server starts but the further steps of the program are not executed.The
cursor keeps waiting after the server is started.
i tried
2011 Jun 02
1
Plot cdf, pdf
Dear all,
do you know any easy way based on a vector input how to plot easily cdf and pdf.
I would like to thank you in advance for your help
Regards
Alex
2011 Apr 07
1
comparing ARIMA model to data
hi,
i am trying to teach myself about ARIMA models. i have followed examples
from a number of sources and have more or less got the hang of how it
works. i would like to compare the output from the fitted model to the
original data. is this possible? or even a meaningful thing to do?
to be clear, for example, having generated a fit to some data using
> fit <- arima(LakeHuron, order = c(1,
2012 Feb 17
1
QQ plot
Hello,
I am having two data set original and predicted.
I want to dind QQ-plot fot it.
I tried in following manner :
>qq(original~predicted)
and error was :
Error in qq.formula(o ~ p) : y must have exactly 2 levels
There is an option "qtype" which dosent make any difference.
What is the correct way for plotting QQ-plot or am I missing something.
--
Amar Kumar Nandan
2011 Apr 02
4
help
Dear R Help group
I need to run a command line script from within R session. I am not clear
how i can acheive this. I tried shell and system function, but i am missing
something critical.can someone provide help?
My intention is to create a pdf file of a plot in R and then attach
existing files from my system as attachment into the newly created pdf file.
Any help would be greatly appreciated..
2007 Nov 16
1
monthplot () - axis change color
Hi,
When I run this code a part of my x-axis and y-axis changes color. Can
somebody tell me what is wrong? Also, is there a way to control the color of
the average lines?
monthplot(AirPassengers+500, ylim=c(min(AirPassengers),
max(AirPassengers+500)), ylab="")
par(new=T)
monthplot(AirPassengers, col="blue", ylim=c(min(AirPassengers),
max(AirPassengers+500)),
2012 Jan 21
2
How to identify data structure?
data(AirPassengers) brings AirPassengers into the workspace. How can I idenfity what the structure of AirPassengers is? Is it a data.frame, a table etc. etc.
[[alternative HTML version deleted]]
2004 Jul 18
2
stl,package=stats
Greetings:
I'm using the time series decomposition routine "stl" from the package "stats".
But how do I get the results into a vector to work with them?
example:
data(AirPassengers)
m<-stl(AirPassengers,"per")
print(m)
This lists the output but can't figure out how to extract the individual series like seasonal, trend, irregular.
Thanks,
Bob
2012 Jan 29
2
Data Structure to Code
Given:
data(AirPassengers)
I get a ts data structure AirPassengers in the workspace.
How can I generate the code that can create that structure? That is, given an example of a data structure, is there a way to generate the code that can greate that structure?
Alternatively, is there a reference that provides a list of dta structures together with a full list of theor respective attributes?
2011 Dec 13
2
Problem with ploting fitted values
Hello!
I have such a problem...
Estimated a model based on common data (you can find it in R library), and I
wanted to plot the orginal values with the estimated one. Unfortunately I
can only see the original values.
Below is the code with data library:
/
library(forecast)
data(AirPassengers)
AP <- AirPassengers
class(AP)
start(AP)
end(AP)
frequency(AP)
lgAP <- log(AP)
t<-2:length(AP)
2011 Feb 27
2
finding model order components for arima()
Greetings,
I am trying to model a time series using arima(). For getting the
model order components(p, d, q and P,D,Q) I am using procedure
discussed in [1] in section 3.2 . It is most likely hit and trial
method based on lower AIC value.
I want to know what is the correct way to find model order components
or the method described in [1] is the appropriate one.
thanks in advance.
--
[1]Automatic
2015 Jun 12
2
Serie temporal interrumpida del tipo AirPassengers
Hola usuarios,
Necesito detectar si existe o no un cambio de tendencia y si dicho cambio es significativo, para una serie temporal del tipo AirPassengers, en la que
a partir de un determinado momento se ha hecho una campaña (supongamos que una promoción de vuelos).
Para ello he pensado varios métodos:
Usar la descomposición espectral de la muestra [decompose(AirPassengers)] y luego una Regresión
2007 Apr 11
3
Any pointers for multiple subnets?
Hi,
I am trying to have some routing done between two subnets. One is
192.168.1.0/24 and has my LAN computers running a mix of Windows 98/XP
clients. There are two linux machines on this network running Samba.
Another is 192.168.0.0/24 and has the other LAN. Only my linux machines
have two NICs, one for each LAN.
I am trying out one of these linux machines to be the gateway for both
the
2011 Mar 08
3
This is supposed to predict a time series?!
Hello,
I just ran the predict.StructTS function using the AirPassengers data
and got a ridiculous result. Here's what I ended up with:
http://24.210.155.111/PredictWhat!.pdf
Who wrote this? Am I seriously supposed to think this function would
accurately predict a time series?
-AnalogKid
2004 Nov 23
1
making winxp machine a member of the domain
Hi,
I am using Samba 3.0.7. on a Red Hat 9 system. I
tried to configure the machine as a PDC by using a
configuration file quite similar to what is giving in
the chapter 4.Windows NT domains of 'Using Samba'
2nd edition by Orielly.
Using testparm shows that the machine has been
identified as a PDC of the domain 'hamsateam.' To test
the PDC, I tried to make a WinXP
2002 May 03
2
(no subject)
hi all,
Iam using the following CBQs to limit the FTP bandwidth
pease tell what changes are rquired to make it work....
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1:0 cbq allot 1514 avpkt 1000
bandwidth 100Mbit
tc class add dev eth0 parent 1:0 classid 1:1 cbq allot 1514
bandwidth 100Mbit rate .4Mbit weight .4 prio 2 maxburst 20 cell
8 avpkt 1000
tc class add dev eth0
2010 Mar 19
1
Arima forecasting
Hello everyone,
I'm doing some benchmark comparing Arima [1] and SVR on time series data.
I'm using an out-of-sample one-step-ahead prediction from Arima using
the "fitted" method [2].
Do someone know how to have a two-steps-ahead forecast timeseries from Arima?
Thanks,
Matteo Bertini
[1] http://robjhyndman.com/software/forecast
[2] AirPassengers example on page 5