Displaying 20 results from an estimated 10000 matches similar to: "Convert quarterly data to monthly data"
2013 Feb 20
1
To convert a quarterly data to a monthly data.
Hello,
I have a data set has
2001Q1 100
2001Q2 101
2001Q3 120
2001Q4 103
...
And would like to convert it to a monthly data. i.e.
200101 XXX
200102 XXX
200103 XXX
2008 Aug 18
1
Converting monthly data to quarterly data
Dear R users,
I have a dataframe where column is has countries, column 2 is dates
(monthly) for each countrly, the next 10 columns are my factors where I have
measurements for each country and for each date. I have attached a sample
of the data in csv format with the data for 3 countries.
I would like to convert my monthly data into quarterly data, finding the
mean over 3 month periods for
2008 Aug 19
0
Converting monthly data to quarterly dataMonday, August 18, 2008 11:38 AM
Dear Gavin,
This is really great, thank you! I created some long loops to get rid of
extra months at the beginning and the end of my data but your code is great
for putting it then together quarterly.
thanks again,
Denise
On Mon, 2008-08-18 at 14:31 +0100, Denise Xifara wrote:
> Thank you very much Stephen, but how will aggregate deal with months that
> fall outside annual quarters? eg,
2005 Aug 24
1
Panel regression in R
I am currently trying to replicate the results I got
from RATS for a panel regression. The codes in RATS
looks like this:
* Final equation for Office Cap Rate Spread
* Regression, Panel Data
preg(effects=time, method=random) CapRate
# CapRate{1} RentCycle{1} VacancyChangeYTY
InflationYTY RealGDPyty
Just wonder what R package also allow me to have the
options like (effects=time, method=random).
2005 Aug 18
1
How to do log normal regression?
I want to fit a Log-Normal CDF function between two
variables, and estimate the parameters. Is there any
package/functions designed for this purpose?
Basically, I have data for Y and X, and I suspect the
relationship between Y and X is Y = CDF Log-Normal
(X), and I want to run this regression to verify this
and estimate the parameters. Anyone has any thoughts?
Any input is valuable to me, so
2005 Aug 06
1
qq.loglogistic
Hi,
is there any similar function in R to S function qq.loglogistic, which
produces a Q-Q plot?
Thanks a lot
Pete
2008 Jun 29
1
Calculating quarterly statistics for time series object
I have time series observation on daily frequencies :
library(zoo)
SD=1
date1 = seq(as.Date("01/01/01", format = "%m/%d/%y"), as.Date("12/31/02", format = "%m/%d/%y"), by = 1)
len1 = length(date1); data1 = zoo(matrix(rnorm(len1, mean=0, sd=SD*0.5), nrow = len1), date1)
plot(data1)
Now I want to calculate 1. Quarterly statistics like mean, variance etc
2013 Apr 05
2
convert annual data to quarterly frequency
Hi,
I was wondering if there is a package I can use to convert my 22 annual observations to quarterly time series so that I will have 88 observations.
Also, will there be any harm in doing so? will I loose any important data specific info? I want to run VARs in levels using TY method. Due to small sample, i will probably use a bootstrap method.
Thanks!
[[alternative HTML version deleted]]
2005 Aug 02
6
can we manage memory usage to increase speed?
Hi,
Thanks for reading.
I am running a process in R for microarray data analysis. RedHat Enterprise Linux 4, dual AMD CPU, 6G memory. However, the R process use only a total of <200M memory. And the CPU usage is total to ~110% for two. The program takes at least 2 weeks to run at the current speed. Is there some way we can increase the usage of CPUs and memories and speed up? Any
2009 Oct 30
1
Quarterly data in PLM package
Dear all,
Does anyone know if the PLM package (to run Panel Data Analysis) accepts quarterly data?
The package vignette and documentation only use annual data -and the only time index available seems to work for years.
José
Mr José Luis Iparraguirre
Senior Research Economist
Economic Research Institute of Northern Ireland
2 -14 East Bridge Street
Belfast BT1 3NQ
Northern
2018 Jan 28
2
Plotting quarterly time series
I have a data set with quarterly time series for several variables. The
time index is recorded in column 1 of the dataframe as a character vector
"Q1 1961", "Q2 1961","Q3 1961", "Q4 1961", "Q1 1962", etc. I want to
produce line plots with ggplot2, but it seems I need to convert the time
index from character to date class. Is that right? If so, how
2018 Jan 28
0
Plotting quarterly time series
On Sun, 28 Jan 2018, phil at philipsmith.ca wrote:
> I have a data set with quarterly time series for several variables. The
> time index is recorded in column 1 of the dataframe as a character
> vector "Q1 1961", "Q2 1961","Q3 1961", "Q4 1961", "Q1 1962", etc. I want
> to produce line plots with ggplot2, but it seems I need to
2018 Jan 28
1
Plotting quarterly time series
Using Achim's d this also works to generate z where FUN is a function used
to transform the index column and format is also passed to FUN.
z <- read.zoo(d, index = "time", FUN = as.yearqtr, format = "Q%q %Y")
On Sun, Jan 28, 2018 at 4:53 PM, Achim Zeileis <Achim.Zeileis at uibk.ac.at> wrote:
> On Sun, 28 Jan 2018, phil at philipsmith.ca wrote:
>
>> I
2005 Aug 05
1
question regarding logit regression using glm
I got the following warning messages when I did a
binomial logit regression using glm():
Warning messages:
1: Algorithm did not converge in: glm.fit(x = X, y =
Y, weights = weights, start = start, etastart =
etastart,
2: fitted probabilities numerically 0 or 1 occurred
in: glm.fit(x = X, y = Y, weights = weights, start =
start, etastart = etastart,
Can some one share your thoughts on how to
2008 Nov 28
3
R window lines limit
Hi,
Is the number of lines that can be displayed in R GUI limited?
When I do a Fourier Tranform of 4000 data points, I can only see the last
300 or so of it. I need to see all of it. How is this possible?
Thank you if you can help!
--
View this message in context: http://www.nabble.com/R-window-lines-limit-tp20735974p20735974.html
Sent from the R help mailing list archive at Nabble.com.
2005 Aug 12
3
General expression of a unitary matrix
Hi, all,
Does anybody got the most general expression of a unitary matrix?
I found one in the book, four entries of the matrix are:
(cos\theta) exp(j\alpha); -(sin\theta)exp(j(\alpha-\Omega));
(sin\theta)exp(j(\beta+\Omega)); (cos\theta) exp(j\beta);
where "j" is for complex.
However, since for any two unitary matrices, their product should also
be a unitary matrix. When I
2008 May 31
1
Representing 'Date' as 'Year - Quarter'
I have financial data on a a set of firms, with a quarterly period
(fundamental data). The data spans 10 years, and four quarters per
year. The present file (.csv) reads the Date columns as "200706" for
the second quarter of 2007; "199809" for the third quarter of 1997.
Is there a way I can convert it to something like "2007 Q2", "1998 Q3"?
I am aware of
2005 Aug 17
2
power of a matrix
Dear all,
I have a population with three age-classes, at time t=0 the population
is:
n.zero <- c(1,0,0)
I have a transition matrix A which denotes "fertility" and "survival":
A <- matrix(c(0,1,5, 0.3,0,0, 0,0.5,0), ncol=3, byrow=TRUE)
To obtain the population at t=1, I calculate:
A %*% n.zero
To obtain the population t=2, I calculate:
A %*% (A %*% n.zero)
... and so
2005 Jun 28
2
the function of mle
Hi,
I am a user of R computer language.Several days ago,I download R-2.1.0.From
the help manual,I saw there is a function "mle" to find the maximum
likelihood estimators.But when I try to use this function,there is no this
function.Could you help me to solve this problem?
I am looking forward to your answer.
Thank you.
Jun Liu
2005 Aug 17
2
plotting issue with timestamps
I have a dataset with transactions and a timestamp at which they occoured
during a day. The time stamp is in the format YYYY/MM/DD hh:mm:ss. I would
like to plot a timeseries of the transactions to see if there is a
particular time in the day when there is a spike in transactions. Ofcourse
the YYYY/MM/DD can be dropped since I am monitoring activity for the day and
the actual date is