Hi Mario, thanks for your example. Your code doesn't run yet, XI
is
undefined. Is that supposed to be inv(X)?
cheers
sven
Thanks for the answers! I checked the code and for some reason the following line is
missing (probably due to a mistake in the copy-paste):
matrix XI = li~ki~vi
Put this immediately before Yi = (PPX*XI')'.
Thanks!