I want to calculate the commulative sum of any numeric vector with the following command but this following command does not work "comsum" My question is , how we can calculate the commulative sum of any numeric vector with above command Thanks Zahid Khan Lecturer in Statistics Department of Mathematics Hazara University Mansehra. --------------------------------- [[alternative HTML version deleted]]
?cumsum --- zahid khan <solo_qau at yahoo.com> wrote:> I want to calculate the commulative sum of any numeric vector with the > following command but this following command does not work "comsum" > My question is , how we can calculate the commulative sum of any numeric > vector with above command > Thanks > > > Zahid Khan > Lecturer in Statistics > Department of Mathematics > Hazara University Mansehra. > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On 04/08/2007 1:41 AM, zahid khan wrote:> I want to calculate the commulative sum of any numeric vector with the following command but this following command does not work "comsum" > My question is , how we can calculate the commulative sum of any numeric vector with above commandIn English the spelling is "cumulative", but the help.search() function can find the answer with small misspellings: help.search("commulative sum") yields cumsum as the answer. Duncan Murdoch> Thanks > > > Zahid Khan > Lecturer in Statistics > Department of Mathematics > Hazara University Mansehra. > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Dear All I want to run Phillips-Perron test with no constant and trend in estimated equation in "urca" library then how i can run it with command ur.pp()? whereas if i want to run ADF test in urca library then there is no problem.Kindly guide me in this regard. Thanks Zahid Khan Lecturer in Statistics Department of Mathematics Hazara University Mansehra. --------------------------------- [[alternative HTML version deleted]]