The assumption of homoscedasticity has received much attention in classical analysis of regression. Heteroscedasticity tests have been well studied in parametric and nonparametric regressions. The aim of this paper is to present a test of heteroscedasticity for nonlinear semiparametric regression models with nonparametric variance function. The validity of the proposed test is illustrated by two simulated examples and a real data example.
The differences between two sequences of nonnegative independent and identically distributed random variables with sub-exponential tails and the random index are studied. The random index is a strictly stationary renewal counting process generated by some negatively associated random variables. Using a revised large deviation result of partial sums, the elementary renewal theorem and the central limit theorem of negatively associated random variables, a precise large deviation result is derived for the random sums. The result is applied to the customer-arrival-based insurance risk model. Some uniform asymptotics for the ruin probabilities of an insurance company are obtained as the number of customers or the time tends to infinity.