arXiv ScienceSearch

arXiv subjects

Alan Huang

Publications and source records attributed to Alan Huang.

15 recordsLinked to original sources

JAXtronomy: A JAX port of lenstronomy

Gravitational lensing is a phenomenon where light bends around massive objects, resulting in distorted images seen by an observer. Studying gravitationally lensed systems provides insights into cosmology and astrophysics, including constraints of the expansion rate of the Universe and the distribution of dark matter. Thus, we introduce JAXtronomy, a re-implementation of the gravitational lensing software package lenstronomy (Birrer, 2021; Birrer & Amara, 2018) using JAX (Bradbury et al., 2018). JAX is a Python library that uses an accelerated linear algebra (XLA) compiler to improve the performance of computing software. Our core design principle of JAXtronomy is to maintain an identical API to that of lenstronomy. The main JAX features utilized in JAXtronomy are just-in-time compilation, which can lead to significant reductions in execution time, and automatic differentiation, which allows for the implementation of gradient-based algorithms that were previously impossible. Additionally, JAX allows code to be run on GPUs or parallelized across CPU cores, further boosting the performance of JAXtronomy.

astro-ph.IM

SLSim: a strong lensing population simulation package

Gravitational lensing offers unique insights into cosmology by bending light around massive objects. Strong gravitational lensing, in particular, produces magnified and often multiple images of distant sources, crucial for precise cosmological measurements and understanding the distribution of dark matter in the universe. Current studies are limited by the number of strong gravitational lenses. From upcoming cosmological surveys, we anticipate observing a several orders of magnitude increase in the number of lenses, for both static and transient phenomena. However, detecting and analyzing these events from vast surveys like Vera C. Rubin Observatory Legacy Survey of Space and Time (LSST) presents significant challenges. To prepare for these challenges, we introduce SLSim, a versatile simulation tool tailored for the Vera C. Rubin Observatory. SLSim integrates advanced astrophysical models with computational efficiency to generate synthetic strong lens populations under realistic observational conditions. SLSim simulates static and variable lensing scenarios, essential for cosmological studies, training and testing lens search and data analysis pipelines. This paper details SLSim,'s design and implementation, emphasizing its modularity and capabilities across various astrophysical regimes. Validation against observational data and existing simulations confirms SLSim's accuracy in reproducing observed lensing phenomena. SLSim is publicly available at https://github.com/LSST-strong-lensing/slsim, and we anticipate continued development and expansion of its capabilities. Users are encouraged to check the repository for updates and to contribute to ongoing community efforts in strong lensing simulations.

astro-ph.CO

The Roman View of Strong Gravitational Lenses

Galaxy-galaxy strong gravitational lenses can constrain dark matter models and the Lambda Cold Dark Matter cosmological paradigm at sub-galactic scales. Currently, there is a dearth of images of these rare systems with high signal-to-noise and angular resolution. The Nancy Grace Roman Space Telescope (hereafter, Roman), scheduled for launch in late 2026, will play a transformative role in strong lensing science with its planned wide-field surveys. With its remarkable 0.281 square degree field of view and diffraction-limited angular resolution of ~0.1 arcsec, Roman is uniquely suited to characterizing dark matter substructure from a robust population of strong lenses. We present a yield simulation of detectable strong lenses in Roman's planned High Latitude Wide Area Survey (HLWAS). We simulate a population of galaxy-galaxy strong lenses across cosmic time with Cold Dark Matter subhalo populations, select those detectable in the HLWAS, and generate simulated images accounting for realistic Wide Field Instrument detector effects. For a fiducial case of single 146-second exposures, we predict around 160,000 detectable strong lenses in the HLWAS, of which about 500 will have sufficient signal-to-noise to be amenable to detailed substructure characterization. We investigate the effect of the variation of the point-spread function across Roman's field of view on detecting individual subhalos and the suppression of the subhalo mass function at low masses. Our simulation products are available to support strong lens science with Roman, such as training neural networks and validating dark matter substructure analysis pipelines.

astro-ph.CO

Generate synthetic samples from tabular data

