[R-sig-ME] Setting parameters to 0

ONKELINX, Thierry Thierry.ONKELINX at inbo.be
Fri Dec 5 15:31:10 CET 2014


Dear Wafic,

I think that the easiest way to get the same effect is to simple set var3 to 0 during summer.

Your model is trips = beta_0 + beta_1 * var1 + beta_2 * var2 + b_i0 + b_i3 * var3

You want b_i3 = 0 during summer. So during summer b_i3 * var3 = 0 * var3 = 0. If var3 = 0, then b_i3 * var3 = 0. I expect the estimate of b_i3 to be very close to zero.

Best regards,

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
+ 32 2 525 02 51
+ 32 54 43 61 85
Thierry.Onkelinx op inbo.be
www.inbo.be

To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey


-----Oorspronkelijk bericht-----
Van: R-sig-mixed-models [mailto:r-sig-mixed-models-bounces op r-project.org] Namens Wafic El - Assi
Verzonden: woensdag 3 december 2014 23:10
Aan: r-sig-mixed-models op r-project.org
Onderwerp: [R-sig-ME] Setting parameters to 0

Hello,

Is there a function like constpar (mixed logit package) that allows me to set a parameter result to 0?

For example, if i have the following linear mixed effects model:

 trips ~ (var1) + (var2) + (1+var3|season)

And my var3 is "Snow Fall". I would like to set the parameter equal to 0 during the summer season. Is that possible?

Thank you for your time.

Regards,

Wafic

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-mixed-models op r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
Disclaimer Bezoek onze website / Visit our website<https://drupal.inbo.be/nl/disclaimer-mailberichten-van-het-inbo>



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