Here we want to maximise 1/(2thetha)^n, so we need as small valu of thetha as possible , but there is a constraint that thetha cannot be smaller than Xn since Xn is a sample from U(-thetha,thetha), similarly thetha should be smaller than or equal to X1. Thus it is said max of -x1 and xn , its not max of x1,x2.....xn.
Lets take an example suppose the distribution is U(-1,1) but we dont know it, and we take a sample of 5 observations say-0.89 , -0.5 , 0 , 0.66 , 0.98 , so now we want to maximise fn = 1/(2thetha)^5 , so now we need smallest value of thetha so we take 0.98(xn) , here we rule out -0.89 (x1) because as we got one observation as 0.98 thetha has to be greater than or equal to 0.98 , so it is maximum of (-x1 and xn) in this case it is maximum of (0.89 , 0.98).
Hope this helps
Last edited by a moderator: Apr 16, 2015