Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. log.pr.data<-function(lambda.s,n1,n0,lambda.star,psi0,tobs,g=T.chan){
  2. print("Function log.pr.data")
  3. print(g)
  4. psi.s<-boundary(lambda.s,g,psi0,tobs,n1,n0)
  5. -my.dbinom(n0*lambda.s,n0,lambda.star,log=TRUE)
  6. }
  7.  
  8. nlm(log.pr.data,p=0.6,n1=n1,n0=n0,lambda.star=lambda.star,psi0=psi0,tobs=tobs)
  9.  
  10. log.pr.data(l,n1,n0,lambda.star,psi0,tobs,T.chan)
  11.  
  12. nlm(log.pr.data,p=0.6,n1=n1,n0=n0,lambda.star=lambda.star,psi0=psi0,tobs=tobs,g=T.chan)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement