11.07.2015 Views

statisticalrethinkin..

statisticalrethinkin..

statisticalrethinkin..

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4. ADDING A PREDICTOR 109height ~ dnorm( a + b*weight , sigma ) ,a ~ dnorm( 156 , 100 ) ,b ~ dnorm( 0 , 10 ) ,sigma ~ dunif( 0 , 50 )) ,data=d2 ,start=list( a=mean(d2$height) , sigma=sd(d2$height) , b=0 ) )is is exactly the same model, but with the linear definition for µ embedded in the first line of code.e form with the explicit linear model, mu

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!