[R-sig-ME] Fw: (no subject)

mervat mohamed mervat_moh2006 at yahoo.com
Tue Mar 10 10:46:35 CET 2015


many thanx
i appreciate your help, but  i concern about Glynn and Wakefield model, and i want to use the lmer function to perform this model and estimate the parameters of the attached model (18)




  

      On Monday, March 9, 2015 11:12 PM, Ben Bolker <bbolker at gmail.com> wrote:
   

 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-03-09 06:53 AM, mervat mohamed via R-sig-mixed-models wrote:
> Dear lmer() friends,
> 
> I amtrying to estimate a model about regress deviance y on deviance
> x
> 
> Doesanyone of you has already done this before using lmer()
> method? i want the code of this model
> 
> Thanksa lot
> 
> mervat
> 
> 
> 

transcribing your equation into TeX format:

(y_{ij} - \bar y_{.j}) =
  \beta(x_{ij}-\bar x_{.j}) + e_{ij} - \bar e_{.j}

It's not really clear to me what you want to do.  It looks like
it *might* be a random_slope model.  In other words,

  y ~ x + (x|f)

where x is a continuous covariate and f is a grouping variable
(factor) gives

 y_{ij} = beta_0 + beta_1*x + (b_{0j} + b_{1j}*x)

Where b_{0j} is a group-level deviate from the intercept and b_{1j} is
a group-level deviation from the slope.

Is that translatable into your context?

Depending on how you want your results presented, van de Pol and
Wright 2009 might be useful:
http://www.myscience.eu/martijn/pdfs/vandePol%26Wright2009_AnimBeh.pdf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJU/gtxAAoJEOCV5YRblxUHWpkH+wXX9P8xmK8pQoBmix/Jtk4E
MmS5V2G0REuuiZHcOpjNVfWH4+Mda3VrULiZ5C2PJkLAizAZ0ME/HTtW8Ai2wAGx
tJDlo5A19/WMGGo3OHH8hU2UroCJWFfa3Ion4jVMP6911t5lL4Eewb+B+BcxcvQD
QIhs8hH+i9Pv9lOEWtzpgxp7Elhjs0q4wXRF++CopBG3mKHtutl7G1+zFS+jm64o
ZztJ7MZ/oeAvNHTExi0rxdB6MDrcX5eXHrRiDCP5OD7rD6MWxfEezne1QV/V1feX
R21iN64wBiSSZmTFCy3xP+Vl7CZ/hJvXsKvPf7c0HwfUwN0TflXN3GO8Jf2Ebcs=
=iics
-----END PGP SIGNATURE-----

_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models


   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blob.jpg
Type: image/png
Size: 73778 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20150310/59e2fb1e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blob.jpg
Type: image/png
Size: 6210 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20150310/59e2fb1e/attachment-0003.png>


More information about the R-sig-mixed-models mailing list