instruction
stringlengths
9
38.7k
To test the adequacy of the $m$ common factor model, the null hypothesis is $H_0: \Sigma = LL'+\Psi$, where $\Sigma_{p\times p}$, $L_{p\times m}$ is the loading factors matrix, and $\Psi_{p\times p}$ is a diagonal matrix with variances of the specific factors in the main diagonal. When using the MLR statistic, under $H...
Background A colleague of mine is conducting a meta-analysis for which he has available the “raw” mean differences for each study along with the sample sizes. The differences are between-subjects effects, comparing older and younger populations in terms of memory performance as measured by d’ in either population (this...
I was reading about the Principal Component Analysis algorithm. I don't understand why, in order to do dimensionality reduction, we create the covariance matrix and then we extract its eigenvectors. Compute "covariance matrix": $$ \Sigma = \frac 1 m \sum_{i=1}^n(x^{(i)})(x^{i)})^T $$ Compute "eigenvectors" of m...
I am trying to understand gradient descent algorithm by plotting the error vs value of parameters in the function. What would be an example of a simple function of the form y = f(x) with just just one input variable x and two parameters w1 and w2 such that its loss function has multiple minima? What i am trying to achi...
Can a difference-in-difference test be used with Inverse probability weighting. Please see my code below psmatch2 treatment covariate1 covariate2 covariate3 gen ipw=1/_pscore if treatment==1 replace ipw=1/(1-_pscore) if treatment==0 reg roa treatment post treatmentxpost i.year .industryyear i.countryyear, vce(cluste...
In normal neural network, in the first layer we have data, random weights and bias term. This then pass through hidden layer, then out output layer, we then calculate the error, and finally based on error we again update the weights. This looping is done continuously till we get satisfactory error rate. But in CNN, we ...
I have a dependent variable that is a percentage. I initially wanted to do a linear regression, but then realized that the outcome is not bounded between 0 and 1. My teacher suggested to transform my metric dependent variable into a dichotomous variable in order to do a logistic regression. But I can't find any instr...
I'm in the process of working through Exercises in EM. I am having trouble understanding the first exercise. In particular, I am struggling with deriving the conditional expected value (2) and (3). In both equations, there appear to be a logistic function. How was this obtained? In (1), I see how this the log-likeliho...
I am working on my class project for machine learning, for a smaller part of my project I am fitting a sklearn.ensemble.RandomForestRegressor to my data over a range of n_estimators and max_features and plotting the resulting out of box error versus n_estimators for each value of max_features. I noticed that RandomFore...
I am trying to analyse this data, in order to try to estimate the percentage of tickets that can be sold for an event (events, based on venue will have different capacity). I have two covariates which are artistRating and artistVotes, and two factor variables paintingTitle and artistName with 1059 and 286 levels respec...
$Y = \Sigma^{-1/2}(X-\mu )$ with $\Sigma$ being the covariance matrix and $\mu$ the sample mean. What is the intuition behind this calculation? What kind of result does it yield? This calculation is used in various estimates for multivariate Skewness.
I have searched internet for interpretation and derivation of Gain Curve, but I found confusing and superficial answers. Could you explain what is exactly gain curve, what is x-axis, y-axis, what is the interpretation etc.?
I suspect that if there are many unimportant outliers, trimmed k-mean clustering should be employed. Am I on the right track?
Say you have a response $y$ which, over time, clearly goes in some direction. Up, maybe. Now, you have to pick some predictors in a regression equation $y \sim x$. Obviously you can take a look at plots and judge what predictor would work the best. If, for example, there's a lot of clustering despite an upwards trend,...
I was just wondering when it is appropriate to use particular time series trend removal methods, specifically first differences and link relatives methods. I have two time series as given here: I then took the cumulative sum of each series, which now yields two new time series as follows: It is clear that these two...
Hi I'm currently trying to implement Adaboost algorithm. I have implemented the weak classifier using decision tree (instead of using the fit function provided by sklearn). However, I had a tough time applying the weights on the data points to the tree building process. I have a tuition that the weights would have to b...
Suppose I have a time series of daily resolution for the year 2000. This dataset details different climate variables from humidity, precipitation, temperature, etc. I would like to check for the missingness mechanism of this. But before I do that, something concerns me. There are blocks of rows that have missing data, ...
Suppose that I am looking at data from an N = 32, within-subjects study. There are three IVs - CL, PL, CPL - with two ordinal levels each (0 and 1). Every subject undergoes each of the 8 configurations of IVs exactly once. During each configuration of (CL, PL, CPL), two dependent variables, A and Z, are measured four ...
I am learning the prediction algorithm, Kernel Regularized Least Squares (KRLS). The predicted values are listed in the follows: $$\hat{y} = K((K + 1 \times I)^{-1}y)$$ For example, I have 100 samples, the independent matrix $X \in R^{m \times n}$, and the corresponding dependent variable $y \in R^{m \times 1}$, where ...
I have over 1800 spins on a roulette wheel and the theoretical probability of number of winning spins based on the number of numbers bet is .4957, but the experimental probability is actually .5358 (based on a strategy I have been working on). How do I calculate if the results are luck or does my strategy work?
In Deep Learning (Goodfellow, et al), the optimization objective of PCA is formulated as $D^* = \arg\min_D ||X - XDD^T||_F^2, s.t. D^T D=I$ The book gives the proof of the 1-dimension case, i.e. $\arg\min_{d} || X - X dd^T||_F^2, s.t. d^T d = 1 $ equals the eigenvector of $X^TX$ with the largest eigenvalue. And the ...
I've done a presentation recently where I'll be using a binary logistic regression. However, one of the audience said that I should be using a conditional logistic regression. Can anyone tell me whats the difference? I thought it is the same.
I have some ten to 100 thousand observations on each of around 500 entities. I have good reason to believe that these observations all mutually influence one another, in possibly complicated ways, or perhaps are driven by shared hidden variables. I would like to estimate these interrelationships, initially imposing min...
What does it exactly mean by linearity in parameters in the assumptions for classical linear regression model and Gauss-Markov theorem? My understanding is: y = b0 + b1 x + e - Linear in parameters y = b3 + b4^2 x + e - Non-linear in parameters => Can it be re-written like y = b3 + b5 x + e where b5 = b4^2 In case 2,...
variance of estimator $\quad\cdots\quad$ I believe this is $\quad \text{Var}(\bar{y})$ estimated variance $\quad\cdots\quad$ I believe this is $\quad \widehat{\text{Var}}(\bar{y})$ estimated variance of estimator...no clue
My task is to compare the returns of two investment strategies using historical quarterly returns calculated from S&P 500 Index data. Example: If I chose 10 year horizon of an investment, then for strategy A I have a time series of returns 1930q1-1940q1, 1930q2-1940q2 ... 2005q1-2015q1, and the same for strategy B. So ...
I have been trying to understand how this interpretation works. For this I have used the article "Interpreting the Parameters of Loglinear Models" from Alba, but I am really stuck. I his article he derives the logit equations for a polytomous dependent variable (Intermarriage). So fa so good. The coefficients obtaine...
(moved this question from Stackoverflow) I am using the matlab function for the Johansen test jcitest to estimate a VECM. As far as I understood, the output corresponding to the cointegration vector here is the B stored in paramVals in mles, while the intercept is c0: A(B´yt−1+c0) When using the function egcitest for ...
You believe that the mean electricity usage is about twice as much for houses as for apartments or condominiums, and that the standard deviation is proportional to the mean so that S1 = 2S2 = 2S3. How would you allocate a stratified sample of 900 observations if you wanted to estimate the mean electricity consumption f...
I'm working with a time series of macroeconomic data (independent variables) and bank loss rates (dependent variable) to show how bank losses vary based on the state of the economy. What I'm doing is two-fold: I need to identify the most predictive economic indicators for my model and then I need to regress those varia...
I am using OLS to predict price for a data set of cars. I have the following categorical features: ['ModelYear', 'Province', 'BodyType', 'Year', 'Month','TransmissionType', 'CarFuelType'] and only one non-categorical feature: ['Milage'] When I use OLS for the entire data set, I get the following results: Test r^2 s...
I am trying to construct a regression model which the value would be the ranking of the products. There is 9 total in ranks, where 1 means the top 1.I am wondering which model should I use. Thank you so much!
Imagine we have a linear regression model with dependent variable $y$. We find its $R^2_y$. Now, we do another regression, but this time on $\log(y)$, and similarly find its $R^2_{\log(y)}$. I've been told that I can't compare both $R^2$ to see which model is better suited. Why is that? The reason given to me was that ...
I have time series (daily readings), which can trend downwards. I would like to introduce a dichotomous dummy variable that indicates when the time series contains a trough (dummy=1) or not (dummy=0). A trough occurs if the current time series is n% (e.g. 80%) below past values but future values go up again to 100% rel...
In a tutorial on SVM by Andrew N.G http://cs229.stanford.edu/notes/cs229-notes3.pdf, on page 6,7 he has explained SVM in connection to functional margins and then has replaced it by 1 reasoning that W can be rescaled appropriately. But then in the final formulation there is nothing that talks about scaling of W, so whe...
I am trying to fit GARCH(1,1) with different specifications using rugarch package in R. I study on two models: model 1 : $\sigma$2t =$\omega$ +$\beta\sigma$2t-1 +$\alpha$r2t-1 model 2 : $\sigma$2t =$\omega$ +$\beta\sigma$2t-1 +$\theta$xt-1 Two models above volatility models with different specifications where rt denot...
I need to know if I gave a GARCH model the returns of prices, how could I get the forecasts for the returns not the volatility in case of using GARCH without ARIMA (because in the equation of GARCH model there is an error term which is random)? But in some papers the GARCH is used for forecasting the return not the sig...
Is it good idea to create empirical distribution of stock returns and make function of its density (using density() in R)? Then I can integrate it and have probability of value less than assumed. Another aproach is to model distribution using normal distribution but as we know stock returns are not normal distributed. ...
I need to understand why does the summary output of aov() in R vary when the order of independent variable changes. Like for example: summary(aov(y~A+B, data)) is different from summary(aov(y~B+A,data)).
Say I have a time variable $t$ and I want to use it to model temporal autocorrelation: observations closer to each other in time, should be more correlated. So, ALL I know is that we can plot the ACF, and then try an AR-correlation structure. However, for SPATIAL autocorrelation, there's all kinds of other structures a...
I was wondering, how are hilbert spaces and functional analysis useful to machine learning? I thought machine learning was a mix of statistics, computer science and optimization. How does functional analysis relate to that?
Is it right that elements of both samples and sample space are called `outcomes'? Is it right that a sample is an array of outcomes? What is an outcome of an experiment: a sample, event or outcome? I do not understand why (1,1) is an outcome but "sum of two dice is 7" is an event. Why I cannot say that "sum of dice...
Mathematically, is it possible to do distributed optimization using Adam or AdaGrad algorithms? I ask this because in Adam or AdaGrad updates, it is not obvious to me that the mean of the updates is indeed the update evaluated on the mean gradient plus some noise. This is, consider the Adam iteration $$ \mathbf{x}_{t+1...
In this article by Terry Therneau 2016, to address time-varying effect, library(survival) Testing proportional hazard assumption: vfit <- coxph(Surv(time,status) ~ trt + prior + karno, data = veteran) zp <- cox.zph (vfit, transform=function(time) log(time+20) zp Extended Cox model addressing time-varying effect: v...
These are two QQ plots of my residuals after fitting a model, with the exact same structure, except that the first model used one distribution A, and the other uses distribution B (normal, vs gamma, actually). However, the global deviance of the A-model is less than the B-model, and using AIC, I get that A-model has ...
In the context of an experiment, I have eight groups (2x2x2 between subjects) and the n per group ranges between 23 and 29. My variable of interest is how many critical details (range from 0 to 5) are provided in a free report. Half of the groups have skew and kurtosis values that are within the range of what I have re...
I've been tasked with developing regression and classification models for time series data. For each observation I have a continuous target for regression and a discrete target for classification. I've fitted a LASSO model which works stupendously well. It has very low MAE and RMSE values, as well as low relative error...
I'm a complete stats newbie, but I got into a discussion on the following article about polling accuracy. The author looks through the historic accuracy of UK pollsters, then finds the average prediction is 6% off the final result. From there he extrapolates that: But if polls are missing election outcomes by 5 or 6 p...
I am trying to model and forecast the volatility of stock returns and I am not sure if what I am doing is correct. My issue is mostly with GARCH and its application. If I want to model the volatility of stock return, would fitting a GARCH to it be an appropriate method? I realize the model isn't going to be great, but ...
In the context of the portfolio allocation problem, i have calculated one step ahead volatility forecasts on a rolling window basis with DCC GARCH while re-estimating the parameters every 25th observation. I want to do the same using EWMA. The initial parameter that I used was 0.94 (for daily return data from riskmetri...
I want to build models to predict the number of car claims which follow a Poisson distribution (mean = 0.05). One model is a Poisson regression and another is a RandomForest and I want to compare the accuracy on a validation test. Questions: I heard that RMSE is inappropriate to measure the accuracy of a Poisson distr...
Quoting Weerahandi, Generalized Confidence Intervals (1993): Confidence interval (Property 1) --- Consider a particular situation of interval estimation of a parameter $\theta$. If the same experiment is repeated a large number of times to obtain new sets of observations, then the $95\%$-confidence intervals will corr...
The Poisson regression can be used to predict the expectation count. e.g: E(number of car | male = 1 & income = 40000) = 1.3 To get this, we can use the predict function in R, e.g: predict(poisson_model, data, type="response") Question: How can I get in R the probability of a specific income using the probability...
I'm writing a dynamical script which enables the user to select different scales to analyze their reliability. However, I want adress the overall reliability in some kind of global variable. Since the user might select multiple scales which are not related in any empirical or theoretical way, I'm considering just using...
I have a Control group with two replicate and two treated group with two replicate. I want to know how I can identify the sample that are significantly different between control and treated 1 (higher expression) while significant different between control and treated 2 (lower expression) This is an example data df<-st...
On this website, I found that one of the assumptions for nominal association measures tests (such as Cramer's V) is that "If a zero is present in the crosstabulation, no association can be assessed."(scroll to bottom to see assumptions in the above link). I thought at first that this meant that if there are "0" values ...
I am using the Chambers-Mallows-Stuck method for simulation of skewed stable random variables http://www.sciencedirect.com/science/article/pii/0167715295001131. There are two equations, one for $\alpha=1$ and one for leftover values of $\alpha$. I would expect that both equation will return similar output for similar v...
Let’s take for example a binary classification task To me it seems that both Deep Learning and Kernel based Methods seem to share the idea of not trying to learn a complex classification function directly in the Input Space but to first perform a mapping into a more convenient (in order to solve the task i.e. to optim...
I use extensively Gelman's bayesglm for the every day use due to the great stability of the estimates especially in the case of separation. Unfortunately I could not find an equivalent of empirical bayesian regularization for glm mixed effect models. These models are strongly influenced by extreme conditions (like cond...
If I have data generated from an underlying process like this one: $y = a + b x_1 + c x_2 + d x_1 x_2 + noise$ How would neural networks represent the interaction term between $x_1$ and $x_2$? Is there a special type of unit that can output (a linear combination of) the interactions between its inputs? Or does a networ...
My data is in the interval $(0,1)$. I am interested in regression using GAM or GAMLSS. The distribution should preferably be available in the packages mgcv or gamlss. However, so far, I have used the normal distribution*, normal after logit transformation, gamma*, and beta distribution (* means that the support of th...
It is known that sample variance and sample mean are independent for normally distributed variables, which means knowing sample mean does not say anything about to estimate the variance of the underlying distribution. However, intuitively range of a sample (max of sample-min of sample) should say something about the va...
In logistic regression with binary outcomes $y_{i},...y_{n}$, the hat matrix is $$H = \hat{V}^{1/2}X(X^{T}\hat{V}X)^{-1}X^{T}\hat{V}^{1/2}$$ where $\hat{V}$ is diagonal matrix with $n_{n}\hat{\pi}_{n}(1-\hat{\pi}_{n})$ and the diagonal elements of the hat matrix are $h_{ii} = n_{i}\hat{\pi}_{i}(1-\hat{\pi}_{n})x^{T}_{...
After trying to do som e cross validation i got some models that fitted the data fairly good but predicted them horribly (eg. fitted = [10001.543,10034.324,104023.23..], true value = [10001,543,10034,104023] and predicted = [10.22,9.44,11.323...]) For you who is a bit more experienced than i am, How can it be possible ...
I'm working with credit scoring models. Here's what I know: Let Y be the binary outcome variable, $Y \in \{0,1\}$ where $Y = 1$ is the outcome of default and $X = (X_{1},...,X_{m})$ be the random vector of predictor variables. A credit score $\text{s}(\textbf{x})$ can be represented as a linear combination of coefficie...
I have data like "5 people each completed 1 task in session 1, 4 people completed 2 tasks, 4 people completed 10 tasks, 1 person did 20." etc, and I want to visualize these. Histograms aren't really conveying the quantity of tasks completed, as the larger numbers (say 20 task) have a small number of people. What chart ...
Throughout many of my statistics classes, I've had my professors attempt to explain big "O" (oh) and little "o" notation (especially as it involves convergence, the central limit theorem, and the delta method). However, none of them have done a very good job at explaining this and they tend to wave their hand at it as...
I wish to better understand the details of ARIMA models and how to interpret ACF and PACF graphs in determining what type of ARIMA model to use. From my studies so far, I understand that there are three parts to the model, the AR, I and MA. In order to predict future values from the time series there are a number of ...
I have used GAMLSS to fit a zero-inflated model. However, when I then turn around and FIT that model, it produces absolutely no zeroes at all (even though the data used to fit the model is about 40 % zeroes). What's going on here?
Problem: You're collecting exotic oysters, and there are two different bays from which you could harvest oysters. • In both bays, 11% of the oysters contain valuable pearls and 89% are empty. • In the first bay, 4% of the pearl-containing oysters are blue, and 8% of the non-pearl-containing oysters are blue. ...
I'm looking to build a model that predicts the users who are most likely to re-engage in a service they have previously used. I'm noting there are at least two ways to build this and I'm having trouble deciding which, if any, is the right approach. Overview of problem: Users will use a given service several times over...
I am trying to understand how the gam package in R generates the partial residuals plots, so I tried to create one from scratch to compare to the one generated by plot.gam(), but they don't match. I wanted to try as simple an example as possible, so I am only using one variable, $lstat$, as a predictor of $medv$, in th...
Can someone help me to prove the equivalence between $v^{H}W v = 0$ and $W v=0$, where $W$ is positive-semidefinite? I can finish the part: $W v=0 \rightarrow v^HWv = 0$. But the inverse part: $v^HWv = 0 \rightarrow Wv=0$, I cannot find ways to prove. Can anyone help me to show the inverse part?
First, I do this library(gamlss) simnorm <- rnorm(1000, 0.5,0.1) simzero <- rep(0,1000) x <- sample(c(simnorm,simzero),1000, replace = TRUE) which gives me data in the $[0,1)$ interval. Then, I wish to fit a zero-inflated beta distribution. This is incorporated in the gamlss package, so one can go ahead and do this:...
I'm using the CBPS package in R to calculate covariate balancing propensity scores following Imai and Ratkovic 2014. However, I'm a bit confused. The scores that I get from the CBPS package -- are those both weights and propensity scores or just weights? Do I use those scores to weight my covariates only or do I match ...
I'm working on a project to classify 30 second samples of audio from 5 different genres (rock, electronic, rap, country, jazz). My dataset consists of 600 songs, where the features are a 1D array of mfccs for each song and the labels are the genres. The first 1/5th of the feature array is rock, the 2nd 1/5th is electro...
So suppose I regressed y on x1 and x2 (where x2 is a factor variable with values 0 and 1). And I wish to obtain confidence interval for the ratio of estimated y's for different x2 values for the same value of x1. So my point estimate would be = (slope(x2) * 1 + intercept + slope(x1) * mean(x1)) / (intercept + slope(x1...
I have an experimental setup where pairs of birds are producing offspring in different treatments. I'm trying to model the total number of offspring that hatched per total number of eggs that were laid (hatching success), which is a proportion, i.e. #Hatchlings/#EggsLaid. I have zero-inflation in the data. What are yo...
I used several time series as features (3 features as input) into LSTM model (1 output on regression) on TF 1.1.0. The main function started a session as below: model = SKCompat(learn.Estimator(model_fn=lstm_model, model_dir=LOG_DIR, params={'learning_rate': Learning_rate})) model.fit(train...
Currently, I designed a neural network with one hidden layer, with cross entropy cost function and softmax activation function to predict the outcome of a tennis game. The input is a matrix, where each row is a training data, each column is a variable. These features are having very different units. For numerical, we ...
There are many machine learning algorithms to generate music, like Magenta and GRUV. I want to know if it is possible to create algorithms like these but for generating styles for webpages.
I've been exploring techniques to deal with outliers that may apply to my machine learning use case and have stumbled upon this short video from Udacity. In summary: Train your machine learning model. Remove X% of points with largest residual error. Re-train model. It seems as though it could apply to my use case, bu...
The test hypothesis is this: Does a student’s gender have a greater influence on their choice in whether they study data science as a core topic; than other demographic/variable factors? The sample is of a population with 39 students in the class,and the other demographic/variable factors are: nationality (Austr...
Define $X$ as the random variable of interest. We observe a sequence of $T$ realized values for $x$, $x_{1},x_{2},\ldots, x_{T}$. The sample mean is \begin{equation*} m=\hat\mu = \frac{1}{T}\sum_{i=1}^{T}x_{i} \end{equation*} The sample variance is defined as \begin{equation*} s^{2}=\hat\sigma^{2} = \frac{1}{T-1}\su...
I want to perform a non parametric test (Mann-Whitney) for my experiments that is briefly quantification of viral load (Real Time Polymerase chain reaction). My final result is the amount of RNA copies per microliter (i.e. 1e10 copies per microliter). I log transform these values in order to better represent the data ...
For inverse transform sampling, if you know the CDF of a probability distribution ($f_X$) that you want to sample, you can generate a uniform realization ($U$) from [0,1], and then according to the sampling theorem, $CDF^{-1}(U) =f_X$ My question is that can you replace the $U$ (the sample comes from uniform distribu...
I've recently conducted a survey of 201 students and some staff at my College. I've read some discussion about using margin of error (MOE) for non-probability samples and one seemingly good point I've read is that: "The margin of error around a convenience sample is the margin of error around a similarly drawn conveni...
I do have a dependent variable with two distinct dimensions (factors). In total the dependent variable do have 10 items. The first 5 items belong to dimension 1 (as sub-dimension of the overal dependent variable) and the second 5 items belong to dimension 2. To clarify: Overall construct (10 items) ----First dimensio...
I'm trying to model this dataset using 1) msts and tbats traffic_ts <- msts(traffic_df$bits,seasonal.periods = c(24, 24*7)) tbats(traffic_ts) which seems to work but yields not-so-good forecasts..., and 2) auto.arima, with or without xreg Without xreg, auto.arima seems to "get lost in calculation", whereas with xreg t...
I have an observational study design with repeated measures on 27 patients with mean: 2.862 ± 1.36, median: 3 (IQR: 2 - 3) measurement per patient. I initially set up a mixed model analysis (R lme4::glmer()) but I noticed that many predictor had infinite or zero estimates, typical of separation problems (which indeed t...
I was looking at an example from Predictive Modeling Applications in Actuarial Science And, in one of the examples (below) -- he moves cars with 6, 7, 8 and 9 seats into the categorical variable 6+ -- why does he do that? # # Roll high values of seats (categorical variable) into a lower value idx <- dta$seats %in% c("6...
For my research I have asked the same binary question (yes/no) to the same sample five times under different conditions. So every subject goes through every treatment. I have used a McNemar Chi-Square to present the statistical differences. Now I would like to test variance and use regression. For variance between the...
I am currently working on CNNs and would like to create a Regression model. However I have a relatively small amount of new pictures so I was thinking about retraining. Is it possible to retrain a classification model and turn it into a regression model? I mean, is there a way to modify some layers at the end of the n...
I am studying Bishop's PRML book and trying to implement Gaussian Mixture Model from scratch in python. So I have prepared a synthetic dataset which is divided into 2 classes using the following code. from sklearn.datasets import make_blobs import numpy as np import matplotlib.pyplot as plt plt.title("Two blobs", fon...
I have a dataset with ~30k samples and 35 features (after feature selection; these seem to be the most important features for this dataset and they have low correlation between each other). After doing grid search with 10-fold CV on the hyperparameters, to my surprise I get the lowest validation error when colsample_by...
For tests such as chi square, the significance level is usually 0.05, but I've seen some people interpret p-values for Somers'd such as .000 as significant, displaying the results similar to this: (d= .603, p<.0005) So is the significance level for Somers'd .0005? If so, is this the same with other similar ordinal mea...
Suppose you have n broods followed up during x years. In each brood there are a varying number of sons and daughters that sum up to a varying number of offspring in each brood. You dispose of this information at the brood- and individual-level (individual refers to offspring): parQuality, a variable resembling the qua...
I know there is generalization of normal distribution of matrix-valued random variable, i.e., Matrix normal distribution. I wonder whether there is generalization of Dirichlet distribution that each row or column sums up one, and the rows or columns are not independent of each other. I have searched matrix Dirichlet Di...
I'm setting up a CNN that can handle differently-sized examples so long as all examples within the same batch are of the same size. As a trade-off for this flexibility, I need to fix the batch size. (Only one dimension of the tensor can be dynamic). In the current implementation, the training examples are split into le...
I have a question about what is the best way to estimate the amount of over dispersion in a Poisson model. I am unclear what to use as a measure for over/under dispersion as there seems to be a lack on consensus online. The Pearson Chi Squared statistic/Degrees of freedom or the Deviance Statistics/Degrees of freedom s...