similar to: regarding changing of title of decompose graph

Displaying 20 results from an estimated 700 matches similar to: "regarding changing of title of decompose graph"

2011 Oct 05
2
creating a loop for a function
Dear All, I want to create a loop within a function r. The example follows: Box.test (lfut, lag = 1, type="Ljung") if i want to compute the Box.test for lag 1 to 10, I have to write manually change each time for different lag. So i wan to write a loop for the lag 1 to 10 and return the statistics for each lag. Is there any method to do this ? With regards, Upananda -- You may
2023 Feb 05
3
Extracting data using subset function
Dear All, I want to create a vector p and extract first 20 observations using subset function based on logical condition. My code is below p <- 0:100 I know i can extract the first 20 observations using the following command. q <- p[1:20] But I want to extract the first 20 observations using subset function which requires a logical condition. I am not able to frame the logical
2017 Sep 20
1
Convert data into zoo object using Performance analytics package
Dear Sir, Thanks for your mail and help. I got this error while trying to run your code. sbux1.z <- read.csv.zoo(u, FUN = as.yearmon, format = fmt) Error in read.table(file = file, header = header, sep = sep, quote = quote, : 'file' must be a character string or connection Thanks and Regards, Upananda Pani On Tue, Sep 19, 2017 at 4:31 PM, Upananda Pani <upananda.pani at
2017 Sep 22
1
Convert data into zoo object using Performance analytics package
Dear All, Thanks a lot for your help. Would you please let me know if i want to read a csv file as zoo object from my local file rather than directly from the website, how to do that? library(zoo) u <- "https://faculty.washington.edu/ezivot/econ424/sbuxPrices.csv" fmt <- "%m/%d/%Y" With sincere regards, Upananda Pani On Wed, Sep 20, 2017 at 3:22 PM, PIKAL Petr
2023 Jan 12
1
Reg: ggplot error
Hallo I am not familiar with any of packages you use (except of MASS and ggplot2) and the code is too complicated without any hint where the error could come from and what is the message you get. I wonder if anybody would like to go through your whole code. 1. data seems to be read correctly ICUData <- read.csv(file = "ICUData.csv", stringsAsFactors = TRUE) ICUData.neuro <-
2023 May 02
5
Reg: Help regarding ggplot2
Dear All, I have a dataset which contains date and 12 other countries data. I have extracted the data as xts object. I am not able to recall all the series in the Y axis. My data set looks like this index crepub finland france germany italy netherlands norway poland <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
2023 Jan 11
1
Reg: ggplot error
I am sorry. On Wed, Jan 11, 2023 at 5:32 PM Eric Berger <ericjberger at gmail.com> wrote: > No code or data came through. > Please read the posting guidelines. > > > On Wed, Jan 11, 2023 at 1:38 PM Upananda Pani <upananda.pani at gmail.com> > wrote: > > > > Dear All, > > > > I am using roptest function of package "ROptEst" (Kohl
2017 Sep 20
0
Convert data into zoo object using Performance analytics package
Hi Gabor's code works as expeceted without error. What is "u" in your case? Cheers Petr > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Upananda > Pani > Sent: Wednesday, September 20, 2017 11:06 AM > To: Gabor Grothendieck <ggrothendieck at gmail.com> > Cc: r-help <r-help at r-project.org> >
2011 Apr 12
1
Predictkion interval using regression coefficients
I was given a list of parameter estimates from my boss. She wants to predict the dependent variable "fsshen" beyond jan 2011, the last observation, through December 2011, giving the prediction intervals (90%). I don't know if I have the complete information to do this. So my question(s) is can R determine a prediction interval from this data with just these parameter estimates.
2023 Jan 11
1
Reg: ggplot error
No code or data came through. Please read the posting guidelines. On Wed, Jan 11, 2023 at 1:38 PM Upananda Pani <upananda.pani at gmail.com> wrote: > > Dear All, > > I am using roptest function of package "ROptEst" (Kohl and Ruckdeschel > (2019)) to find out the ML, CvM-MD, and the RMX estimator and their > asymptotic confidence intervals. I am assuming 1-5% of
2011 Sep 29
1
checking the outliers of the time series data set
Dear All, Can you please guide me how to check the outliers in the data set in R. It would be great if you can give some examples of methods. With regards, Upananda -- You may delay, but time will not. Research Scholar alternative mail id: upani@iitkgp.ac.in Department of HSS, IIT KGP KGP [[alternative HTML version deleted]]
2023 Jan 11
1
Reg: ggplot error
Dear All, I am using roptest function of package "ROptEst" (Kohl and Ruckdeschel (2019)) to find out the ML, CvM-MD, and the RMX estimator and their asymptotic confidence intervals. I am assuming 1-5% of erroneous data for the RMX estimator. Then I am trying to Plot the data in the form of a histogram and add the three Gamma distribution densities with the estimated parameters and
2017 Sep 18
3
Convert data into zoo object using Performance analytics package
Dear All, While i am trying convert data frame object to zoo object I am getting numeric(0) error in performance analytics package. The source code i am using from this website to learn r in finance: https://faculty.washington.edu/ezivot/econ424/returnCalculations.r # create zoo objects from data.frame objects dates.sbux = as.yearmon(sbux.df$Date, format="%m/%d/%Y") dates.msft =
2023 May 02
1
Reg: Help regarding ggplot2
It's not clear what you want but ... On 02/05/2023 10:57, Upananda Pani wrote: > Dear All, > > I have a dataset which contains date and 12 other countries data. I > have extracted the data as xts object. > > I am not able to recall all the series in the Y axis. My data set > looks like this > > index crepub finland france germany italy netherlands norway poland >
2023 Jan 16
1
Reg: Frequency in declaring time series data
Dear All, I have a time series daily data with date are stored ( %dd-%mm-%yy format ) from 22-01-20 to 03-08-21. In total I have 560 observations. I am using the following command to declare as a time series object. Here the the data set is 7 days a week. oil <- read_xlsx("crudefinal.xlsx") pricet=ts(oil$price, start = c(2020, 22), freq = 365)
2007 Feb 27
2
ts; decompose; plot and title
Is there any way to give a "decent" title after I plot something generated by decompose? For example: # generate something with period 12 x <- rnorm(600) + sin(2 * pi * (1:600) / 12) # transform to a monthy time series y <- ts(x, frequency=12, start=c(1950,1)) # decompose z <- decompose(y) # plot plot(z) Now, the title is the ugly "Decomposition of additive time
2011 Jul 15
1
Out of Sample Prediction Interval/Point Estimate
Hi All, I have been requested to come up with an out-of-sample prediction einterval and point estimate. I have never done this and I am hoping for help from you all. First can R do this? If so, what are the steps? What do I need? I have a data file that I can include, if that would help. I'm between a beginner and intermediate user of R so if it is complicated, I may be asking for a lot
2017 Sep 22
1
Treating NA in timeSeries package
Dear All, I am facing problem with NA treatment in my financial time series data. # data reading aluminum = read.csv(file="alu.csv", header=T, sep=",") fut = aluminum [,2] spt = aluminum [,3] # Missing Value Treatment (Linear Interpolation) spt = interpNA(spt, method = c("linear")) fut = interpNA(fut, method = c("linear")) fut=fut[,1] spt =spt[,1]
2011 Apr 06
0
Proposed modification to decompose() and plot.decomposed.ts()
The decompose() function truncates the seasonal component unnecessarily. I've modified the function to fix this problem, and also added the original data to the object returned (to enable better plotting). I've also modified the plot.decomposed.ts() function so that it plots the original data in the top panel rather than the reconstructed data. The difference between the two is that the
2012 Jun 15
0
decomposing decompose(), issue?
Hi I'm just stepping through the decompose() function, in "stats". Does this contained line of code not work if you have a time series ending "unevenly" (i.e., middle of the year), or am I missing something? season <- na.omit(c(as.numeric(window(season, start(x) + c(1, 0), end(x))), as.numeric(window(season, start(x), start(x) + c(0, f))))) The line seems to