instruction
stringlengths
9
38.7k
To say I'm new to statistics is an understatement- I've finally gotten a mixed model to work for me, but I'm unsure as to how I interpret the result. A little background: the data I'm analyzing is relative incidence of a disease in 6 cities from 2012-2016, with binary dummy variables representing whether an outbreak o...
I have what seems like it should be simple statistics problem. Given anthropometric data (height, weight, BMI, age, etc.), determine if a sample population has significantly different anthropomorphic characteristics than the larger population. The difficulty however lies in that this test must be done for a pediatric p...
While running my genetic algorithms I notice that they get stuck in local optima quite a bit. Genomes are often no more than 3 mutations away from getting a really big boost in fitness. However, when they only mutate once - they lose fitness. That's why they get stuck a lot. So I was thinking on implementing something ...
I want to use two basic rules of thumb for simple outlier detection/removal of a one dimensional dataset. I will apply both the 3 sigma rule and 3 * IQR. I understand that the 3 * IQR rule is more robust for asymmetrical distributions. I don't want to throw away too much data on a skewed dataset due to the 3 sigma rule...
This is my first time dipping my toes into the Cross Validated waters, so please go easy on this rookie both to CV and to Bayesian statistics. :) I have a dataset of 215,000 observations of two continuous numerical variables, just call them X and Y. Each observation contains a value for each variable, along with the n...
Say I have a poll of 100 people for an upcoming election, which is fairly representative of the population. 45 say they will vote for candidate A, 30 for candidate B, and 25 for candidate C. What is the probability for each of the candidates winning (to win a candidate must have more votes than the other candidates), u...
Is it okay to remove outliers by averaging the data set? Say we have a response $Y$ for every day, and $Y$ ITSELF is an average. Some days happen to give outlier responses. This makes analysis hard, but we do not really want to delete the outliers. So, can we "average" them out? For example, the data might be "average...
I currently have a continuous distribution that's described as a series of trapezoids in two arrays xs and ys, which integrate to 1, as shown in the picture below. I'm trying to find a simple way to get samples from this distribution, preferably using some special scipy function.
I have a dependent continuos variable and two independent variables, both categorical. The first independent variable is the "gender" of respondents (two levels), the second one is their "first language" (5 levels: english, french, ... and other 3). I would like to test whether the dependent continuos variables is sig...
I am having trouble visualizing regularization/shrinkage method for the case of p>n. If I have only two data point, but I want to fit a plane ($y = \beta_0+\beta_1x_1+\beta_2x_2+\epsilon$) through them, by ordinary least squares, I can fit numerous planes with 0 residual. In this case, p=3 and n=2. By implementing pena...
My goal is to train a model to play an endless game such as Flappy Bird. I've seen demo videos where the author explains that they used a neural network and genetic algorithm to train the net. I know how I can use genetic algorithm to find optimal solutions for cases where the input are limited, such as in this example...
I'm trying to perform an ANCOVA in R using weight and length data from a growth study in mollusks, in order to analyze changes in the allometric relationship W=aL^b over time in different treatment groups. For that, I'm log-transforming the data, as log(W)=log(a)+ b*log(L), and while log(w) data is normal, variances ar...
I am using a linear probability model to look at the effect of competitiveness on gambling, using competitive sport as a proxy to measure competitiveness. My dependent variable is a dummy variable, which takes the value 1 if someone gambled in the past 12 months and 0 otherwise. My independent variable is a categorical...
I am reading a paper titled "Stochastic Variational Inference" by Hoffman et al. (link). I am trying to show this result (page 1316) $$D_{KL}^{sym}(\lambda,\lambda + d\lambda)=O(||d\lambda||^3) + \mathbb{E}[(d\lambda^{\top}\nabla_{\lambda}\log q(\beta|\lambda))^2],$$ and I simply cannot derive $O(||d\lambda||^3)$ term...
I have some data in the range $10^{-5} \sim 1$ and I want to see if the model that I have for this data is valid or not. My problem is that, given the range where my data is distributed, if I calculate the RMSD of my data with respect to the model the only important values (for the calculations) are those that are clos...
In Naive Bayes algorithm, we use $$P(c)P(x_1|c)P(x_2|c)...p(x_n|c)\space\space (*)$$ to decide about the class of a sample $\textbf{x} =(x_1,...,x_n)$. It is possible that for a class $c$, a feature $x_i$ and a value $\alpha$, there is no sample in the training set belonging to class $c$ where $x_i=\alpha$. Hence, $p(x...
For testing a simple null hypothesis $\theta=\theta_0$ vs alternative $\theta\ne\theta_0$, the definition of p-value given a UMP (usually) test $\mathbb{1}(T>k)$ (reject when $T>k$ where $k$ be chosen such that $E(\mathbb{1}(T>k))=\alpha$ for some statistics $T$ and realized value $t_0$ is $$P_{\theta_0}(T>t_0)$$ My qu...
I am building a logistic regression model for classification purposes -- I have 8 features - a1, a2, a3, a4, b1, b2, b3, b4. I want to build a model such that I should be able to penalize the coefficients of some of these features. For example, say no penalty for a1, a2, a3, a4 and l2 penalty for b1, b2, b3, b4. I am l...
I am working on a project in political analytics looking back on the recent US presidential election. I have built a simple simulation model that works in the following way: For each state: Aggregate all polls for that state in order to calculate 'true' polling numbers for the 2 candidates. For example, Hillary 46.7...
I am trying to create a factorial design using Minitab. I have 2^4=16 runs, I would like to divide these up into 4 blocks, to spread the experiment across 4 days. I will have 4 judges to complete each of the blocks. Day one: Judge 1; block 1. Judge 2; block 2..... Day two: Judge 2; block 1, judge 3 block 2. At the e...
I was introduced to NMF for data analysis. I implemented some code and obtained the result of basis matrix $W$ and feature matrix $H$. From $V$ ~ $WH$, my $V$ dimension is 5100*1201. I inputted $W$ which has dimension equal to 5100*5. I got sparse $H$ with dimension 5*1201 with values in only (5*)632 columns. Does the...
I am reading a paper that looked at the change in test scores as a result of an intervention (pre-test versus post-test scores). The tests determine the skill level of students, and can range from 0 to 100% for any individual student. They used a t-test to look at the change resulting from the intervention, and used G...
I'm trying to do stat. analysis for data with repeated measures The data is consists of: +--------------+---------+--------+----------+--------+ | Participants | Device | State | Activity | Values | +--------------+---------+--------+----------+--------+ | P1 | Device1 | State0 | Rest | 9 | | P1 ...
Topology of Google Inception model could be found here: Google Inception Netowrk I noticed that there is 3 softmax layer in this model(#154,#152,#145), and 2 of them are some sort of early escape of this model. From what I know,softmax layer is for final output,so why there is so many? what's the purpose of other 2 lay...
I am really hoping someone can help me. I have my data all collected however I am really struggling how to analyse it. My supervisor is away and so I am kind of left here panicking over how to properly analyse my results. I am trying to see whether people who are faster at categorising faces by emotion are also better ...
The data: Daily percentage of time spent watching TV. Data from 25 people. The model: Regression on response variable using covariate effects and random effects. Question: 4 of the people present in the data do not watch TV at all during a regular week. There are only positive values during the weekends. Is it all ri...
I'm trying to repeat the simulation from Berk et al. *Valid Post-Selection Inference'. He uses the following: Consider the models where $M_1: \mathbf{Y} = \beta_0 \mathbf{X}_0+\beta_1\mathbf{X}_1+\boldsymbol{\epsilon}$ against $M_0: \mathbf{Y} = \beta_0 \mathbf{X}_0+\boldsymbol{\epsilon}$ Suppose the covariates $\math...
Can the Dvoretzky–Kiefer–Wolfowitz (a.k.a. Massart) inequality $$ \Pr\left( \sup |\hat F_n(x) - F(x)| > \lambda \right) \le 2\exp(-2n\lambda^2) $$ where $\hat F_n(x)$ is the empirical distribution function of the sample $X$ from the distribution $F$, be extended to comparing two empirical distributions coming $\hat F_n...
I have an experiment where the response to a treatment is measured over time. I now want to test for if the response profile differ between the treated group and the control group. There are measurements for 5 time points (the same for both groups), and at each time point 6 animals are killed and measured for each grou...
Assume that I have a gaussian regression problem, where I have a covariance function K that is estimated based on two kernels K1 and K2. For example K1 is a squared exponential kernel, and K2 is a periodic kernel. How can I know the contribution of each kernel on the prediction of the gaussian process? The solution to ...
Respone data is a vector of proportions summing to one: $[p_1,...,p_n]$, $\sum p_i = 1$. We have covariates (discrete + continuous) that we want to model in a linear mixed model, since we have some random effects. My plan: take log ratios, $log(p_1/p_n), ..., log(p_{n-1}/p_n)$. Model this using multivariate mixed mod...
$X$ is democracy level $Y$ is infant mortality rate (IMR) In my model, 1 unit increase in $X$ predicts a $20\%$ decrease in $Y$ Does this mean 5 unit increase in $X$ will eradicate IMR? In other words, can I conclude that 5 unit increase in democracy predicts $100\%$ decrease in IMR?
I have a question regarding non-additive interaction analysis in "R". I know how to do use lm and glm, here I am working on a specific query. I need to do non-additive interaction analysis between SNP ( 0(homozygous minor), 1 (heterozygous), 2 (homozygous major)) and alcohol exposure (continuous variable) for a particu...
I'm doing a weekly time series analysis and I'm generally getting a mape of 35% is that ok according to the industry standard?
I have a linear regression model that has no multicolinearity problem with low VIF scores. However, when I include the interaction term, this interaction term and its components get very high VIF scores. Can I ignore the multicolinearity problem and high VIF scores of the interaction term in this case?
I have run an A/B test on the ARPPU (Average return per paying user) of two versions of a checkout page and hence I now have two ARPPUs, say x and y. The question is whether or not the difference between x and y is large enough to call it statistically significant. As I did the test via Google Analytics I do not have t...
I have a dataset which has a very skewed distribution across a parameter S, which is in the range [0,1). There are many, many values close to 0, and very few above 0.05. My goal is to draw a random sample from this distribution which has a roughly uniform distribution across S. I start by binning the points into 1000 l...
I have a data set of 10-dimensional cell measurements for leukemia. The data points are unlabeled and the task is to find the ratio of pathological measurements w.r.t. the rest of the sample. In other words the assumption is that there are two clusters/classes (pathological/healthy). The problem is that one class vastl...
What is the go-to reference to understand both the theory behind MANOVA, or multivariate linear mixed models in general, and to understand application? I can find R-vignettes lying around the web, but isn't there a proper book that teaches it from scratch? My current issue is modelling a multivariate response vector, i...
I have been studying linear regression and tried it on below set {(x,y)}, where x specified the area of house in square-feet, and y specified the price in dollars. This is the first example in Andrew Ng Notes. 2104,400 1600,330 2400,369 1416,232 3000,540 I developed a sample code but when I run it, the cost is increa...
I need to solve (for $x$) the following equation $$\Phi\left(\frac{x}{\sqrt{a^2 + b}}\right)\left\{\Phi\left(\frac{x}{a}\right)\right\}^{b-1} = y, \qquad a\in \mathbb{R}^+, b \in \mathbb{N}^*, x \in \mathbb{R}, y \in (0, 1),$$ where $\Phi$ is the cumulative standard normal distribution. I'm not sure whether this is hop...
I'm working on a project regarding the effect of water sources on the number of species inhabiting 3 mountains. Species were surveyed in 5 plots for each mountain and data were organised as follows: a table reporting the number of species (columns) in each plot (rows), and a table containing information about each plot...
I wanted to ask how to test for say time trend breaks in a panel data with 100 ids and 14 years (2001-2014) worth of data due to an incident. The particular incident happened in 2010 so I wanted to look at whether there was a change in the time trend of the outcome variable $y_{dt}$ pre and post 2010. Would the followi...
Law of total covariance says that: $$Cov(X,Y) = E[Cov(X, Y | Z)] + Cov(E[X|Z], E[Y|Z])$$ Then, it seems like partial correlation may be defined as: $$\frac{E[Cov(X, Y | Z)]}{Cov(X, Y)}$$ And this is because $Cov(E[X|Z], E[Y|Z])$ gives covariance between values of $X$ and $Y$ as regressed on $Z$ and $E[Cov(X, Y | Z)]$ i...
For images of small letters a..z with dimension 12x12 gray level, there are 144 feature (pixel values) and limited data set. I want to use the single value Decomposition SVD as a feature which may help in enhancing recognition. I reached the post Using the 'U' Matrix of SVD as Feature Reduction. The post suggest of ...
I often see it noted that to help obtain an identifiable CFA solution you can either fix one loading per factor (usually fixing those loadings to 1), or else you can fix the variance of each latent factor (usually fixing those variances to 1). Hoyle (2014) notes that the former approach- which he calls the "marker ind...
I am reading Efron et al. (2004), Ann. Statist., 32, 2, "Least angle regression". I have struggled with formula 5.19 for some days. It says the minimizing resolution of lasso occurs strictly inside the simplex 5.19. But I can't understand the reason. In order to express more clearly, I paste the related text in this pa...
I am conducting a systematic review about a community-based intervention to prevent hospitalizations in older adults. We identified 3 studies that reported on the outcome of interest and I am not sure whether I can pool their results in a meta-analysis. The first study reported data on the comparison between community ...
The lognormal density function is usually plotted on a linear x axis. I find it useful to visualize the lognormal density on a logarithmic x axis (for example when choosing a lognormal prior in a Bayesian model). To do so, initially I would simply take the log of the x axis and plot the density, but I soon realized tha...
I was wondering if someone could look over my derivation of the probability generating function for geometric RV. I think I arrived at the right conclusions. I wanted to take the alternate route over the infinite sum derivation. Let $X$ be geometric with parameter $p$. And let $Y = 1$ if you have success on the first t...
I'm formulating a questionnaire about recycling behaviour for my school's research project and I want to use the questionnaire to do relationship analysis between different variables or factors that influence recycling behaviour. So in my questionnaire there are sections asking about attitude towards recycling, recycli...
To train a model you need input data that will be split into training data, validation data, and testing data. Then, down the road, there will be input data that will be used to make predictions. What are the naming conventions of all of these data? 1) input data <- ? 2) training data <- probably right 3) va...
I am having trouble trying to conceptualize how to set up a mixed-effect model with data that is both clustered and measured over time. In particular, I have a data set of test scores (DV) from various schools over a four year period (2011 - 2014). The schools are clustered within districts. In 2013, the test was chang...
I have two conditions, A and B (see the figure below). I want to test if these conditions are different each other, if condition A is different from 0 and if condition B is different from 0. I'd like to accomplish this task using a linear mixed model, because I want to consider random effects. This is my model: lm<-l...
According to the definition of (strict) stationary random process "A process is strictly stationary if the joint distribution of any set of random variables obtained by observing the random process $X(t)$ is invariant wrt location of origin t = 0". A corollary of this definition is $F_{X(t)} (x) = F_{X(t+\tau ) } (x)$...
The Gauss copula is defined implicitly from the multivariate normal distribution, that is, the Gauss copula is the copula associated with a multivariate normal distribution. where the inputs of the Multivariate normal are inverses of normal CDFs. However, if the inputs are not inverses of a normal CDF does it imply tha...
I read the following (Wikipedia) regarding contrast coding of categorical variables: Unlike when used in ANOVA, where it is at the researcher’s discretion whether they choose coefficient values that are either orthogonal or non-orthogonal, in regression, it is essential that the coefficient values assigned in contrast...
I was reading the wonderful book on Deep Learning (http://www.deeplearningbook.org) trying to understand convolution. It uses an example in the convolution chapter (http://www.deeplearningbook.org/contents/convnets.html) which is pictured of a function x(t) of the position of a spaceship and w(a) as a weighted avg. Of ...
I am trying to generate MCAR, MAR and MNAR data. MCAR and MNAR are relatively easy. However I am struggling with MAR data. I generate 500 observations with 2 variables (Y and X) out of a multivariate normal distribution with correlation 0.7. library(mvtnorm) set.seed(1994) nobs = 500 nvar = 2 corr = 0.7 miss.prop = 0....
For one of my classes, the teacher asked this question of when the AUC is always equal to 0. He provided hints that it has something to do with the Wilcoxon Rank Sum test and how the AUC is actually calculated (IE: trapezoidal). I have been searching high and low and cannot fathom a situation where the AUC would always...
I am doing a study on time series data. In a lot of examples, ARIMA model is used to forecast a time series data. On what basis ARIMA model chosen to predict a time series is my primary doubt. Is ADF(Dickey–Fuller test) or Kwiatkowski-Phillips-Schmidt-Shin (KPSS) test is used to justify the reason for choosing ARIMA ...
I have a dataset (30k), where Event = 82% and Non-Event= 18%, is it possible to use normal way of modeling (ie. regression/decisiontree/etc) to do a model (so far, i couldn't get a good result), or i should reverse the Event to 18% and Non event to 82% to do the modelling? Thanks.
I am interested in why the 2016 presidential election polls did a poor job in forecasting the result. One hypothesis I heard is that many of the polls conducted before the election were correlated, and a sensitivity analysis can be done to the datasets to figure this out. My understanding of sensitivity analysis is the...
I'm analysing possible interdependencies between annual returns on art objects and returns on traditional investments (S&P500, commodities etc). For most variables TS length is around 20 years. For example, I have two variables - art index(var_y) and S&P500 index (var_x) As far I understand from STATA help, STATA list,...
I have estimated the parameters of a non-homogeneous poisson space point process using Metropolis+gibbs from some observation data. I know: $N$: Number of points inside my observation window $\lambda$: Intensity function and the parameters associated with this intensity function. If I want to generate a pattern of poi...
This is (I think) a routine question, but I haven't seen an answer here. In the past I had to fit logistic regression models with linear constraints on the coefficients, in the case when some of the predictors were categorical. Until now I've been using glmnet, which by the way only allows bound constraints ($a_i\leq\...
I am stuck with a problem since days which is to find a right set-up for an Autoencoder that learns dense representations of sparse textual representations, word order is not relevant which is why I did not use skip-gram or CBOW. I would like to use these embeddings as features for another neural network. Data structur...
I have a situation where I worked on two different flavors of a website say A and B (using some fictitious numbers for illustration). For A the amount of time spent by users went up by 1% for 1 million users and for B the amount of time spent went up by 1.01% for 1 million users. How can I determine if B is better than...
So I am using a linear regression with time as a trend variable (specifically, I am taking the # of months since user's first activity as the linear feature of time, and also including the log, sqrt, squared, etc., transformations of that for non-linear time features) and dummy variables for 11/12 months of the year to...
I understand that a trained convolutional neutral network allows us to generate predictions for subregions in a new image. But, when training a convolutional neutral network, how does the sliding window approach work? It seems like labeling an entire image as a bird, for example, would be problematic because the networ...
I have CSV files that contain data of cache performance of a source with different workloads for a particular time period. For each time interval, data is recorded, includeing columns like ReadHits, WriteHits, Cacheusage, ReadMiss, etc. Example contents: Interval,ReadHits,WriteHits,Cacheusage,ReadMiss 1 ...
I have been reading about imbalanced dataset lately and new to data science Domain. I came across this article which talks about various methods to solve this problem in R. Considering e-commerce data, we have Baseline sales(sales without promotion) and Incremental sales(sales with promotion). As this will be a true ex...
Say we have a $K$ sided (unfair) dice, that has unknown probabilities $p_k$ of rolling each side. We roll $N$ trials and observe $n_k$ occurrences of each side (so $N = \sum_{k=1}^K {n_k}$). The average roll $\hat a$ of our trial is $\hat a = \sum_{k=1}^K k n_k/N$. I would like to find a confidence interval on $a=\s...
I'd appreciate help in clarifying my understanding of how to valid kernel functions, using the following two examples: $K(x, t) = x^Tt - (x^Tt)^2$ $K(x, t) = e^{(x_1t_1)}$ where $x_1\ and\ t_1$ are the first elements in the $x\ and\ t$ vectors. As I understand it, I can either: Find a feature map $\phi(x)$ such that...
Scenario: Roughly 50 million voters vote for a certain Yes/No poll. Results start to come in and when the 10% of the votes are counted the difference between “no” and “yes” is roughly 3 million on behalf of “no”. The net difference (3 million) go almost unchanged until 80% of the votes are counted. At the end,...
I am given the PDF of a random variable X and I am asked to calculate the PDF of the random variable Y = g(X) = 1/X (Y's domain is the interval [0,1]). By observing that g is monotonic I apply the formula that uses the inverse function. However I end up with a negative PDF (see image). Could you pinpoint the error? ...
My question: How to establish evidence of any clustering in data (compared to clustering from randomly generated data)? Are there established approaches? And does this approach outlined sound reasonable? In some uses of cluster analysis, different numbers of clusters are specified and the output is compared (i.e., wit...
Why is the power analysis for a univariate logistic regression (one binary predictor) different depending on whether you treat the power analysis as 'power for the difference in proportions between two independent samples', or power for an odds ratio based on the same two proportions? Specific example: Some interven...
I'm modelling a university applicants dataset using PROC LOGISTIC in SAS (9.2). The target variable is 'Enrolled y/n', and i'm modelling against a range of 13 variables (a mixture of indicator, continuous and class) including: Number of applications submitted, number of events attended, Applicant Age, etc. I'm using 50...
I am trying to model a basketball game using play by play data. Each team has a transition matrix representing what they will do next on offense and defense in any given time remaining in the game. Problem I have is establishing the interaction between teams. How do I account for a different transition matrix based on ...
I have a PDF with angle $\theta$ as the independent variable: $R(\theta)$. $\theta$ is defined up to mod $\pi$ -- accordingly, $R(\theta) = R(\theta + \pi)$. I need to express this PDF as a function of a different independent variable, $\psi$. $\psi$ and $\theta$ are related by a constant offset, i.e. $\psi = \theta + ...
Suppose that we have 30 plants (that are the same exact plants). Suppose that we choose 15 out of a sample of 30 plants and we seeded them with a drag. We then want to test whether this drag has an effect of making them grow faster. So we have 15 plants with a drag, and 15 plants with no drag. Let's suppose that the ...
I have observed that when I significantly reduce the dimensionality of my data that the silhouette score drastically increases. I have reduced the dimensionality so that only 10% of the variance is retained. With no dimensionality reduction, I get on average silhouette scores ~0. With dimensionality reduction, only ke...
(I am aware of a similar question here but I feel the answer on it is too open-ended) Assuming that the population is unchanged between both sampling stages and that we're using sampling without replacement, we would have the following probabilities for selection at each stage: $$P(x_i \in S_{pilot}) = \frac{n_{pilot}}...
I'm trying to detect multicollinearity in my model, it has count response variable and some proportional and one categorical explanatory variable called site. In R the model looks like this: glm(Total ~ percent_flower + Percent_typeofflower + Percent_ohtertypeoflower + Site, family=poisson, data=...
The amount of sugar needed in one day in a sugar refinery has an exponential distribution with mean 4 tons. How much sugar should be stocked each day to ensure the chance of running out is only 0.05? I am struggling to identify the definition for the random variable in this situation and how I would find this I have a ...
Suppose I have a random variable $X \sim f_{X}(x \mid \lambda)$ with support over $(0, \infty)$ and I find the Fisher information in $X$ about $\lambda$, i.e., $$I_{X}(\lambda)=\mathbb{E}\left[\left(\dfrac{\partial\ell_X}{\partial\lambda}\right)^2\mid\lambda \right]$$ where $\ell_X$ is the log-likelihood of $X$, which...
I have a dataset where I am looking at two different flowers with different heights. I have standardized the height and are doing a t-test to see if there is a difference in means for the two flowers in terms of heights. When I do the t-test for the standardized heights (as opposed to the original height in the data) ...
I am developing a churn model for a subscription business. The churn rate is 7% yearly for it. The training data was prepared in such a way that customer information is tracked at the start of the year where only active customers are tracked. By the end of the year, the customer tag of churned/active customer is taken....
Let $X$ have the gamma $(r, \lambda)$ distribution. Show that $P(X \ge 2E(X)) \le (2/e)^r$. I do not know how to approach this. I am thinking of Chernoff Bounds, but what trips me up is how to minimize the bound.
So I'm a bit confused about the bridge between urn type Bayes problems and more complex stuff like categorical distributions and dirichlet priors. What want to look at is the probability of an exit geofence event on a phone (a circular region in space that the phone monitors) being triggered as a function of velocity. ...
The PDF of a random variable X is given by: $$f(x) = \left\{\begin{array}{ll} 2 & : -c \le x < 0\\ 2e^{-4x} & : 0 \le x < \infty\\ \end{array} \right.$$ In this example, how would I calculate the value of c? In all of the previous examples I've encountered in the book, they are of the form of: $$f(x) = \left\{\begin{ar...
Assume the learner is proficient with artificial neural networks. What are some good resources (books/videos/papers/GitHub repo/etc.) to get started with generative adversarial networks (GANs) and become proficient with them?
How can I calculate the value of the constant c, given the joint probability distribution below? $$ f_{X,Y}(x,y) = \left\{\begin{array}{ll} ce^{-({\frac {x^2} {8}} + {4y})} & : -\infty \le x < \infty, y \ge 0\\ 0 & : otherwise\\ \end{array} \right. $$ I've attempted to plug the integral into tools such as `https://www....
I am working on a undirected, binary graph (derived from functional neuroimaging). I would like to alter this graph to change specific graph-characteristics (e.g. a specific value for the global clustering coefficient or the average minimal path length) while keeping all other graph-characteristics constant (or as many...
When we do graph partitioning or graph clustering how does one give the graph as input? Is it by means of an adjacency matrix? What if the graph is very large?
A few days ago I asked this question. I only got one answer and I did not really understand it. Now I think this question is a special case of a more general question I have, namely: Do re-estiamted HMM parameters still need to be normalized? In all sources I read, it nowhere says so. However if normalizing was a neces...
I'm working on a project dealing with different treatments on the number of medical service in 1 year. I used negative binomial regression to estimate incident rate ratio after adjusting other confounding factors in this problem. Because there are more than 2 levels in the treatment arm, I'm trying to consider multiple...
Let $N$ random variable taking positive integer values, with mean $a$ and variance $r$. Let $X_i$ i.i.d. random variables with mean $b$ and variance $s$. Let $Y_i$ i.i.d random variables with mean $c$ and variance $t$. Let $N$, $X_i$, $Y_i$ independent. Let $A = \sum_{i=1}^NX_i$ Let $B = \sum_{i=1}^NY_i$ What is $\math...
I'm trying to use the example described in the Keras documentation named "Stacked LSTM for sequence classification" (see code below) and can't figure out the input_shape parameter in the context of my data. I have as input a matrix of sequences of 25 possible characters encoded in integers to a padded sequence of maxim...