Search found 1 match
- Wed Jul 09, 2025 5:17 pm
- Forum: MLwiN user forum
- Topic: Piecewise function on mlwin
- Replies: 2
- Views: 12130
Re: Piecewise function on mlwin
Yes, your coding looks appropriate for a piecewise multilevel model. The first time piece (0, 0.5, 1, 1) captures the treatment phase with linear change, plateauing after treatment ends, and the second time piece (0, 0, 0, 1) captures change during the follow-up period. This should allow you to ...