Displaying 4 results from an estimated 4 matches for "iara".
Did you mean:
iana
2011 Oct 27
2
creating vector os zeros for simulations (beginner's question)
...# also tried this:
N=150
u2<-rep((matrix(0,5)),30)
u2
for(i in 1:N)
{
u2[i]<-rnorm(5)
}
u2
The problem is none of this gives me the random numbers arranged in vectors.
I've tried other variations too, but haven't managed to get it through.
Any help is very welcome.
Kind regards,
Iara
[[alternative HTML version deleted]]
2011 Oct 26
1
help with means using tail()
...ths, as I wanted).
But now I want to create a vector with the means of the last 9 values [2010.10 to 2011.6] AND the means of of 9 months but deslocated one month, that is, [2010.9 to 2011.5].
I tried to find examples of this but with no help.
Can anyone give a hand?
Thanks in advance.
Regards,
Iara
[[alternative HTML version deleted]]
2011 Oct 17
2
Beginner's question about plotting variables in a time series object with the date on the x axis
Dear R helpers,
I am a beginner at R so please be gentle :)
I have already read manuals and FAQs, with no help.
I have a monthly time series data on public debt with 40 variables, it starts on January 1994 and ends on June 2011.
I am loading the data into R using read.csv and the data looks ok when I do edit(dados):
> dados<-read.csv("dadosR3.csv", header=T)
then I tried making
2011 Oct 18
0
how to use VARselect with missing values - beginner's question
...> VARselect(dadosvar,lag.max=8,type="both")
Error in VARselect(dadosvar, lag.max = 8, type = "both") :
NAs in y.
When I tried VARselect it won't work because there are missing values. Is there a way around this problem?
Thanks in advance for any help.
Kind regards,
Iara
[[alternative HTML version deleted]]