Search found 2 matches
- Fri Aug 08, 2025 2:55 pm
- Forum: MLwiN user forum
- Topic: Piecewise function on mlwin
- Replies: 3
- Views: 21931
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 ...
- Wed Jul 09, 2025 5:17 pm
- Forum: MLwiN user forum
- Topic: Piecewise function on mlwin
- Replies: 3
- Views: 21931
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 ...