Skip to content

Commit

Permalink
Update gibbsSamplerLM.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gdlc committed Dec 2, 2015
1 parent d544644 commit af6d0e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gibbsSamplerLM.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
### Gibbs sampler for a muliple linear regression with 'fixed' and random effectslinear


```R
gibbsLM<-function(y,X,gropus,isRandom,nIter, df0=1,R0=.5,vervose=T){



OUT=list(varE=varE,varB=varB,B=B)
}

The code below can be used to run a Gibbs Sampler for a linear model of the form

y = X1b1 + X2b2 +....+ Xqbq + e
Expand Down

0 comments on commit af6d0e1

Please sign in to comment.