Search found 2 matches

by scottwaterfield
Fri Dec 04, 2020 2:47 pm
Forum: R2MLwiN user forum
Topic: Linear Spline Modelling error
Replies: 2
Views: 6931

Re: Linear Spline Modelling error

I have since found another question on this board asking a very similar question (https://www.cmm.bristol.ac.uk/forum/viewtopic.php?f=7&t=3272&p=6622&hilit=spline&sid=1131a2807f7922de8bb0dafd0ab5dc84#p6622), but have failed to successfullly enact the changes. My code now looks as suc...
by scottwaterfield
Tue Dec 01, 2020 4:46 pm
Forum: R2MLwiN user forum
Topic: Linear Spline Modelling error
Replies: 2
Views: 6931

Linear Spline Modelling error

Hi, I am trying to run a linear spline model with 3 knot points. I have code as follows: (Mod <- runMLwiN(DX ~ 1 + s1 + s2 + s3 + s4 + (1 + s1 + s2 + s3 + s4|ID) + (1|occasion), estoption = list(resi.store = TRUE), data = df)) the data is sorted by: ID, followed by ocassion. But I get the following ...