How can I wrtie and calculate alpha and beta in the forward backward
algorithm in R ?
--
View this message in context:
http://r.789695.n4.nabble.com/Forward-and-backward-algorithm-in-R-tp4648012.html
Sent from the R help mailing list archive at Nabble.com.
Make a plot in R where you compare the probability distributions for the
Binomial distributions with N=1000 trials and succes probability 0.005 and
the Possion Distribution with rate lambda=5.
My answer is
b<-binom(x, 1000, 0.005, log = FALSE)
plot(b)
p<-dpois(x, lambda, log = FALSE)
plot(p)
*
How can I make a reference i this case? I want to make a reference to
'Artikel XXX'
For example
In The Artikel '' there is two tables.
..
Litterature
Artikel XXX
--
View this message in context:
http://r.789695.n4.nabble.com/Make-a-reference-tp4634611.html
Sent from the R help mailing li
I can make kurtosis but now skewness curve. How can I do that? I have used
the following code.
x<-(1:601-301)/50
x
dt3<-dt(x,3)
pt3<-pt(x,3)
# t distribution has mean 0; variance f/(f-2); skewness 0; excess kurtosis
6/(f-4)
dn01<-dnorm(x,0,1)
pn01<-pnorm(x,0,1)
dlogis<-dlogis(x,0,1)
plogis<-pl
How can I use the curve when I have a vector? How should the R code look
like?
--
View this message in context:
http://r.789695.n4.nabble.com/To-make-a-graph-for-4-functions-tp4592941p4593672.html
Sent from the R help mailing list archive at Nabble.com.
__
Thanks for your response.
Now I have 3 functions for example
y0<-function(x) x^2
y1<-function(x) x^3
y2<-function(x) x^5
t<-function(x) c(y0(x),y1(x),y2(x))
I want to plot this so I get 3 graphs in a diagram.
How can I do this?
plot(x,t(x),type="l") doesnt work.
--
View this message in cont
lets say I have these function and I want to have a graph on them
y0=x^2
y1=x^3
Then I say this
x=seq(0,10,length.out=100)
plot(x,y0,y1,type="l")
but R does not give me a graph. How would you do it?
--
View this message in context:
http://r.789695.n4.nabble.com/To-make-a-graph-for-4-functions
I have tried this but its not the same as in the links.
x=seq(-3,3,length.out=100)
y=dnorm(x)
plot(x,y,type="l")
y3=y*2
x3=x+1
plot(range(c(-4,4)),range(c(0,3)),xlab="x",ylab="y",col="white" )
lines(x,y4,type="l")
x2=x*0.5
lines(x2,y,type="l")
--
View this message in context:
http://r.789695
How can I write a R-code so I can get these diagrams? (The skewness and
Kurtosis for a normal distribution)
http://www.google.dk/imgres?um=1&hl=da&biw=1280&bih=605&tbm=isch&tbnid=aWXNm22wHhXWWM:&imgrefurl=http://en.wikipedia.org/wiki/Skewness&docid=klEV7X9U6qwTRM&imgurl=http://upload.wikimedia.org
9 matches
Mail list logo