Generating new samples from data sets can mitigate extra expensive operations, increased invasive procedures, and mitigate privacy issues. These novel samples that are statistically robust can be used as a temporary and intermediate replacement when privacy is a concern. This method can enable better data sharing practices without problems relating to identification issues or biases that are flaws for an adversarial attack.

cs.LG

Encoding large information structures in linear algebra and statistical models

Large information sizes in samples and features can be encoded to speed up the learning of statistical models based on linear algebra and remove unwanted signals. Encoding information can reduce both sample and feature dimension to a smaller representational set. Here two examples are shown on linear mixed models and mixture models speeding up the run time for parameter estimation by a factor defined by the user's choice on dimension reduction (can be linear, quadratic or beyond based on dimension specification).

cs.LG

Consistent second-order discrete kernel smoothing using dispersed Conway-Maxwell-Poisson kernels

The histogram estimator of a discrete probability mass function often exhibits undesirable properties related to zero probability estimation both within the observed range of counts and outside into the tails of the distribution. To circumvent this, we formulate a novel second-order discrete kernel smoother based on the recently developed mean-parametrized Conway--Maxwell--Poisson distribution which allows for both over- and under-dispersion. Two automated bandwidth selection approaches, one based on a simple minimization of the Kullback--Leibler divergence and another based on a more computationally demanding cross-validation criterion, are introduced. Both methods exhibit excellent small- and large-sample performance. Computational results on simulated datasets from a range of target distributions illustrate the flexibility and accuracy of the proposed method compared to existing smoothed and unsmoothed estimators. The method is applied to the modelling of somite counts in earthworms, and the number of development days of insect pests on the Hura tree.

stat.ME

On arbitrarily underdispersed Conway-Maxwell-Poisson distributions

We show that the Conway--Maxwell--Poisson distribution can be arbitrarily underdispersed when parametrized via its mean. More precisely, if the mean $μ$ is an integer then the limiting distribution is a unit probability mass at $μ$. If the mean $μ$ is not an integer then the limiting distribution is a shifted Bernoulli on the two values $\floorμ$ and $\ceilμ$ with probabilities equal to the fractional parts of $μ$. In either case, the limiting distribution is the most underdispersed discrete distribution possible for any given mean. This is currently the only known generalization of the Poisson distribution exhibiting this property. Four practical implications are discussed, each adding to the claim that the (mean-parametrized) Conway--Maxwell--Poisson distribution should be considered the default model for underdispersed counts. We suggest that all future generalizations of the Poisson distribution be tested against this property.

math.ST

Bayesian generalized linear model for over and under dispersed counts

Bayesian models that can handle both over and under dispersed counts are rare in the literature, perhaps because full probability distributions for dispersed counts are rather difficult to construct. This note takes a first look at Bayesian Conway-Maxwell-Poisson generalized linear models that can handle both over and under dispersion yet retain the parsimony and interpretability of classical count regression models. The focus is on providing an explicit demonstration of Bayesian regression inferences for dispersed counts via a Metropolis-Hastings algorithm. We illustrate the approach on two data analysis examples and demonstrate some favourable frequentist properties via a simulation study.

stat.ME

Are profile likelihoods likelihoods? No, but sometimes they can be

We offer our two cents to the ongoing discussion on whether profile likelihoods are "true" likelihood functions, by showing that the profile likelihood function can in fact be identical to a marginal likelihood in the special case of normal models. Thus, profile likelihoods can be "true" likelihoods insofar as marginal likelihoods are "true" likelihoods. The prior distribution that achieves this equivalence turns out to be the Jeffreys prior. We suspect, however, that normal models are the only class of models for which such an equivalence between maximization and marginalization is exact.

math.ST

Doubly-nonparametric generalized additive models

The popular generalized additive model framework is extended to allow both the mean curves and the response distribution to be nonparametric. The approach is demonstrated to be a flexible yet parsimonious tool for data analysis in its own right, as well as being a useful tool for model selection and diagnosis in the classical generalized additive model framework. Finite-sample performance of the method is examined via various simulation settings and the method is illustrated on two data analysis examples.

stat.ME

Profile likelihood ratio tests for parameter inferences in generalized single-index models

