Cause Y is belong to [0, 1], when I try the linear regression, I get a lot of negative predicted value when doing the forecast, so I would like to try the logistic regression.

The problem I meet is that, is there any hypothesis for using logistic regression? I choose the family as binomial, the model result is what I would like to see, but I remember that binomial is for 0, 1(classified) problem, can I model the loss rate this way here? Do I need to do any hypothesis test?

Thanks for the kindly help.