Re: [R] Dummy variable in ARIMA

2015-02-26 Thread Mikael Olai Milhøj
...@gene.com wrote: Inline. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. Clifford Stoll On Thu, Feb 26, 2015 at 8:02 AM, Mikael Olai Milhøj mikaelmil...@gmail.com

[R] Dummy variable in ARIMA

2015-02-26 Thread Mikael Olai Milhøj
Hi all I have been searching on the web in vain. I want to include a dummy variable in my ARIMA model. Let's say that I want to make an AR(1) model for X including a dummy variable which should be 1 for observation 4,5,6 and zero otherwise (let's say that there is 50 observations in total). How

Re: [R] Plot residuals against standard normal distribution

2015-02-03 Thread Mikael Olai Milhøj
Thx - this was exactly what I needed. Yes I also prefer the qqnorm but I like the distrubution chart as well. Thx ! /Mikael On Tue, Feb 3, 2015 at 12:18 AM, peter dalgaard pda...@gmail.com wrote: On 02 Feb 2015, at 23:42 , Mikael Olai Milhøj mikaelmil...@gmail.com wrote: Hi, I'm

[R] Plot residuals against standard normal distribution

2015-02-02 Thread Mikael Olai Milhøj
Hi, I'm having trouble trying to plot the density of the residuals against the standard normal distribution N(0,1). (I'm trying to see if my residuals are well-behaved). I know hwo to calculate the standardized residuals (I guess that there may be a simple way using a R function) and then plot

[R] Dropping time series observations

2015-01-31 Thread Mikael Olai Milhøj
Hi Is there an easy way to drop, for instance, the first 4 observation of a time series object in R? I have tried to google the answer without any luck. To be more clear: Let us say that I have a time seres object x which data from 2000Q1 to 2014Q4 but I only want the data from 2001Q1 to

Re: [R] Reading oxmetrics/pcgive files (.in7 .bn7)

2015-01-27 Thread Mikael Olai Milhøj
Aranleigh Park Rathfarnham Dublin 14 Ireland www.tcd.ie/Economics/staff/frainj/home.html mailto:fra...@tcd.ie mailto:fra...@gmail.com On 26 January 2015 at 21:50, Mikael Olai Milhøj mikaelmil...@gmail.com wrote: Hi I have the unfortune to have some data saved as oxmetrics/pcgive file format

[R] Reading oxmetrics/pcgive files (.in7 .bn7)

2015-01-26 Thread Mikael Olai Milhøj
Hi I have the unfortune to have some data saved as oxmetrics/pcgive file format (.in7 .bn7). Is there any way to import data from this format into R? I have tried both google and the importing/exporting guide without any luck. Thanks in advance Best regards, /Mikael [[alternative