A profile likelihood ratio test is proposed for inferences on the index coefficients in generalized single-index models. Key features include its simplicity in implementation, invariance against parametrization, and exhibiting substantially less bias than standard Wald-tests in finite-sample settings. Moreover, the R routine to carry out the profile likelihood ratio test is demonstrated to be over two orders of magnitude faster than the recently proposed generalized likelihood ratio test based on kernel regression. The advantages of the method are demonstrated on various simulations and a data analysis example.

stat.ME

Mean-parametrized Conway-Maxwell-Poisson regression models for dispersed counts

Conway-Maxwell-Poisson (CMP) distributions are flexible generalizations of the Poisson distribution for modelling overdispersed or underdispersed counts. The main hindrance to their wider use in practice seems to be the inability to directly model the mean of counts, making them not compatible with nor comparable to competing count regression models, such as the log-linear Poisson, negative-binomial or generalized Poisson regression models. This note illustrates how CMP distributions can be parametrized via the mean, so that simpler and more easily-interpretable mean-models can be used, such as a log-linear model. Other link functions are also available, of course. In addition to establishing attractive theoretical and asymptotic properties of the proposed model, its good finite-sample performance is exhibited through various examples and a simulation study based on real datasets. Moreover, the MATLAB routine to fit the model to data is demonstrated to be up to an order of magnitude faster than the current software to fit standard CMP models, and over two orders of magnitude faster than the recently proposed hyper-Poisson model.

stat.ME

On generalized estimating equations for vector regression

Generalized estimating equations (GEE; Liang & Zeger 1986) for general vector regression settings are examined. When the response vectors are of mixed type (e.g. continuous-binary response pairs), the GEE approach is a semiparametric alternative to full-likelihood copula methods, and is closely related to the mean-covariance estimation equations approach of Prentice & Zhao (1991). When the response vectors are of the same type (e.g. measurements on left and right eyes), the GEE approach can be viewed as a "plug-in" to existing methods, such as the vglm function from the state-of-the-art VGAM R package of Yee (2015). In either scenario, the GEE approach offers asymptotically correct inferences on model parameters regardless of whether the working variance-covariance model is correctly or incorrectly specified. The finite-sample performance of the method is assessed using simulation studies based on a burn injury dataset (Song 2007) and a Sorbinil eye trial dataset (Rosner et. al 2006). The method is applied to data analysis examples using the same two datasets, as well as on a presence/absence dataset on three plant species in the Hunua ranges of Auckland.

stat.ME

Orthogonality of the mean and error distribution in generalized linear models

We show that the mean-model parameter is always orthogonal to the error distribution in generalized linear models. Thus, the maximum likelihood estimator of the mean-model parameter will be asymptotically efficient regardless of whether the error distribution is known completely, known up to a finite vector of parameters, or left completely unspecified, in which case the likelihood is taken to be an appropriate semiparametric likelihood. Moreover, the maximum likelihood estimator of the mean-model parameter will be asymptotically independent of the maximum likelihood estimator of the error distribution. This generalizes some well-known results for the special cases of normal, gamma and multinomial regression models, and, perhaps more interestingly, suggests that asymptotically efficient estimation and inferences can always be obtained if the error distribution is nonparametrically estimated along with the mean. In contrast, estimation and inferences using misspecified error distributions or variance functions are generally not efficient.

stat.ME

Semiparametric generalized linear models for time-series data

Time-series data in population health and epidemiology often involve non-Gaussian responses. In this note, we propose a semiparametric generalized linear models framework for time-series data that does not require specification of a working conditional response distribution for the data. Instead, the underlying response distribution is treated as an infinite-dimensional parameter which is estimated simultaneously with the usual finite-dimensional parameters via a maximum empirical likelihood approach. A general consistency result for the resulting estimators is given. Simulations suggest that both estimation and inferences using the proposed method can perform as well as correctly-specified parametric models even for moderate sample sizes, but can be more robust than parametric methods under model misspecification. The method is used to analyse the Polio dataset from Zeger (1988) and a recent Kings Cross assault dataset from Menendez et al. (2015).

stat.ME