instruction
stringlengths
9
38.7k
I need some information concerning the LibSVM one-class classification. I use -b1 for two-class classification in SvmTrain and my outputs are prob values and prob labels. I want to use the similar way that I used for two-class classification but for one class classification but LibSvm does not support -b1 (probability)...
For modeling purposes, I need to add a parameter (denoted by $\alpha$) allowing us to control the location of a Chi-squared distribution (instead of always beginning at 0). The probability density function taking into account this modification writes $$ f(x;k,\alpha)=\left\{ \begin{array}{ll} \frac{(x-\alpha)^{k/2-...
I have two data sets (source and target data) which follow different distributions. I am using MMD - that is a non-parametric distribution distance - to compute marginal distribution between the source and target data. source data, Xs target data, Xt adaptation Matrix A **Projected data, Zs = A'Xs and Zt = A'Xt *MMD =...
I have 522 observations of a time series that shows autocorrelation until about 150 lags. How do I test if the mean is significantly different from zero? My idea was to fit an intercept-only regression model and then use the Newey-West adjusted variance to calculate a t-statistic, however I don't know what cutoff to us...
Consider the real-valued random variables $X,Y,Z,W$ all defined on the same probability space. Let $Y\equiv f(Z,W)$ for some measurable function $f$. Suppose I am told that "$X$ is equivalent in distribution to $Y$". Does this imply, among other things, that $X|Z$ is equivalent in distribution to $Y|Z$? Does equivalenc...
Suppose I have imputed a variable in my data and that I’ve created an ‘imputed’ indicator/dummy variable, where 1 denotes that the value has been imputed and 0 if the value was already present in my dataset. Next, I run a regression with the imputed variable in my model, including the indicator/dummy variable. Now, wha...
Background: Suppose I have 2 random observations from a normal density function whose $\sigma = 2$. The first observation is $x_1 = 6$. The second observation is $x_2 = 8$. The question below arises from this context I just described. Question: Below, I am wondering if I am understanding the difference between the Like...
I'm a bit new to Bayesian statistics and probability theory in general, but I've been trying my hand at a quick utilization of it of where there are 26 outcomes and I am trying to predict the next outcome. As usual, I gave my mixtures a Dirichlet prior distribution and my distributions for the mixtures are Categorical...
I was reading about the concept of Perplexity and was thinking whether there's a connexion with the law of law of total variance, but I couldn't find any reference. The law of total variance is: $$Var(Y) = E[Var(Y|X)] + Var(E[Y|X])$$ which can be interpreted as saying that the total variance of $Y$ can be decomposed in...
How would you prove this? $$\mathbb{P}\left[\left|\frac{1}{n}\sum_{i=1}^{n}x_i-\mu\right| \leq \sigma\sqrt\frac{2\log(2\delta)} {n}\right]\geq 1 - \delta$$ Assuming that $x_1...x_n$ are independent Gaussian RVs with mean $\mu$ and variance $\sigma^2$
I have the data $\{(y_i,\omega_i), i=1,\dots,n\}$, where $y_i \in \mathbb{R}_+$ the response and $\omega_i>0$ a weight. Fixed $K>0$ I want to determinate $y_1^*,\dots,y_{K-1}^*$ such that $$ \frac{\sum_{i: y_i \in ]y_{k-1}^*,y_k^*]} \omega_i}{\sum_{i=1}^n \omega_i} \approx \frac{1}{K}, \ \forall \ k \in \{1,\dots,K\}, ...
We are given a compositional data set, where the response is $$Y = [y_1, ..., y_n], \sum y_i = 1, y_i \in [0,1]$$ I intend to do regression, however, prior to that, I would like to get a feel of the codependence structure of $Y$. What is the right way to do this? In particular, I think the usual "scatterplot" approach...
Central limit theorem is generalizable for the multivariate case, but this is possibile due to the i.i.d. hypotesis on the random variables involved in the sum. Infact, if you sum a set of i.i.d. random vectors, you obtain normality for each marginal, i.e. for each vector component. Then, given independence, you can ea...
In the E-step of the EM algorithm we maximize $$\max_\theta \sum_Z p(Z\mid X,\theta_\text{old})\log p(X,Z\mid\theta).$$ This expression is called the expectation of the complete data log-likelihood $\log p(X,Z\mid\theta)$. I do not see any expectation, which is defined as $E(Y)=\sum_YYp(Y)$. Why is it called this way? ...
I have about 90+ audio files that I have the FFT data in frequency, amplitude, and phase. I'm trying to find patterns that are found throughout the 90+ audio files but I'm at a loss. I can create individual plots all day but I'm not sure how to look for patterns found throughout 90+ audio files, does anyone have any i...
I am running a logistic model and am looking specifically at a 3 way interaction. Here is some descriptives on my data: Outcome: mortality (y/n) Var 1: gender (M/F) Var 2: dichotomous lab value (above/ below certain critical cutoff- y/n) Var 3: second dichotomous lab value (above/ below certain critical cutoff- y/n) I ...
I want to model frequency of a social effect by state over several years as potentially predicted by several demographic factors. I have been reading that one is supposed to determine the random effect structure before trying to determine the fixed effects structure. One thing I want to be sure to test for fixed effect...
I'd really appreciate your help. Let's say I am using a mini-batch size of 4 playing an Atari game in the RL context. I understand that weights are updated only every 4 frames. But what does the RL agent do during the 3 extra frames? Does it do nothing and just wait? Does it take random actions? Does it take actions e...
I want to test for presence of conditional heteroskedasticity in a vector of ARIMA(0,0,0) residuals. For this purpose, I would like to see if both ARCH Lagrange Multiplier Test (on levels of residuals) and Ljung Box Test (on squared residuals) of R confirm the presence of ARCH effect in the said residuals. Note that I...
I am currently reading a paper about energy efficiency in housing where the authors carried out PCA to explain the characteristics of dwellings with poor energy efficiency. They ended up with three components. Component 1 has a positive significant loading for one characteristic and negative for another; Components 2...
I'm estimating a spatial lag model that tests whether the geographical closeness on stores has an effect on sales. I have a negative, statistically significant rho coefficient for my spatial weight matrix. I'm a bit confused about the interpretation. Does this mean that shops that are considered neighbors will negativ...
I'm looking for advice/opinion on whether the co-efficient(s) resulting from a geographically weighted regression analysis can subsequently be entered into an OLS regression as the dependent variable (i.e. to test for factors influencing the observed spatial variation). Are any major assumptions violated in doing so an...
I have the following randomly generated distribution: mean=100; sd=15 x <- seq(-4,4,length=100)*sd + mean hx <- dnorm(x,mean,sd) plot(x, hx, type="l", lty=2, xlab="x value", ylab="Density", main="Some random distribution") And a "non-random" value x <- seq(-4,4,length=100)*10 + mean ux <- dunif(x = x, min=10, ...
I have really been curious about this, but I have been searching around for studies which utilize Spatial Durbin models and I have yet to find any one model that has incorporated the use of interaction effects. For instance, imagine it a Durbin model was executed and you see results like this... Coefficients: ...
I try to fit logistic model to my data. However, I don't know what is happening that results seem wrong. Graphic doesn't work as expect. Here is what I expect as result: Here is my code: from scipy import stats import numpy as np from scipy.optimize import minimize import pylab as py xdata = np.array(170.539999999...
I have questions about the case when I employ fixed effect in Difference-in-Difference(DID). As I understand, both treatment group dummy(D_i) and treatment time dummy(D_t) should be independent from error term in regression. My questions are as follows: If we consider fixed effect in DID, is it against the exogeneity ...
How to read the result of of posthoc kruskal dunn test? Specifically, what do the values in the table below tell me? I have 6 treatments and I first did a Kruskal-Wallis test to confirm that the groups' distributions were dissimilar from one another and the aggregate dataset. I then used posthoc.kruskal.dunn's test to ...
I'm currently addressing maximum likelihood estimation for a three-parameter probability distribution with all parameters being positive real-valued. I'm using Newton's method to calculate the MLEs using R. Sometimes, in this case of small sample sizes, I may obtain: (1) negative estimators, (2) ill-conditioned Hessian...
I'm using MATLAB to plot the Weibull distribution function. But the y-axis, obviously, is not probability. Also, the plot on Wikipedia (here)has same y-axis as mine, so my question is: is there something wrong here? I'm pretty sure that my code is correct. So Why the y-axis is not probability ?
I am fitting several mixed models, with random intercept/random slope (based on comparing the model with a random intercept model using the AIC and -2LL). For these models I was asked to compute a ICC. Because that is difficult with random intercept/random slope, I was asked to simply calculate the Shrout and Fleiss fo...
Let $(\Omega,\mathcal{F},\mathbb{P}):=(M^{\mathbb{N}_{0}},\mathcal{M}^{\mathbb{N}_{0}},\mathbb{P})$ be a probability space where $M=\left\{0,1,2,3,4\right\}$, $\mathcal{M}^{\mathbb{N}_{0}}$ is product $\sigma$-algebra. Note that if we consider the cylinder $I=\left[x_{0},x_{1},\ldots,x_{k}\right]$ defined by \begin{eq...
For example, I have a b: -.940 beta: -1.649 sig .000 and part(semipartial) of -.505 in a group of 5 independent variables. What does the negative sr mean and do I square it to get the strength of prediction of the IV?
Background: I’m exploring if hair cortisol levels (pg/mg) are related with executive functions like working memory (measured on WISC-scale), inhibition control (BRIEF-scale) and attention shifting (BRIEF-scale) with SPSS. My sample sizes are 11 (group 1) and 21 (group 2). I want to study the groups together (are corti...
The objective used in SNE is the KL divergence between the two distributions and is given as $$ E(Y) = \sum_i \sum_j p_{j|i}\log \frac{p_{j|i}}{q_{j|i}} $$ and the two distributions are as follows, $$ p_{j|i} = \frac{\exp(-(x_i - x_j)^2/2\sigma_i^2)}{\sum_{j \neq}\exp(-(x_i - x_j)^2/2\sigma_i^2)} $$ $$ q_{j|i} = \frac...
Let $X$ be a non-negative random variable, and let $Y \sim \chi^2_n / n$ (so that $E(Y) = 1$). $X$ and $Y$ are independent. Note that $X$ and $X\cdot Y$ have the same mean, while $X\cdot Y$ has larger variance. Is it true that for every $t > E(X)$, $$ \Pr(X > t) < \Pr(X\cdot Y > t)\,? $$ My special case is $X = z^TKz/...
When analysing Likert scale data, does our interpretation depend on the scale itself? If for example, my scale is 1- Strongly Agree and 5 - Strongly Disagree, if my mean values for Construct X end up being for Var. A = 2.07 and for Var. B = 2.20, am I correct to interpret these results as: Variable A considers X more i...
In my study involving three conditions (control, treatment 1, treatment 2), I am interested in measuring 2 DVs at a pre- and post-exposure. So effectively a 3x2 design (participants randomly allocated). Research question: Does treatment reduce body dissatisfaction and negative mood? I need to decide what type of analy...
Hi can anyone help me on this? I am trying to understand how can I give a mathematical expression for the following Minitab output. Sales=7.2 + 0.42Timesq + 27 Q1 + 56.2Q2 + 18.8Q3 I am confused with the fact that I have Time square. I know that if we have a quadratic trend we should use: $y_{t=}\beta_0+\beta_1X_t+\bet...
Question : A die is marked on one side, and the number of times that the mark appears is recorded. The mark appears once from 25 rolls, is the die biased? working $H_0 : $ The die is not biased $H_1 : $ The die is biased For this note that the die should follow $\sim Bin(n, p)$ as $\sim Bin(25, \frac{1}{6})$. Testing ...
I know how to model autocorrelation in a normal linear model with mixed effects. However, the function gamms also allows us to model the correlation structure of many other distributions than the normal. Where can I read the theory underlying this general, non-normal case? For the normal case, I have read Mixed effect ...
What would be minimal test-case(s) and corresponding solution, demonstrating curent know-how in causation/precedence analysis solving, or more simply what is it possible to achieve using causation/precedence analysis techniques since the field seems to have evolved fast during the last decade: Statistics calculations h...
I am running tests to show how multilevel modelling is superior to fixed effects when it comes to hierarchical data structures (clustered data: years and countries). I am using the dwtest (lmtest-package) to measure autocorrelation and theoretically the autocorrelation should be considerably higher if country-specific ...
Using machine learning to find an optimal set of parameters for a given segmentation algorithm. In the "classical" case of machine learning, in the training phase, the data set is constant and the model fit -- produces a weight vector that maps the data set to the tag of each image label. Now let's assume a given segme...
Suppose that $y_1,y_2,.....,y_N$ form a random sample from the CSUG maximum distribution (like order statistic but on a random number of observations, $N$) with unknown parameter $\theta$, where the pdf of each observation has the following form $f(y|\theta)=\frac{\theta}{(1-\theta)(1-y)^2}$ for $0\leq y\leq 1-\theta$ ...
I have a research of 30 patients (one sample) which performed cognitive tests in the following states: Baseline at 3 months with no intervention at 6 months after intervention These are the same patients who underwent all 3 states. The cognitive measures are continuous parameters and I am using SPSS. I am wondering ...
Both lm and rlm are used for multiple linear regression. rlm stands for robust multiple linear regression and so is considered to treat outliers in a better way. How exactly does rlm and lm work? Which is better? In what circumstances rlm is preferred over lm and vice versa? Why is there no significance for R square p...
In using the word roadmap I am referring to a series of book one should read in order to get acquainted with a concept or a field of study (following the usage of the word in MathOverflow). I am studying to become a probabilist and a few days ago I found and read part of this book on neuron models, which I found extrem...
At the risk of making the question software-specific, and with the excuse of its ubiquity and idiosyncrasies, I want to ask about the function biplot() in R, and, more specifically, about the calculation and plotting of its default, superimposed red arrows, corresponding to the underlying variables. [To make sense of ...
I am working with a large dataset --300,000 records-- which has many missing values. So I used Imputation to fill the missing values and more specifically the Chained-Equations Multiple Imputation method. In particular, I used three R packages to get a better feeling of their relative performance: Mice, Mi and MissFor...
Consider a $ 2^3 $ factorial design lay out in 2 blocks ,each of size 4, as follows Block I: {1,a,b,c} Block II: {ab,ac,bc,abc} Here,the treatments combinations are written in Yate's notation. Then which of the following are always true? a) Main effect A is confounded b) Main effect B is unconfounded c) Interre...
In maximum likelihood estimation, including an additional parameter in the model usually results in a higher likelihood value. It is possible, though, to add an additional parameter that doesn't change the likelihood. A trivial example would be the model $\mu_i = \theta_1 \theta_2$, where clearly either one of the $\t...
The Inverse-Wishart wikipedia article states that $ X \sim \operatorname{Wish}^{-1}(\Psi,\nu)$ if $X^{-1} \sim \operatorname{Wish}(\Psi^{-1},\nu),$ where $\Psi$ and $X$ are $p\times p$. The mean of the Inverse-Wishart is given as $\frac{\Psi}{\nu-p-1}$, but the mean of the Wishart is $\nu(\Psi^{-1})$ (See here). Wh...
The Gauss-Markov theorem tells us that the ordinary least-squares (OLS) estimator is the best linear unbiased estimator (BLUE) for the coefficients in a linear regression (given some conditions on the errors). I can understand why we want an unbiased and minimum-variance ("best") estimator, but why linear? Why not an e...
I have a corpus and number of documents with me. I am trying to generate a similarity score between the corpus and each of the available documents using latent dirichlet allocation. The goal is to see how similar the documents are to the corpus. The document that is very similar gets a high similarity score and the one...
Does anyone know of an existing implementation of the options framework for hierarchical reinforcement learning as described in Sutton, Precup, & Singh (1999) Between MDPs and semi-MDPs: A framework for temporal abstraction in reinforcement learning. Artificial Intelligence 112: 181–211? The ideal implementation would ...
I am running a logistic regression, where the dependent variable is marital status. And I assume that educated women are different from women with e.g. high school degree and are less likely to marry. Does it make sense to interact 2 binary variables? I remember that we usually interacted a continuous and a binary vari...
Let $(\Omega,\mathcal{F},\mathbb{P})$ be a probability space and $(Y_{n})_{n\in\mathbb{N}}$ be a irreducible Markov Chain with $Y_{n}:\Omega\rightarrow M$ where $M=\left\{0,1,2,3,4\right\}$ and transition matrix $\Pi$ of size $5\times 5$ and invariant measure $\pi=(\alpha_{0},\alpha_{1},\alpha_{2},\alpha_{3},\alpha_{4...
I have conducted some research and I had three hypotheses. My third hypothesis was 'stress and social support will be predictors of anxiety and depression scores when controlling for age, gender, year of study and degree type.' My results found that stress and social support were sig predictors for depression, but only...
I am testing participants RT's on two tasks. The two tasks each have two levels (congruent and incongruent) I am comparing Task1 congruent RT with Task2 congruent RT and then Task1 incongruent RT with Task2 incongruent RT. A paired dependent t-test shows there is a significant difference between task1 and task2 congrue...
I'm having trouble understanding how the math works in the C5 convolution layer of the LeNet-5 network. Layer 4 (S4) has 16 feature maps of size 5x5. Using a convolution kernel of size 5x5 with valid padding on this layer would produce a 1x1 output. Therefore, if a 5x5 kernel were used with a single filter per kernel, ...
I learned in this question's comment by @amoeba that Also, the difference between "building separate models" and "using categorical variable" is not clear to me. activity ~ condition + species + condition*species - this uses species as categorical variable, but this is fully equivalent to a separate regression activi...
Given a data set of N points with sample mean $\overline{x} \pm \Delta\overline{x}$ (here $\Delta\overline{x}$ is the standard error of the mean given by $s/\sqrt{N}$) and sample variance $s^2$, I am required to test the hypothesis that the data set is approximated by a Poisson distribution. I consider the ratio $\fra...
Please look at the following simple example of how to fit a GAM to a data set using one spline, library("ggplot2") theme_set(theme_bw()) library("mgcv") df <- data.frame(one = 1*(1:20), two = c(1,6,2,8,7,4,9,8,5,4, c(1,6,2,8,7,4,3,8,5,4)/2)) m <- gam(two ~ s(one, k = 8, pc=5), data = dfOne) dev.o...
I want to analyze my data with linear regression (please see below a subset), but the results do not look realistic and the assumptions are not met. The problem is that I have negative and positive values, I've been struggling trying to find a transformation. I've tried already boxcox,9th root, transformations from pac...
I have a data integration problem between two data sources (lets call them A and B), I have applied three functions(for the three attributes of every instance) in order to calculate the similarity between two instances a and b of each data source. Every function returns a similarity coefficient, a number in R between [...
I have a pretty basic doubt about the KS test (two samples). From what I understand: We reject null hypothesis, under the confidence parameter $\alpha$, if the p-value (that is, the probability that the statistic takes a value $\geq$ observed, under the null hypothesis) is $\leq \alpha$ (Typically, $\alpha$ is set t...
I tried to do xgboost native cv function and found that the auc score depends on num_boost_round parameter of cv function. When num_boost_round increases auc score also increases! Why is that? What is the optimal value of num_boost_round and why?
It seems to me that all the robust ancova functions in the Wrs2 package in R work only with two groups ( two levels of the VI factor). In case the factor has more than 2 levels how can a user apply a robust ancova? Does any other formula with more than two groups or something else exist?
I'm reading an open-source statistics book and I came across this quote: In multiple regression, the degrees of freedom associated with the variance of the estimate of the residuals is $n - k - 1$, not $n - 1$. For instance, if we were to make predictions for new data using our current model, we would find that the un...
Is there a simple way of explaining why does Benjamini and Hochberg's (1995) procedure actually control the false discovery rate (FDR)? This procedure is so elegant and compact and yet the proof of why it works under independence (appearing in the appendix of their 1995 paper) is not very accessible.
I remember that Pearson correlation works for continuous variables and also if one is continuous and the other a dummy. For the latter, it does not provide a correlation but provides a portion. What is the best approach, when we have 2 dummy variables. Would you suggest to calculate correlation for them or what is a go...
I would like to calculate the variance of household income in a city. Income data at the individual household level,however, are not available from Census. What we have are categorical income data at the city and census tract levels (number of households in each income interval). Is there a way that I can estimate the ...
Say I have a population with classes c1 and c2 where size(c1) >> size(c2) Does the SVM suffer from imbalanced classes sizes where I need to manually correct the training procedure?
William Cochran's book on sampling gives the following proof that a sample mean is unbiased: Since every unit appears in the same number of samples, it is clear that $E[Y_1 + \cdots + Y_n]$ must be some multiple of $y_1+y_2+\cdots+y_N$. The multiplier must be $n/N$ since the first expression has $n$ terms and the sec...
I have a large dataset -- 300,000 records, each representing a customer-- and a variable holding their incomes. Since there were missing values, I used the Multiple Imputation Chained-Equations method (Mice in R) to impute missing values. I got 10 datasets imputed from the original dataset. When I plotted the densities...
I have a data set of a number of different variables that relate to the performances of footballers in matches. Examples include Accurate Passes/90 mins, Crosses/90 mins and Headers/90mins. Rather than taking the actual value in each column, I have replaced it with a rank. So, given there are 100 footballers in the dat...
If $X\sim P$, given some other distribution $Q\gg P$ what is known about $\mathbb{P}(P(X)< Q(X))$, i.e. the probability the outcome was more likely to have come from $Q$? In particular are there any bounds on the quantity in terms of statistical distances?
I have performed PCA on gene expression data having 20,000 genes (these are my variables). All values are positive. The PC1 scores for some of the patients (out of 1089) are as follows: -158271.26229 12962.73772 19410.42314 324372.09441 410186.46224 140222.21492 158159.11682 -224566.35112 -158070.07088 ...
I am a beginner trying to learn statistics. I have a questions related to randomising simulations to accept or reject null hypotheses. A random experiment was conducted with 48 bank managers to determine if there is a gender discrimination at the work place. There were 48 IDENTICAL RESUMES, 24 of them belonged to mal...
I have a spectrum data (wavelength(x) versus absorption(y)) for 25 unique samples that is almost exactly to the problem presented in this thesis: https://brage.bibsys.no/xmlui//bitstream/handle/11250/2371385/12296_FULLTEXT.pdf?sequence=1&isAllowed=y. I have about 10 samples that are one kind of biological sample and ...
Background: I am trying to understand (via plotting) the difference between (a) Likelihood Function, and (b) Log-Likelihood function from 3 data points (i.e., 250, 265, 259) believed to have come from a normal density ($\mu$ of this normal is to be estimated). Question: I am wondering which version(s) of the plots belo...
I read that when adding variables or predictors to the multiple regression model, R^2 tends to go up even if the variable or predictor doesn't add any predictive power. Why is this? In linear regression, I understand $R^2$ to equal: $$R^2 = 1 - SSE/SST$$ Why does this go up when we add a new variable or predictor to ...
I have a classifier model working with p predictors -- with a reasonable level of success. I have tried my typical feature engineering tricks but the classifier performance is stubbornly stuck -- this has been a bit unexpected. I want to explore variable(predictor) interactions to try to further improve the performance...
I am doing a research and I need to determine the effect of adapting to climate change on farm productivity and income. My methodology is to compare the productivity and net farm income of farms that adapt to climate change with farms that do not adapt. What I did was from 37 respondents that adapts to CC and from 23 r...
One video on youtube removes non-significant lags from the ARDL regression while others keep all the non-significants too and rely on Wald test for effects. My questions are as follows: While using multiple regression analysis we use General to Specific procedure and keep dropping non-significant variables to reach at...
I would like to ask for a piece of advice on the following problem. I have a set of points that can behave as a sawtooth-like function. I would like to develop an algorithm that could verify that the data shows sawtooth-like behavior. The problem is that in some cases the dots can be random, in other case, there can be...
I read a lot about replay memory, but did not find the material, where this method is described in detail. Tell me, please, do I understand the algorithm correctly? And if not, tell me, please, where I'm wrong. Store the experience in the replay memory (size N), until it is full. When memory is full, fill the buffer ...
Let's say I'm simulating the result of a tournament where 4 teams play each other, for a total 6 games. They get, say, 1 point for winning and 0 points for loosing. I want to get a sense of the end distribution. For example, the probability that team B finishes at least third. The sample space is finite and is a list o...
I have this nice script to plot a regression line based on the regression equation, easy to use when you want visible results from multilevel regression analyes. This works fine for one line in one plot: my_line <- function(x, m, b){ y <- m*x + b; return(y) } #the line y = .045x + .018 sapply(1:10, my_line, m=.045,...
In a 2013 review article in Nature Neuroscience, Button et al. Power failure: why small sample size undermines the reliability of neuroscience, it was stated that: the average statistical power of studies in the neurosciences is very low They searched for meta-analyses, calculated the post-hoc power in each one of ...
I'm getting my information from Overview of Analytic Studies. It says that in a case-control study, you can not compute the probability of disease in each exposure group because you don't have the total amount of people in your population. But you just made a new population for the case control study - why not use this...
I have a set of inputs $X = x_1, x_2, ..., x_n, \ x_i \in \mathbb{R}^k\ \forall i$ (where $k$ is an integer) with associated responses $F = { f_1, f_2, \dots, f_n },\ f_i \in \mathbb{R} \forall i$ and a matrix of associated gradient information $\frac{dF}{dX} = \frac{df_1}{dx_1}, \frac{df_2}{dx_2}, \dots, \frac{df_n}{...
In the context of one-way MANOVA testing (one factor with multiple levels of treatment), after we've rejected the null hypothesis of no difference in means between groups (levels), i.e. after we rejected $$H_0: \forall_i \boldsymbol\tau_i=\mathbf{0},$$ it's advised to check for confidence intervals (CI) for pairwise co...
Basically, I've a simple question: Are there signs which tells me that I just can't classify my data? To make things clear, I've a dataset whereby i try to predict the amount of tires changes. But something tells me that this will be quite hard. For example, here is a sneak peak of my training set. 2148 -- 0 tires ch...
Example Data: GENDER <- c("m", "f", "f", "m", "f", "f") YEAR <- c("1", "2", "3", "2", "1", "3") SCORE <- c(23, 25, 26, 23, 19, 29) as.data.frame(cbind(GENDER, YEAR, SCORE)) Multiple Linear regression with interaction: result <- lm(SCORE~GENDER*YEAR) summary(result) I want to carry out a multiple linear regression ...
I understand the EM algorithm and know there are other optimisation algorithms. However, I have seen that with a mixture copula, EM algorithm always seems to be used. Is there any reason why EM algorithm is such a commonly used method for mixture models in general and for mixture copula in particular?
I have a convolution neural network with random weights initialized and Trained to perform binary classification. I have 2000 images as training data and 2000 validation data. The problem I am trying to solve is if the image is healthy or not.The loss function used is categorical cross entropy. I have implemented the ...
This is a beginner question, hopefully this is allowed here. I understand that scatterplots can be useful in showing the relationship between two variables, so I generated several plots of the independent variables i'm interested in in their respective relationship with the dependent variable. However, my final regress...
i have a data set on length of stay in the hospital and it was fitted to two parameter gamma distribution. from the data, i was able to obtain the MLE estimates of alpha and beta and the moment estimates of alpha and beta. now i want to compare the two estimators i.e MLE and Moment estimator using the MSE but i do not ...
Suppose that we train some Deep Neural Network and during the training (forward-backward passes) phase, we use Leaky ReLU as our activation function. During the evaluation, when we show the network the test data and basically do a forward pass, do we need again to have exactly the same activations functions as in train...