Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Time series analysis by subsets within data set


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: RE: Time series analysis by subsets within data set
Date   Thu, 12 Apr 2007 20:32:25 -0500

Use the -if qualifier- :

arima sales if customer == "name", ar(1)

Scott


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Michael Crain
> Sent: Thursday, April 12, 2007 4:41 PM
> To: [email protected]
> Subject: st: Time series analysis by subsets within data set
> 
> I am having difficulty in a time series analysis.
> 
> My data set looks like this:
> Week
> Customer
> Sales
> 
> I want to perform time series analysis on EACH CUSTOMER.  I cannot figure
> out how to run the time series commands (e.g., graphics, arima) on each
> customer seperately within a single data set.
> 
> Any help is appreciated.  Thank you.
> 
> M. Crain
> 


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index