Locally Regularized Spatiotemporal Modeling and Model Comparison for Functional MRI