instruction
stringlengths
9
38.7k
I'm studying a dataset of 10,400 observations (schools) across Italy. My dependent variable is at school level, while among my explanatory variables I have some of them at province level (the main regressor is social capital). Thus, I was thinking to use clustered SE at province level (with different number of observat...
I have a time series of data taken from a meteorological station, and I have to extract values from it which are located on a precise point of time; problem is that the station time series I have only gives me average values of measures every half an hour. There is some method to get a smoth line from it, so I can take...
I have a dataframe with 20 variables describing the situation of the students in a school while the do two different courses. Now, I am studying if there are multicollineality between some columns and I have the next question: I have two categorical variables (with the same 4 categories) describing if a student has a ...
My original dataset with 48 subjects has a considerable number of missing items. Majority of the data is categorical (dichotomous) and some of it is ranked (ordinal). I performed a multiple imputation using MICE in R. I am interested in running the following tests: Fisher exact test for relationship between two variabl...
I have an unconventional optimization problem. At least for me. PROBLEM: $$ \max_{c \in C(N,n)} F(c) $$ where: $C(N,n)$ is the space of the combinations of $n$ objects, out of $N$; $F: C(N,n) \rightarrow \mathbb{R}$; $F$ is computationally very heavy to evaluate; Exists $G: C(N,n) \rightarrow \mathbb{R}$ that (empiric...
In non-negative matrix factorization (NMF), the problem is to minimize $A - WH$. Dimensions are $A$ (m x n), $W$ (m, k) and $H$ (k, n). The matrix $H$ reveals soft clustering assignments of $n$ items over $k$ clusters, and is called clustering indicator matrix. Values in $H$ are constrained to have nonnegative numbers....
I am working on supply response of major crops in Pakistan for my thesis. I have zone wise data for prices, area and production. Each zone has a few Districts in it. Now all the area and production data varies but the prices are same for all the districts ( all district farmers sell in the same central zonal market). W...
I have a dataset of legislative roll call votes. This dataset contains the votes of all members of Congress during on specific period (in this case, 2 years). The data is mounted according this following structure: Legislator A: N | - | - | Y | Y | N Legislator B: N | - | Y | Y | Y | N Legislator C: Y | Y | Y | N | - ...
When simulating a system (e.g. visualising a 2d surface) it is common to create some form of random sample of a surface as the base artefact, and then run the simulation across that using a second random sampling of the base artefact to simulate system's sampling noise. It is normally presumed that the initial random s...
An issue that happens quite often in my experiments is the model varies in performance when random state for the algorithm is changed. So the question is simple, should I take random state as a hyperparameter? Why is that? If my model outperforms others with different random state, should I consider the model as over ...
My background in statistical mathematics is poor. I don't know why $y_{i}/x_{i}$ and the residuals of the linear regression $y_{i}$~$x_{i}$ are always linearly related (whether X and Y are related or not). Can someone explain what is going on there (mathematically and intuitively)? This question is motivated by want...
I do not have any experience doing statistics with data from a meta-analysis. However, I am working on a research project at the moment where I must look for a significant difference between groups in the meta-analysis. But my project advisor is off at the moment and I would like to begin this part of the project befor...
I am trying to build a regression model following the instructions from the book Introduction to linear regression analysis by D. Montgomery and others. I am about to perform "all possible regressions", but first I have to determine if they are feasible. But I can not find anything in the book (or via google) on how t...
I am working on a Bayesian multilevel regression model, which is specified as $$ y_{ij}=x_{ij}'\beta+\delta_j+\varepsilon_{ij}\\ \delta_j=\gamma_{\operatorname{region}(j)}+\eta_j $$ where $i$ indexes county, $j$ indexes state and the slightly awkward notation $\operatorname{region}(j)$ denotes the region of state $j$ (...
I have a two data sets which consist mostly of number between 0 and 1. The standard deviation is 0.1945, which means the variance would be 0.03783. Does this value still work when doing t-tests, even though the variance gets smaller?
I have some trouble detecting structural breaks in a dataset. The dataset has multiplied time-series, and it follows a trend. I want to find a structural break when the time-series breaks the trend. The structural breaks occurs when the value randomly goes from i.e. 2000 and drops to zero, or close to zero. Others can...
I ran a logistic regression and know how to deduce the probability of success from select parameters: predict(glm , data , type = "response") However, how do we go the other way around? Let's say my data is composed of : survival (binary) (outcome) age (continuous) (parameter) sex (binary) (parameter) I wo...
I have a set of 150 features, and many of them are highly correlated with each other. My goal is to predict the value of a discrete variable, whose range is 1-8. My sample size is 550, and I am using 10-fold cross-validation. AFAIK, among the regularization methods (Lasso, ElasticNet, and Ridge), Ridge is more rigorou...
I'm trying to find the correct terminology for a dataset I'm working with: the data consists of events that have a time of occurrence (irregular, i.e. not from a fixed sample rate) and a scalar value. The aggregated values (their sum) represent the system's state. The events are largely independent w.r.t. both timing a...
My current understanding is that sphericity violations inflate the F-value and therefore type I error. I'd like to know how exactly this manifests itself mathematically. To follow-up, why does sphericity only concern itself with repeated measures within a given factor? In other words, how is it that differences in the ...
I fail to understand when we call a family of distribution is complete and when a statistic is complete. What is the difference between both?, Is there a relation between them? Please provide examples along with your answer.
Just an early warning before you read the rest, I am probably missing some theory behind it and I have lack of knowledge that needs to be filled with this question. So, what I will say might be very basic and may sound stupid! As far as I see, in machine learning tasks, a common approach is to generate a bunch of featu...
Where does the delta method's name come from? I don't see anything related to "$\epsilon$-$\delta$", nor Dirac delta for example.
I'm trying to build a model based on some training set. The training set contains 1460 observations, with 79 variables each (features). I'm using linear regression to build a model and after that building a step-regression model (forward selection algorithm), and still getting large value for RMSE. I'm very new to data...
Residuals vs. Fitted Values plot Can someone tell me which OLS assumptions might be violated according to the figure and why? Moreover, what are the consequences for the point estimators and the standard errors?
I have been reading some resources and various techniques have been used to standardize the predictors in a regression model. Below, the first two are common approaches as far as I understand. The third one does not seem to be that common. (1) Centering the variables by subtracting the mean (2) Converting to zscore by...
Let's say I have data at the country-year level -- say, on Gross Domestic Product (GDP) and capital stock (K). I'd like to know the relationship between the two, So I regress GDP_it on K_it and other stuff, and come out with a coefficient that measures the relationship. But, I have reason to believe there's variation ...
I have a very basic question. In a linear regression model, we basically find the linear line by minimizing the error terms. Then, due to check for the homoskedasticity visually, we plot independent variable vs random part. And, we look for any change in variance of error term with respect to the independent variabl...
I’m trying to identify the 95% confidence interval of either the mean or the median of non-normal data generated through Monte Carlo simulations using R. I’ve already applied both the bootstrapping method as well as the Wilcoxon signed rank test as suggested on the following thread: How do I calculate confidence interv...
I am slightly familiar with how to estimate the parameters in a linear Kalman Filter, by using maximum likelihood. Do we do the same for the extended Kalman Filter? In particular, I am confused as to how to set up the log likelihood equation. the general expression that I have seen so far involves some integrals, and i...
Assume $X_1,X_2,...,X_n$ is a random sample of size $n$ with distribution $EXP\sim(\beta, \mu)$, find the method of moments estimator, $\tilde{\mu}_{mm}$ of $\mu$ I am confused as to what exactly I'm trying to find. So first I have: $\mu_1=E[X]=\mu+\beta$ and then I have $\mu_2=E[X^2]=VAR[X]+E[X]^2=\beta^2+(\mu+...
I'm at a loss as how to proceed on this problem. If I conclude true, don't I want the $43/80$ to be IN the CI. Since this is saying the conclusion was NOT true, wouldn't I want the percentage to be outside the CI? Need some guidance here.
From a Spanish deck of 40 cards (4 suits - gold, clubs, swords or cups), one card is taken from a shuffled deck: If gold or cup appears, 2 coins are thrown; If sword appears, 1 coin is thrown; If club appears, no coins are thrown. Coins can come up either on the "face" side or the "number" side. What is the proba...
I am using lavaan to analyse customer survey data. There are several questions in the survey data, which can be factored into categories (e.g. friendliness, efficiency) etc. There is an overall satisfaction score, so cfa or sem can be used nicely. My problem lies in constructing a feature table from the responses, give...
If in a binomial distribution, the Bernoulli trials are independent and have different success probabilities, then it is called Poisson Binomial Distribution. Such a question has been previously answered here and here. How can I do a similar analysis in the case of a multinomial distribution? For instance, if a $k$-sid...
I do not understand the role of weights in "weighted Poisson regression". What exactly is being weighted? Is it the contribution of the observation to the log-likelihood of the model, or something else? In the following two popular threads, Where does the offset go in Poisson/negative binomial regression? When to use ...
While reading the following paper on Bregman Divergence (link) Banerjee, Arindam, et al. "Clustering with Bregman divergences." Journal of machine learning research 6.Oct (2005): 1705-1749. In section 4 (pg 1720) the authors mention It has been observed in the literature that exponential families and Bregman diverge...
I am doing a study understanding impact of vehicle registration fee on vehicle miles travelled. I am using linear regression and figured out that log transformation of dependent variable and some of the control variables improves the R2 and reduces standard error. I have a few control variables that are in percentages ...
With a training set of size $N$, let $L_i(\theta)$ denote the loss of the $i^\text{th}$ training example when the model has parameters $\theta$. Then the training loss $L(\theta)$ is equal to the mean of all the $L_i(\theta)$: $$ L(\theta) = \frac{1}{N}\sum_{i=1}^N L_i(\theta) \\ \frac{\partial L}{\partial \theta} = \f...
I'm using cobs to do some interpolation. I want to impose concavity, monotonicity, and some boundary constraints on the interpolated function. This has been working quite well in general, but for some sets of points, it fails. Here's the sample data causing me issues: x = c(8, 9, 15, 8, 2, 8, 14, 20, 8, 8, 3, 1, 1, 17,...
Suppose that $X$ follows a distribution with p.d.f. given by \begin{equation} f(x;\theta)=\dfrac{2xe^{-(x/\theta)^2}}{\theta^2} \end{equation} for $x>0$ Assume that $X_1,X_2,...,X_n$ is a random sample of size $n$ from the distribution. Find the maximum likelihood estimator, $\tilde{\theta}_{ML}$, of $\theta$ I'm hav...
This is what i know about symmetric distributions: The distribution of rv (random variable) $X$ is symmetric about $a$ iff $$ P ( X \le a - x ) = P ( X \ge a + x ) \qquad \forall x \in \mathbb{R} $$ I just want to confirm ,.,is this " iff " correct ? i mean it is clear to me that if $x$ is symmetric about $a$ it wil...
Is there a tool to visualise neural networks similar to how TensorFlow playground does it? It is a custom tool for beginners, but I was wondering if there's a similar tool. It shows you what effect each neuron has on the model, the weights of each neuron, and you can see the information passing through in a feed-forwar...
Given $Y = aX_1 + bX_2^2$, where $(X_1, X_2)$~Normal (zero vector, Identity matrix). What is the distribution of $Y$? $a,b$ are constants.
I have a 1 dimensional dataset and I use the boxplot function to make a box plot. Then I can see that I have some outliers. Do the outliers count when the quantiles are being determined? Is there a right/wrong way or are both ways correct as long as we are clear about which method has been used? If so, how does R do it...
I'm searching for good and accessible references (books, courses or papers) on Bayesian asymptotic theory. Possibly put in perspective with frequentist asymptotics. Any suggestions?
Does feature selection help improve the performance of machine learning? For example, suppose I have a n>>p data set, does it help to select important variable before fitting a XGBoost model?
I am trying to estimate the effect of Universal Primary Education programs on domestic violence in a sample of Sub-Saharan countries. This program has been implemented in a different year in each country (e.g. 1994 in Malawi, 2001 in Tanzania and so on). Thus I am wondering which experimental design is better for this ...
I would like to run a factor analysis in lavaan with a factor having only one manifest indicator. My problem is that I don't know the correct syntax for the model specification. What I already do know is that (1) I can set the item-factor loading on the single-indicator-factor to 1 or (2) I have to specify an estimate ...
In what way does the curse of dimensionality affect the predictions? I know that as the number of predictors increases the observations that are geometrically near decrease, so we have to spread out more to capture the nearest neighbours. So my question is , in what other ways, than being computationally expensive , do...
I have a table with 1 000 projects from past. Each has approxiametly 150 attributes (e.g. project manager, initial year of project, team members, budget, investors in project (yes or no) and a lots of other, place of project, ..). Some attributes for some projects are missing and there is just "no available" info. Each...
I came across the paper of M. C. Jones on smooth quantile estimation (link). He proposes using the following estimator for quantile function $Q$ around point $p$: $$ \hat{Q}(p) = \sum_{i=1}^{n} X_{(i)}\int_{(i-1)/n}^{i/n} h^{-1} K\left(\frac{p-y}{h}\right)dy, $$ where $X_{(i)}$ is the ordered sample, $h$ is the smoothi...
I have data that is highly positively skewed, and I want to train a SVM (LibSVM) Classifier on the data with 3 classes... my question is, does skewness and/or curtosis affect performance of a SVM classifier? or is it invariant to those statistic measurements? and which other classifiers are invariant of statistical me...
I have two categorical variables: Football fans (1 to 5) Happiness (1 to 5) I want to test if these are collinear variables and I have a table like this: Football Fan 1 2 3 4 5 Happiness 1 25 2 0 0 0 2 2 40 0 0 0 3 1 5 3 0 0 ...
I created a multi task network with keras. Because different tasks have different level of difficulties, for some tasks overfitting occurs earlier than others so they should be stopped. I know keras has early stopping callback to do this but, when I use something like below whole network will be stopped. here is my cod...
My data contains some skewed features, and also the response variable (sale price) is also skewed. Log transforming all relevant features and the response variable is good enough and 'fixes' the skew. Questions are: Should I indeed also log-transform my response variable? After building my model using the log-transfor...
the survey is for different online payment methods from which replies for which different methods they are satisfied, not satisfied , can't say.which test is to be done in this question.
I have read in many places that power in survival analysis depends on the number of events rather than the total number of observations (events + non-events). Suppose I have 10 events and 90 non-events and I want to test for survival differences between two groups: High Risk and Low Risk as classified by a diagnostic t...
" The fundamental difference between bagging and random forest is that in Random forests, only a subset of features are selected at random out of the total and the best split feature from the subset is used to split each node in a tree, unlike in bagging where all features are considered for splitting a node." Does tha...
I am estimating a VECM to test the causal relationship between financial development using panel data. I have four endogenous variables (GDP, 2x financial development and CPI). I am using EViews 9. The steps I have followed are as follows (please correct me if something is not correct): Unit Root Tests = all I(1) Unre...
I think I have a pretty basic question, but I am not sure what the right thing to do is. Performing logistic regression confirms the obvious interaction seen in the raw data (see below). How should I follow up on this for a final report? Can you look at the data and decide to only do one test for gt on div14, and one...
I am confused regarding the connection between coefficients and the predicted values of the linear predictor in Cox model with two factors and their interaction I ran the code below. I believe that with an interaction the main effects for 4 levels celltype are those at the reference level of 2 level trt and as I show...
For an assignment I have to calculate the marginal effect of 'age' by hand. But I am dealing with a logit model, which makes it difficult for me. I have 4 variables, which are age, education, income and the price of cigarettes. The dependent variable is a dummy variable that indicates whether someone is a smoker, yes o...
I'm reading some paper about external cluster validation with the terminology "adjusted for chance" like (https://arxiv.org/abs/1510.07786 and www.jmlr.org/papers/volume17/15-627/15-627.pdf) that I could not fully understand. So far, I think it is related to the expected value that introduces a certain change for sever...
i asked a similar question yesterday , i think my way was not proper ,i received vague and confusing answers, so i asked it again clearly specifying what i actually want to ask This is what i found about symmetric distributions, written in notes that i have : The distribution of rv (random variable) $X$ is symmetric a...
I have a dataset where we sampled the number of aphids on twelve "pairs" of plants in each of 6 different fields. The pairs in each field represented a plant infected with a pathogen, and an adjacent uninfected plant (< 10 cm away). Thus, there were a total of 72 "pairs" across the 6 fields. These pairs were separated ...
I have a fundamental question regarding standardization: Say, I have predictor vector aand b (a is temperature and b is rainfall) so they are on different scale. I want to regress y using linear and quadratic function of a and b. I can do this as following: Method 1: lm(y ~ a + I(a^2) + b + I(b^2)) Method 2: a2<-a...
Hi I m the student of Msc statistics and I find it really tough to clear concepts regarding modelling, distributions ,inference etc. Can anyone recommend some best books in all these subjects which are totally conceptual and containing practicals based on real life..
I have time series of events. I observe that variance of inter-events intervals increases over the time. Is it possible to detrend my time series? Update: Example of data is here. It is times when I observe event. Inter-events intervals are depicted below: Just now I have the following solution: 1) I transform interv...
Why the distribution $1/(n+1), ..., n/(n+1)$ is used in quantile-quantile plot? Where has this come from?
I have a feature vector of 275 features which determine 1 of 10 classes. What is the best way to visualize this data? I know I could do 275 scatter plots like this But that is less than ideal. Is there some more concise way to visualize the data, and get a feel for what correlations might exist visually?
Why is the probability of flipping half or more heads out of 5 coins, == 1/2, instead of 1/8? Shouldn't P(>=3 heads | 5 coin flips)== 1/2 * 1/2 * 1/2 for the conditional prob of getting a new head after the previous flip yielded heads? Is it because this doesn't take into account all the potential combinations? If so,...
Say we have a classification problem with $k$ classes, an $N\times p$ matrix $X$ whose rows are predictors and an $N\times k$ indicator response matrix $Y$. The problem is to show that LDA on $X(X^TX)^{-1}X^TY$ is equivalent to LDA on $X$. Algebraically this is trivial if $(X^TX)^{-1}X^TY$ is square and invertible, but...
I am trying to analyze effect of temperature lag on power demand. I have half hourly power demand & half hourly average temperature data for past 4 years. Power demand does not rise immediately with temperature rise. It take some time lag to rise. So I want to analyze effect of temperature lag on power demand. (Means...
I am attempting a 2-way ANOVA with repeated measures using the aov() function in R. I am trying to compare average heights ("X1" and "X2") of algae by treatment ("CODE") and site over time ("MONTH"). The data I entered into R is already averaged. Therefore each row = one observation per treatment, per code, per month (...
Let's say I have 1d data generated using linear function, and heteroscedastic noise on top of it, whose distribution I happen to know. I can estimate parameters using least squares linear regression with uniform weights, or with weights derived from the distribution of the noise. I guess in the latter case I should be ...
Hello CV World, my first time as OP, a little nervous here :P I'm looking for some statistical advice on the following problem. I speak python and R. I have two sets of data. These are matrices of the form: samples as rows, features as columns. They are supposed to represent data on the same entities (samples). All va...
Say there is a Poisson arrival process with rate lambda. The realization of that process is a sequence $X$. Denote $x_t$ as the element of $X$ at time $t$. Suppose I specify the following rule to select a subset $Y$ of that sequence: From $t=1$ to $t=\infty$, for each $x_t$ I draw a random value from a uniform distribu...
Let $X_{(1)}\leq X_{(2)}$ be the order statistics for a random sample of size $2$ from a normal distribution with mean $\mu$ and variance $\sigma ^{2}$. Evaluate $\operatorname{E}(X_{(1)})$, $\operatorname{E}(X_{(2)})$, $\operatorname{Var}(X_{(1)})$, $\operatorname{Var}(X_{(2)})$ and $\operatorname{Cov}(X_{(1)},X_{(2)...
Consider the following multiplicative model: $$ y_t = \alpha y_{t-1} \epsilon_t,\qquad \text{ln}(\epsilon_t) \sim NID(0,\sigma^2)$$ In order to find the logarithmic transformation of the parameter $\alpha$, I did the following passages: \begin{align} \ln(y_t) &= \ln(\alpha) + \ln(y_{t-1}) + \ln(\epsilon_t) \\[5pt] S...
I have a dataset of house prices from 2000 to 2016 from several U.S.A. cities. From this I want to predict the price of similar houses at the current date, is this better addressed as a regression problem or as a time series problem. An important point is that the data I have till now is rather sparse, just few thousan...
I encountered an analysis in which the analyst claims to have regressed ordinal values for bond ratings assign on a scale of 1 to 21 with 1 representing the highest rated bonds and 21 representing the lowest rating bonds with rates of return for the companies for which the bond ratings have been published. Assuming ra...
I've been trying to identify an optimal random forest model (regressor) by constructing a series of models each with different variable composition. After several experiments, i've noticed something that I couldn’t explain. One model with independent variables A, B, C, D, E gave me an OOB score of 70%, with variable D ...
Jerkrate is how many lunges (feeding attempts) a whale make along time based on a sudden change in acceleration (jerk). The distribution of jerk rate is negative bimodal. I was forced to use gaussian in the following model but I am violating the assumptions because is not the correct distribution. How can I make the mo...
I want to run a logistic regression using lasso/ridge regularization for a dataset which has 4500 observations. The number of 1s in the data are 802(18%). I have ~500 predictors of which most of them are dummy (1 or 0). I am unsure how to segment the data for training, validating and testing of my model since the numbe...
I wrote a model to look at the effect of species + treatment on swimming speed in copepods. I had a bunch of videos and pulled the average swimming speed from each video. Here's a barplot of the data. > model <- lm(log(Avg_Speed) ~ Species + Treatment + Species:Treatment, + data = total) > summary(model)...
I was going through my time series text and I found a curious identity that the book just says is true without actually going in depth to prove it. I am unable to figure out how this works, so I would appreciate pointers. The theorem states: "Let {$Y_t$} be a stationary process w/ mean 0 and a covariance function $\gam...
Say I have a slow MCMC program that samples from my model's posterior distribution. Assume further that there is no problem submitting this program as a job to a computer cluster multiple times. Each submission generates an independent realization of the Markov Chain of length $M$. Say for each job $j$, I can also calc...
The exercise says: There are 35 women and 45 men in a school. From this population are selected first 10 students and after a second selection, a final group of 6 students is determined. What is the probability that in this last group there are at least 5 women? At first I would say that it is hypergeometric, but it ha...
I have two multivariate data sets, one is simulated, and I want a test to compare how similar their distributions are. The data set is discrete and the distribution is unknown. In other words, I am looking for an alternative for KS, AD or similar univariate statistical tests that cab be applied for multivariate data. ...
I ran a regression analysis to predict performance on an exam, calculated residuals and took an average and sum of the residuals and the result was ~ -0.011 (for average) and -2.34 for the sum of residuals. This was when the calculation was done on Excel. Using SPSS, when I requested for residuals to be saved while r...
Suppose I have a series of events, each of which is an element of {-1, 0 1} with a known distribution. Events happen in approximately continuous time. My dependent variable is the sum of the series. The series appears to be a random walk, perhaps with drift. However, an angel has appeared to me in a dream, or maybe the...
I have a scatterplot and wish to know what the variance of the scatter along the $x$-axis. To illustrate with an example, the second column of plots correspond to points with increasing scatter in the $y$ direction as $x$ increases: I am wondering what sensible ways are there to calculate the variance along all points...
Considering the LOESS fitting done with the following R code: x<-c(1:20) y<-rnorm(20,10,5) l_model<-loess(y~x,span = 0.5) plot(x,y,pch=20,cex=0.5) lines(x,l_model$fitted,col='red',lwd=2) My question is, can I extract the equation (y~x) of this curve? How to do it with R?
How do we interpret the effect of an experimental treatment on a principal component dimension, constructed from multiple outcomes in the experiment? Can this be interpreted substantively? What do we learn about the effect of treatment if it "causes" a principal component to decrease by 0.5? The specific situation I am...
I am asked to show ergodicity of the mean of an AR(1) whose regression coefficient is less than one in absolute value. Which is to say I am asked to show that $$Y_t = ρY_{t-1} + ε_t$$ is ergodic to the mean when $$|ρ| < 1$$ I know that the process is stationary when ρ is less than one in absolute value but I do not kn...
I'm reading about Dirichlet Process Models in "Bayesian Data Analysis" by Gelman et. al. To motivate the idea, they start with a section on Bayesian histograms. I am a little confused about their discussion. I'm sure it's obvious to the initiated, but alas, I'm uninitiated. I just want to verify that I understand ...
This problem was part of an assignment in my undergrad stats class. Suppose Steph Curry takes ten 3-point shots per game, and the number of 3-point shots scored follows a $\sim(10, )$ distribution, where is the probability of successfully scoring a 3-point shot. [Note: in basketball a 3-point shot is one taken from be...
I think outcome is a type of event. When event is elementary then we can also call it outcome. So, essentially both the terms should mean the same. But I would like to have views from somoeone to either confirm or correct my understanding.
I am not entirely sure whether this would be better posted in Stack Overflow, or maths.se, however as it is about model fitting I thought I would try here first. The Skellam distribution $\operatorname{Skel}(\mu_1, \mu_2)$ is the distribution of the difference between two independent Poisson random variables with mean ...