Displaying 20 results from an estimated 8000 matches similar to: "forecasting earnings, sales and gross margin of a company..."
2008 Oct 23
1
[R-SIG-Finance] forecasting earnings, sales and gross margin of a company...
Sender: r-help-bounces at r-project.org
On-Behalf-Of: comtech.usa at gmail.com
Subject: Re: [R] [R-SIG-Finance] forecasting earnings, sales and gross margin of a company...
Message-Id: <b1f16d9d0810231239k506d582i7ecb908b84bc1642 at mail.gmail.com>
Recipient: ngottlieb at marinercapital.com
--------------------------------------------------------
This information is being sent at the
2008 Dec 11
3
Downloading Reuters data from R
Hi R,
Can we download Reuters (3000 Xtra) data from R? Does ODBC package help
me in this? Or otherwise, is there a way to extract daily closing prices
data of Reuters from R?
Thank you very much,
Shubha
This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2011 Nov 30
2
forecasting linear regression from lagged variable
I'm currently working with some time series data with the xts package, and
would like to generate a forecast 12 periods into the future. There are
limited observations, so I am unable to use an ARIMA model for the forecast.
Here's the regression setup, after converting everything from zoo objects to
vectors.
hire.total.lag1 <- lag(hire.total, lag=-1, na.pad=TRUE)
lm.model <-
2007 Dec 04
1
Best forecasting methods with Time Series ?
Hello,
In order to do a future forecast based on my past Time Series data sets
(salespricesproduct1, salespricesproduct2, etc..), I used arima() functions
with different parameter combinations which give the smallest AIC. I also
used auto.arima() which finds the parameters with the smallest AICs. But
unfortuanetly I could not get satisfactory forecast() results, even
sometimes catastrophic
2008 Nov 25
3
Line color based on data values?
Hi all
Does anyone know if it is possible when plotting a line or scatter plot, to selectively color the data points based on the data value? i.e. if plotting say the percentage change in stock price movements, to color +ve points in green and -ve points in red? And extending this to a user-defined range of colors based on the quartile of the data points?
Thanks
Rory
Rory Winston
RBS Global
2009 Apr 05
1
Time series forecasting
Dear all:
I'm a newbie and an amateur seeking help with forecasting the next in a non-stationary time series, with constraints of 1 (low) and 27 (high) applicable to all.
What I need help with is the solution concept. The series has 439 observations as of last week. I'd like to analyze obs 1 - 30 (which are historical and therefore invariate), to solve for 31.
The history:
Obs 1
2010 Oct 07
1
Forecasting with R/Need Help. Steps shown below with the imaginary data
1. This is an imaginary data on monthly outcomes of 2 years and I want to forecast the outcome for next 12 months of next year.
data Data1;
input Yr Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec;
datalines;
2008 12 13 12 14 13 12 11 15 10 12 12 12
2009 12 13 12 14 13 12 11 15 10 12 12 12
;
run;
I converted the above data into the below format to use it in R as it was giving error: asking
2008 Nov 24
4
Calculating sum of letter values
Hi all
If I have a string, say "ABCDA", and I want to convert this to the sum of the letter values, e.g.
A -> 1
B -> 2
etc, so "ABCDA" = 1+2+3+4+1 = 11
Is there an elegant way to do this? Trying something like
which(LETTERS %in% unlist(strsplit("ABCDA", "")))
is not quite correct, as it does not count repeated characters. I guess what I need is
2008 Feb 28
2
EMM: how to make forecast using EMM methods?
Hi all,
We followed some books and sample codes and did some EMM estimation,
only to find it won't be able to generate forecast.
This is because in the stochastic volatility models we are estimating,
the volatilities are latent variables, and we want to forecast 1-step
ahead or h-step ahead volatilities.
So it is nice to have the system estimated, but we couldn't get it to
forecast at
2012 Jan 18
1
forecasting a time series
Couldn't find this in the archives. I'm fitting a series of historical
weather-related data, but would like to use the latest values to forecast.
So let's say that I'm using 1970-2000 to fit a model (using fourier terms
and arima/auto.arima), but now would like to use the last X values to
predict tomorrow's weather. I'm at a loss. All the functions I've come
across
2009 Dec 16
1
R and Hierarchical Forecasting
Hello, does anyone know of any R routines capable of whats called
Hierarchical Forecasting, reconciling the different hierarchies.
Example: A top down forecast where the corporate forecast is created and
then all the regions within the corporate entity are also forecasted,
with the constraint they sum to the corporate forecast.
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
2008 Dec 05
1
Cartesian Product Of Character Vectors
Hi all
(I'm sure this question has been asked before, but I cant find it).
If I have two character vectors:
> x <- c("aaa","bbb","ccc")
> y <- c("1","2","3")
How can I get the cartesian product of the string values?
> expand.grid(x,y)
Gives me a data frame with separate columns...however, I cant seem to get *apply
2009 Jan 23
1
forecasting error?
Hello everybody!
I have an ARIMA model for a time series. This model was obtained through an
auto.arima function. The resulting model is a ARIMA(2,1,4)(2,0,1)[12] with
drift (my time series has monthly data). Then I perform a 12-step ahead
forecast to the cited model... so far so good... but when I look the plot of
my forecast I see that the result is really far from the behavior of my time
2009 Jan 21
1
forecasting issue
Hello everybody!
I have a problem when I try to perform a forecast of an ARIMA model
produced by an auto.arima function. Here is what I'm doing:
c<-auto.arima(fil[[1]],start.p=0,start.q=0,start.P=0,start.Q=0,stepwise=TRUE,stationary=FALSE,trace=TRUE)
# fil[[1]] is time series of monthly data
ARIMA(0,0,0)(0,1,0)[12] with drift : 1725.272
ARIMA(0,0,0)(0,1,0)[12] with drift
2009 Jul 27
2
Forecasting Inflation
Dear All,
I wanted to forecast Inflation for Indian Economy. please send what
techniques to be used after the variable selection. WPI, CPI, Money supply,
IIP, Interest rate and so on..How i can use R for the same
[[alternative HTML version deleted]]
2008 Dec 05
1
Lexical Permutation Algorithm in R
Hi all
Here is a rather naive implementation of the SEPA algorithm for generating lexical permutations:
lexperm3 <- function(x, n=length(x)) {
perms <- list()
k <- 1
perms[[k]] <- x
k <- k + 1
for (y in 1:(factorial(n)-1)) {
i <- n-1
while (x[i] > x[i+1] && i > 0) {
i <- i - 1
}
# i is largest index st x[i] > x[i+1]
j <- n
#
2017 Jul 12
2
Question on Simultaneous Equations & Forecasting
Hello,
I have estimated a simultaneous equation model (similar to Klein's model) in R using the system.fit package.
I have an identity equation, along with three other equations. Do you know how to explicitly identify the identity equation in R?
I am also trying to forecast the dependent variables in the simultaneous equation model, while incorporating the identity equation in the
2017 Jul 13
0
Question on Simultaneous Equations & Forecasting
Hi Frances,
I have not touched the system.fit package for quite some time, but to solve your problem the following two pointers might be helpful:
1) Recast your model in the revised form, i.e., include your identity directly into your reaction functions, if possible.
2) For solving your model, you can employ the Gau?-Seidel method (see https://en.wikipedia.org/wiki/Gauss%E2%80%93Seidel_method).
2009 Dec 10
1
Need help to forecasting the data of the time series .
Hi,
This is the time series data collected from 2001 to 2008 by every
month.so,there are 96 entries.I have done basic statistics.I need to find a
model fitted to forecast this data.This is the mixedpaper collection for
recycling in the campus.
13251
13754
19061
12631
17414
21350
25384
23646
20312
20740
14007
17175
13910
17191
17113
20250
35003
11975
19665
20490
20436