The reason I said the variable tv is discrete is because the medians turn out to be exactly 1 and 4, respectively. But it looks like it's not an integer; maybe, as Nick suggested, it's recorded every half an hour?
Unless TV takes on a wide range of values, you can't trust either the usual standard errors or those obtained via bootstrap. The median is not a smooth function of the data in that case.
You could assume that tv has a particular distribution -- such as that for Tobit model, which allows true zeros -- and then use interval regression. Then you could compute the difference in medians off of the lognormal distribution and easily obtain a valid standard error for the difference.
Unless TV takes on a wide range of values, you can't trust either the usual standard errors or those obtained via bootstrap. The median is not a smooth function of the data in that case.
You could assume that tv has a particular distribution -- such as that for Tobit model, which allows true zeros -- and then use interval regression. Then you could compute the difference in medians off of the lognormal distribution and easily obtain a valid standard error for the difference.
Comment